pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.83</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.persagy</groupId>
  63. <artifactId>apm-server</artifactId>
  64. <exclusions>
  65. <exclusion>
  66. <artifactId>fastjson</artifactId>
  67. <groupId>com.alibaba</groupId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <!-- apm 工具包 -->
  72. <dependency>
  73. <groupId>com.persagy</groupId>
  74. <artifactId>apm-common</artifactId>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>com.persagy</groupId>
  78. <artifactId>integrated-redis-spring-boot-starter</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <artifactId>fastjson</artifactId>
  82. <groupId>com.alibaba</groupId>
  83. </exclusion>
  84. <!-- <exclusion>
  85. <groupId>com.google.guava</groupId>
  86. <artifactId>guava</artifactId>
  87. </exclusion>-->
  88. </exclusions>
  89. </dependency>
  90. <!-- lang -->
  91. <dependency>
  92. <groupId>commons-lang</groupId>
  93. <artifactId>commons-lang</artifactId>
  94. </dependency>
  95. <!-- gson json,java对象互转 -->
  96. <dependency>
  97. <groupId>com.google.code.gson</groupId>
  98. <artifactId>gson</artifactId>
  99. </dependency>
  100. <!-- 配置中心(包含注册中心) -->
  101. <dependency>
  102. <groupId>com.persagy</groupId>
  103. <artifactId>integrated-config-client</artifactId>
  104. <exclusions>
  105. <exclusion>
  106. <artifactId>fastjson</artifactId>
  107. <groupId>com.alibaba</groupId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <!-- 日志 -->
  112. <dependency>
  113. <groupId>com.persagy</groupId>
  114. <artifactId>integrated-log-spring-boot-starter</artifactId>
  115. <exclusions>
  116. <exclusion>
  117. <artifactId>fastjson</artifactId>
  118. <groupId>com.alibaba</groupId>
  119. </exclusion>
  120. </exclusions>
  121. </dependency>
  122. <!-- feign -->
  123. <dependency>
  124. <groupId>com.persagy</groupId>
  125. <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
  126. <exclusions>
  127. <exclusion>
  128. <artifactId>fastjson</artifactId>
  129. <groupId>com.alibaba</groupId>
  130. </exclusion>
  131. </exclusions>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-data-redis</artifactId>
  136. <exclusions>
  137. <exclusion>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-starter-logging</artifactId>
  140. </exclusion>
  141. <!-- <exclusion>-->
  142. <!-- <groupId>io.lettuce</groupId>-->
  143. <!-- <artifactId>lettuce-core</artifactId>-->
  144. <!-- </exclusion>-->
  145. </exclusions>
  146. </dependency>
  147. <dependency>
  148. <groupId>redis.clients</groupId>
  149. <artifactId>jedis</artifactId>
  150. </dependency>
  151. <!-- swagger -->
  152. <dependency>
  153. <groupId>com.persagy</groupId>
  154. <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
  155. <exclusions>
  156. <exclusion>
  157. <artifactId>fastjson</artifactId>
  158. <groupId>com.alibaba</groupId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <!--jep 公式解析-->
  163. <dependency>
  164. <groupId>org.scijava</groupId>
  165. <artifactId>jep</artifactId>
  166. <version>2.4.2</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.persagy</groupId>
  170. <artifactId>apm-mybatis</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.persagy.apm</groupId>
  174. <artifactId>alarm-data-starter</artifactId>
  175. <version>v2.0.0-SNAPSHOT</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.persagy.apm</groupId>
  179. <artifactId>alarm-engine-starter</artifactId>
  180. <version>v2.0.0-SNAPSHOT</version>
  181. </dependency>
  182. <!-- actuator:查询项目状态;项目上线需要把这个包注释掉,不然会有安全风险 -->
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-actuator</artifactId>
  186. </dependency>
  187. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  188. <dependency>
  189. <groupId>com.sagacloud</groupId>
  190. <artifactId>zillion-util</artifactId>
  191. <version>2.3.2.103</version>
  192. <exclusions>
  193. <exclusion>
  194. <artifactId>fastjson</artifactId>
  195. <groupId>com.alibaba</groupId>
  196. </exclusion>
  197. </exclusions>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.google.protobuf</groupId>
  201. <artifactId>protobuf-java</artifactId>
  202. <version>2.6.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.persagy.framework</groupId>
  206. <artifactId>ems-data-starter-zillion</artifactId>
  207. <version>1.11.0</version>
  208. <exclusions>
  209. <exclusion>
  210. <groupId>com.sagacloud</groupId>
  211. <artifactId>zillion-util</artifactId>
  212. </exclusion>
  213. <exclusion>
  214. <artifactId>fastjson</artifactId>
  215. <groupId>com.alibaba</groupId>
  216. </exclusion>
  217. <!-- <exclusion>
  218. <groupId>com.google.guava</groupId>
  219. <artifactId>guava</artifactId>
  220. </exclusion>-->
  221. </exclusions>
  222. </dependency>
  223. <!-- RabbiMQ -->
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter-amqp</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.persagy</groupId>
  230. <artifactId>mybatis-tenant-datasource-db-starter</artifactId>
  231. <version>1.1.7</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.baomidou</groupId>
  235. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  236. <version>3.4.1</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>com.baomidou</groupId>
  240. <artifactId>mybatis-plus-boot-starter</artifactId>
  241. <version>3.4.1</version>
  242. </dependency>
  243. <!-- 链路追踪 -->
  244. <dependency>
  245. <groupId>org.apache.skywalking</groupId>
  246. <artifactId>apm-toolkit-log4j-1.x</artifactId>
  247. <version>8.3.0</version>
  248. </dependency>
  249. </dependencies>
  250. <build>
  251. <finalName>${project.artifactId}</finalName>
  252. <plugins>
  253. <plugin>
  254. <groupId>org.springframework.boot</groupId>
  255. <artifactId>spring-boot-maven-plugin</artifactId>
  256. </plugin>
  257. <!--拷贝资源文件 copy-resources-->
  258. <plugin>
  259. <artifactId>maven-resources-plugin</artifactId>
  260. <executions>
  261. <execution>
  262. <id>copy-resources</id>
  263. <phase>package</phase>
  264. <goals>
  265. <goal>copy-resources</goal>
  266. </goals>
  267. <configuration>
  268. <resources>
  269. <resource>
  270. <directory>src/main/resources/</directory>
  271. <includes>
  272. <include>**/*.xml</include>
  273. <include>**/*.yml</include>
  274. <include>**/icon/**</include>
  275. <include>**/init/**</include>
  276. <include>**/mapper/**</include>
  277. <include>**/*.properties</include>
  278. <include>**/version.txt</include>
  279. <include>**/heartbeat-app.sh</include>
  280. </includes>
  281. </resource>
  282. </resources>
  283. <outputDirectory>${project.build.directory}/config</outputDirectory>
  284. </configuration>
  285. </execution>
  286. </executions>
  287. </plugin>
  288. </plugins>
  289. </build>
  290. </project>