pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.persagy</groupId>
  8. <artifactId>apm-package</artifactId>
  9. <version>v1.0.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>energy-eq-run-diagnose</artifactId>
  12. <version>v1.0.0</version>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <repositories>
  18. <repository>
  19. <id>integrated</id>
  20. <name>releases Repository</name>
  21. <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
  22. </repository>
  23. <repository>
  24. <id>persagy</id>
  25. <name>persagy Repository</name>
  26. <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
  27. </repository>
  28. <repository>
  29. <id>SagaCloud</id>
  30. <name>SagaCloud</name>
  31. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  32. <snapshots>
  33. <enabled>true</enabled>
  34. </snapshots>
  35. <releases>
  36. <enabled>true</enabled>
  37. </releases>
  38. </repository>
  39. <repository>
  40. <id>snapshot</id>
  41. <name>snapshot Repository</name>
  42. <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
  43. <snapshots>
  44. <enabled>true</enabled>
  45. <updatePolicy>always</updatePolicy>
  46. </snapshots>
  47. </repository>
  48. </repositories>
  49. <dependencies>
  50. <dependency>
  51. <groupId>org.projectlombok</groupId>
  52. <artifactId>lombok</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <!-- 项目启动 -->
  56. <dependency>
  57. <groupId>com.persagy</groupId>
  58. <artifactId>apm-server</artifactId>
  59. </dependency>
  60. <!-- apm 工具包 -->
  61. <dependency>
  62. <groupId>com.persagy</groupId>
  63. <artifactId>apm-common</artifactId>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>com.persagy</groupId>
  67. <artifactId>integrated-redis-spring-boot-starter</artifactId>
  68. </exclusion>
  69. <!-- <exclusion>
  70. <groupId>com.google.guava</groupId>
  71. <artifactId>guava</artifactId>
  72. </exclusion>-->
  73. </exclusions>
  74. </dependency>
  75. <!-- lang -->
  76. <dependency>
  77. <groupId>commons-lang</groupId>
  78. <artifactId>commons-lang</artifactId>
  79. </dependency>
  80. <!-- gson json,java对象互转 -->
  81. <dependency>
  82. <groupId>com.google.code.gson</groupId>
  83. <artifactId>gson</artifactId>
  84. </dependency>
  85. <!-- 配置中心(包含注册中心) -->
  86. <dependency>
  87. <groupId>com.persagy</groupId>
  88. <artifactId>integrated-config-client</artifactId>
  89. </dependency>
  90. <!-- 日志 -->
  91. <dependency>
  92. <groupId>com.persagy</groupId>
  93. <artifactId>integrated-log-spring-boot-starter</artifactId>
  94. </dependency>
  95. <!-- feign -->
  96. <dependency>
  97. <groupId>com.persagy</groupId>
  98. <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-data-redis</artifactId>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-logging</artifactId>
  107. </exclusion>
  108. <!-- <exclusion>-->
  109. <!-- <groupId>io.lettuce</groupId>-->
  110. <!-- <artifactId>lettuce-core</artifactId>-->
  111. <!-- </exclusion>-->
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>redis.clients</groupId>
  116. <artifactId>jedis</artifactId>
  117. </dependency>
  118. <!-- swagger -->
  119. <dependency>
  120. <groupId>com.persagy</groupId>
  121. <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
  122. </dependency>
  123. <!--jep 公式解析-->
  124. <dependency>
  125. <groupId>org.scijava</groupId>
  126. <artifactId>jep</artifactId>
  127. <version>2.4.2</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.persagy</groupId>
  131. <artifactId>apm-mybatis</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.persagy.apm</groupId>
  135. <artifactId>alarm-data-starter</artifactId>
  136. <version>v2.0.0-SNAPSHOT</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.persagy.apm</groupId>
  140. <artifactId>alarm-engine-starter</artifactId>
  141. <version>v2.0.0-SNAPSHOT</version>
  142. </dependency>
  143. <!-- actuator:查询项目状态;项目上线需要把这个包注释掉,不然会有安全风险 -->
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-actuator</artifactId>
  147. </dependency>
  148. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  149. <dependency>
  150. <groupId>com.sagacloud</groupId>
  151. <artifactId>zillion-util</artifactId>
  152. <version>2.3.2.103</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.google.protobuf</groupId>
  156. <artifactId>protobuf-java</artifactId>
  157. <version>2.6.0</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.persagy.framework</groupId>
  161. <artifactId>ems-data-starter-zillion</artifactId>
  162. <version>1.11.0</version>
  163. <exclusions>
  164. <exclusion>
  165. <groupId>com.sagacloud</groupId>
  166. <artifactId>zillion-util</artifactId>
  167. </exclusion>
  168. <!-- <exclusion>
  169. <groupId>com.google.guava</groupId>
  170. <artifactId>guava</artifactId>
  171. </exclusion>-->
  172. </exclusions>
  173. </dependency>
  174. <!-- RabbiMQ -->
  175. <dependency>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-starter-amqp</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.persagy</groupId>
  181. <artifactId>mybatis-tenant-datasource-db-starter</artifactId>
  182. <version>1.1.7</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.baomidou</groupId>
  186. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  187. <version>3.4.1</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.baomidou</groupId>
  191. <artifactId>mybatis-plus-boot-starter</artifactId>
  192. <version>3.4.1</version>
  193. </dependency>
  194. <!-- 链路追踪 -->
  195. <dependency>
  196. <groupId>org.apache.skywalking</groupId>
  197. <artifactId>apm-toolkit-log4j-1.x</artifactId>
  198. <version>8.3.0</version>
  199. </dependency>
  200. </dependencies>
  201. <build>
  202. <finalName>${project.artifactId}</finalName>
  203. <plugins>
  204. <plugin>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-maven-plugin</artifactId>
  207. </plugin>
  208. <!--拷贝资源文件 copy-resources-->
  209. <plugin>
  210. <artifactId>maven-resources-plugin</artifactId>
  211. <executions>
  212. <execution>
  213. <id>copy-resources</id>
  214. <phase>package</phase>
  215. <goals>
  216. <goal>copy-resources</goal>
  217. </goals>
  218. <configuration>
  219. <resources>
  220. <resource>
  221. <directory>src/main/resources/</directory>
  222. <includes>
  223. <include>**/*.xml</include>
  224. <include>**/*.yml</include>
  225. <include>**/icon/**</include>
  226. <include>**/init/**</include>
  227. <include>**/mapper/**</include>
  228. <include>**/*.properties</include>
  229. <include>**/version.txt</include>
  230. <include>**/heartbeat-app.sh</include>
  231. </includes>
  232. </resource>
  233. </resources>
  234. <outputDirectory>${project.build.directory}/config</outputDirectory>
  235. </configuration>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. </plugins>
  240. </build>
  241. </project>