pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.persagy</groupId>
  5. <artifactId>simulator-collector</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>simulator-collector</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <knife4j.version>3.0.3</knife4j.version>
  15. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  16. <spring-boot.version>2.4.2</spring-boot.version>
  17. </properties>
  18. <repositories>
  19. <repository>
  20. <id>SagaCloud</id>
  21. <name>SagaCloud</name>
  22. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  23. <snapshots>
  24. <enabled>true</enabled>
  25. </snapshots>
  26. <releases>
  27. <enabled>true</enabled>
  28. </releases>
  29. </repository>
  30. <repository>
  31. <id>alimaven</id>
  32. <name>aliyun maven</name>
  33. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  34. </repository>
  35. <repository>
  36. <id>mvnrepository</id>
  37. <url>https://mvnrepository.com/</url>
  38. </repository>
  39. <repository>
  40. <id>sonatype-nexus-snapshots</id>
  41. <name>Sonatype Nexus Snapshots</name>
  42. <url>http://oss.sonatype.org/content/repositories/snapshots</url>
  43. </repository>
  44. </repositories>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter</artifactId>
  49. <version>${spring-boot.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. <version>${spring-boot.version}</version>
  55. <exclusions>
  56. <exclusion>
  57. <artifactId>hibernate-validator</artifactId>
  58. <groupId>org.hibernate.validator</groupId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. <!-- <dependency>-->
  63. <!-- <groupId>jdk.tools</groupId>-->
  64. <!-- <artifactId>jdk.tools</artifactId>-->
  65. <!-- <version>1.8</version>-->
  66. <!-- <scope>system</scope>-->
  67. <!-- <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>-->
  68. <!-- </dependency>-->
  69. <dependency>
  70. <groupId>log4j</groupId>
  71. <artifactId>log4j</artifactId>
  72. <version>1.2.17</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>dom4j</groupId>
  76. <artifactId>dom4j</artifactId>
  77. <version>1.6.1</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>jaxen</groupId>
  81. <artifactId>jaxen</artifactId>
  82. <version>1.1.6</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.mina</groupId>
  86. <artifactId>mina-core</artifactId>
  87. <version>2.1.5</version>
  88. </dependency>
  89. <!--lombok -->
  90. <dependency>
  91. <groupId>org.projectlombok</groupId>
  92. <artifactId>lombok</artifactId>
  93. <optional>true</optional>
  94. <version>1.18.12</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>cn.hutool</groupId>
  98. <artifactId>hutool-all</artifactId>
  99. <version>5.5.4</version>
  100. <scope>compile</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi</artifactId>
  105. <version>3.9</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi-ooxml</artifactId>
  110. <version>3.9</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.antlr</groupId>
  114. <artifactId>antlr-runtime</artifactId>
  115. <version>3.1</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. <version>1.2.70</version>
  121. </dependency>
  122. <!-- netty 实现websocket -->
  123. <dependency>
  124. <groupId>io.netty</groupId>
  125. <artifactId>netty-all</artifactId>
  126. <version>4.1.62.Final</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.eclipse.paho</groupId>
  130. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  131. <version>1.2.5</version>
  132. </dependency>
  133. </dependencies>
  134. <build>
  135. <finalName>${project.artifactId}</finalName>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-compiler-plugin</artifactId>
  140. <version>3.8.1</version>
  141. <configuration>
  142. <source>8</source>
  143. <target>8</target>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-maven-plugin</artifactId>
  149. <version>2.4.2</version>
  150. <executions>
  151. <execution>
  152. <goals>
  153. <goal>repackage</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. <!--拷贝资源文件 copy-resources-->
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-resources-plugin</artifactId>
  162. <version>2.6</version>
  163. <executions>
  164. <execution>
  165. <id>copy-resources</id>
  166. <phase>package</phase>
  167. <goals>
  168. <goal>copy-resources</goal>
  169. </goals>
  170. <configuration>
  171. <resources>
  172. <resource>
  173. <directory>src/main/resources/</directory>
  174. <includes>
  175. <include>*.properties</include>
  176. <include>*.xml</include>
  177. <include>*.json</include>
  178. </includes>
  179. </resource>
  180. </resources>
  181. <outputDirectory>${project.build.directory}/config</outputDirectory>
  182. </configuration>
  183. </execution>
  184. <!--拷贝启动脚本-->
  185. <execution>
  186. <id>copy-version</id>
  187. <phase>package</phase>
  188. <goals>
  189. <goal>copy-resources</goal>
  190. </goals>
  191. <configuration>
  192. <resources>
  193. <resource>
  194. <directory>src/script</directory>
  195. </resource>
  196. </resources>
  197. <outputDirectory>${project.build.directory}</outputDirectory>
  198. </configuration>
  199. </execution>
  200. </executions>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. <distributionManagement>
  205. <repository>
  206. <id>SagaCloudRelease</id>
  207. <name>User Project Release</name>
  208. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  209. </repository>
  210. <snapshotRepository>
  211. <id>SagaCloudRelease</id>
  212. <name>User Project SNAPSHOTS</name>
  213. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  214. </snapshotRepository>
  215. </distributionManagement>
  216. </project>