pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>com.hotent</groupId>
  9. <artifactId>eip</artifactId>
  10. <version>8.0.7</version>
  11. </parent>
  12. <artifactId>assembly</artifactId>
  13. <name>assembly</name>
  14. <!--打war包时改为war-->
  15. <packaging>jar</packaging>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.deploy.skip>true</maven.deploy.skip><!-- 不上传此jar包 -->
  19. </properties>
  20. <dependencies>
  21. <!-- Spring boot 测试 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-test</artifactId>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-test</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.hotent</groupId>
  33. <artifactId>uc</artifactId>
  34. <version>${parent.version}</version>
  35. <exclusions>
  36. <exclusion>
  37. <groupId>com.hotent</groupId>
  38. <artifactId>rest-auth-service</artifactId>
  39. </exclusion>
  40. </exclusions>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.hotent</groupId>
  44. <artifactId>portal</artifactId>
  45. <version>${parent.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.hotent</groupId>
  49. <artifactId>form</artifactId>
  50. <version>${parent.version}</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>com.hotent</groupId>
  54. <artifactId>rest-auth-service</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.hotent</groupId>
  60. <artifactId>bpm-model</artifactId>
  61. <version>${parent.version}</version>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>com.hotent</groupId>
  65. <artifactId>rest-auth-service</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.hotent</groupId>
  71. <artifactId>assistMg</artifactId>
  72. <version>${parent.version}</version>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>com.hotent</groupId>
  76. <artifactId>rest-auth-service</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.hotent</groupId>
  82. <artifactId>bpm-runtime</artifactId>
  83. <version>${parent.version}</version>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>com.hotent</groupId>
  87. <artifactId>rest-auth-service</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.hotent</groupId>
  93. <artifactId>auth-server</artifactId>
  94. <version>${parent.version}</version>
  95. </dependency>
  96. <!-- <dependency>-->
  97. <!-- <groupId>com.hotent</groupId>-->
  98. <!-- <artifactId>base</artifactId>-->
  99. <!-- <version>${parent.version}</version>-->
  100. <!-- <exclusions>-->
  101. <!-- &lt;!&ndash; 可以使用eureka 注册中心 或者 nacos &ndash;&gt;-->
  102. <!--&lt;!&ndash; <exclusion>&ndash;&gt;-->
  103. <!--&lt;!&ndash; <groupId>org.springframework.cloud</groupId>&ndash;&gt;-->
  104. <!--&lt;!&ndash; <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>&ndash;&gt;-->
  105. <!--&lt;!&ndash; </exclusion>&ndash;&gt;-->
  106. <!-- <exclusion>-->
  107. <!-- <groupId>com.alibaba.cloud</groupId>-->
  108. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
  109. <!-- </exclusion>-->
  110. <!-- <exclusion>-->
  111. <!-- <groupId>org.springframework.cloud</groupId>-->
  112. <!-- <artifactId>-->
  113. <!-- spring-cloud-starter-netflix-hystrix-->
  114. <!-- </artifactId>-->
  115. <!-- </exclusion>-->
  116. <!-- <exclusion>-->
  117. <!-- <groupId>org.springframework.cloud</groupId>-->
  118. <!-- <artifactId>-->
  119. <!-- spring-cloud-starter-netflix-hystrix-dashboard-->
  120. <!-- </artifactId>-->
  121. <!-- </exclusion>-->
  122. <!-- <exclusion>-->
  123. <!-- <groupId>com.alibaba.cloud</groupId>-->
  124. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
  125. <!-- </exclusion>-->
  126. <!-- </exclusions>-->
  127. <!-- </dependency>-->
  128. <dependency>
  129. <groupId>com.hotent</groupId>
  130. <artifactId>api-server</artifactId>
  131. <version>${parent.version}</version>
  132. </dependency>
  133. <!-- <dependency>-->
  134. <!-- <groupId>com.hotent</groupId>-->
  135. <!-- <artifactId>sign</artifactId>-->
  136. <!-- <version>${parent.version}</version>-->
  137. <!-- </dependency>-->
  138. </dependencies>
  139. <!-- 生成fatjar的命令 -->
  140. <build>
  141. <finalName>eip</finalName>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-resources-plugin</artifactId>
  146. <version>2.7</version>
  147. <dependencies>
  148. <dependency>
  149. <groupId>org.apache.maven.shared</groupId>
  150. <artifactId>maven-filtering</artifactId>
  151. <version>1.3</version>
  152. </dependency>
  153. </dependencies>
  154. <configuration>
  155. <nonFilteredFileExtensions>
  156. <nonFilteredFileExtension>bpmn</nonFilteredFileExtension>
  157. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  158. </nonFilteredFileExtensions>
  159. <delimiters>
  160. <delimiter>@@</delimiter>
  161. </delimiters>
  162. <useDefaultDelimiters>false</useDefaultDelimiters>
  163. </configuration>
  164. </plugin>
  165. <!-- 用于生成jar文件,打war包时需要屏蔽 -->
  166. <plugin>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-maven-plugin</artifactId>
  169. <version>${spring.boot.version}</version>
  170. <configuration>
  171. <mainClass>com.hotent.assembly.Application</mainClass>
  172. <layout>JAR</layout>
  173. </configuration>
  174. <executions>
  175. <execution>
  176. <goals>
  177. <goal>repackage</goal>
  178. </goals>
  179. <configuration>
  180. <attach>false</attach>
  181. <classifier>boot</classifier>
  182. <includeSystemScope>true</includeSystemScope>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <!-- 用于生成war包文件 -->
  188. <plugin>
  189. <artifactId>maven-war-plugin</artifactId>
  190. <version>3.2.0</version>
  191. <configuration>
  192. <failOnMissingWebXml>false</failOnMissingWebXml>
  193. </configuration>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </project>