pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.6.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.abcsz</groupId>
  12. <artifactId>LitigationCase</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>LitigationCase</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-test</artifactId>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.abcsz.vhost</groupId>
  35. <artifactId>VHostClient</artifactId>
  36. <version>1.0.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.microsoft.sqlserver</groupId>
  44. <artifactId>sqljdbc4</artifactId>
  45. <version>4.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>mybatis-plus-boot-starter</artifactId>
  50. <version>3.1.2</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-generator</artifactId>
  55. <version>3.3.1</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.velocity</groupId>
  59. <artifactId>velocity</artifactId>
  60. <version>1.7</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-lang</groupId>
  64. <artifactId>commons-lang</artifactId>
  65. <version>2.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger2</artifactId>
  70. <version>2.8.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger-ui</artifactId>
  75. <version>2.8.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. <version>1.18.4</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. <version>1.2.75</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.junit.platform</groupId>
  89. <artifactId>junit-platform-launcher</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. </dependencies>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-jar-plugin</artifactId>
  98. <version>2.6</version>
  99. <configuration>
  100. <archive>
  101. <manifest>
  102. <!--指定main入口-->
  103. <mainClass>com.abcsz.litigationcase.LitigationCaseApplication</mainClass>
  104. <addClasspath>true</addClasspath>
  105. <classpathPrefix>lib/</classpathPrefix>
  106. </manifest>
  107. <manifestEntries>
  108. <Class-Path>./</Class-Path>
  109. </manifestEntries>
  110. </archive>
  111. <excludes>
  112. <exclude>*.yml</exclude>
  113. <exclude>*.xml</exclude>
  114. <exclude>static/**</exclude>
  115. <exclude>templates/**</exclude>
  116. <exclude>casbin/**</exclude>
  117. </excludes>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-dependency-plugin</artifactId>
  123. <version>3.1.2</version>
  124. <executions>
  125. <execution>
  126. <id>copy-dependencies</id>
  127. <phase>package</phase>
  128. <goals>
  129. <goal>copy-dependencies</goal>
  130. </goals>
  131. <configuration>
  132. <type>jar</type>
  133. <includeTypes>jar</includeTypes>
  134. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  135. </configuration>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>