pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.lc.ibps.provider</groupId>
  6. <artifactId>ibps-provider-root</artifactId>
  7. <version>3.3.7-LC.RELEASE</version>
  8. <relativePath>../../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ibps-provider-bpmn-boot</artifactId>
  12. <properties>
  13. <jboss-logging.version>3.3.0.Final</jboss-logging.version>
  14. <java.version>1.8</java.version>
  15. <maven.compiler.source>1.8</maven.compiler.source>
  16. <maven.compiler.target>1.8</maven.compiler.target>
  17. <maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.lc.ibps.cloud</groupId>
  22. <artifactId>ibps-basic-discovery</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.lc.ibps.cloud</groupId>
  26. <artifactId>ibps-basic-config</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.jboss.logging</groupId>
  30. <artifactId>jboss-logging</artifactId>
  31. <version>${jboss-logging.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-log4j2</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.lc.ibps.cloud</groupId>
  39. <artifactId>ibps-basic-provider</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.lc.ibps.cloud</groupId>
  43. <artifactId>ibps-basic-monitor</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.lc.ibps.cloud</groupId>
  47. <artifactId>ibps-basic-validator</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.lc.ibps.cloud</groupId>
  51. <artifactId>ibps-basic-swagger</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.lc.ibps.cloud</groupId>
  55. <artifactId>ibps-oauth-client-feignclient</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.lc.ibps.base</groupId>
  59. <artifactId>ibps-base-db</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.lc.ibps.base</groupId>
  63. <artifactId>ibps-base-service</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.lc.ibps.bpmn</groupId>
  67. <artifactId>ibps-bpmn-biz</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.lc.ibps.provider</groupId>
  71. <artifactId>ibps-provider-bpmn</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>com.lc.ibps.provider.base</groupId>
  75. <artifactId>ibps-provider-form-client</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.lc.ibps.provider.base</groupId>
  81. <artifactId>ibps-provider-platform-client</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.lc.ibps.provider.base</groupId>
  85. <artifactId>ibps-provider-form-client</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.lc.ibps.cloud.base</groupId>
  89. <artifactId>ibps-comp-message-server-client</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.lc.ibps.components</groupId>
  93. <artifactId>ibps-component-cache</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.lc.ibps.message</groupId>
  97. <artifactId>ibps-message-producer</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.lc.ibps.excessive</groupId>
  101. <artifactId>ibps-excessive-platform</artifactId>
  102. </dependency>
  103. <!-- https://mvnrepository.com/artifact/net.sf.ezmorph/ezmorph -->
  104. <dependency>
  105. <groupId>net.sf.ezmorph</groupId>
  106. <artifactId>ezmorph</artifactId>
  107. </dependency>
  108. <!-- https://mvnrepository.com/artifact/net.sf.morph/morph -->
  109. <dependency>
  110. <groupId>net.sf.morph</groupId>
  111. <artifactId>morph</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.alibaba</groupId>
  115. <artifactId>druid</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>mysql</groupId>
  119. <artifactId>mysql-connector-java</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.microsoft.sqlserver</groupId>
  123. <artifactId>mssql-jdbc</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.oracle</groupId>
  127. <artifactId>oracledriver</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>fakepath</groupId>
  131. <artifactId>postgresql</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-test</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. </dependencies>
  139. <build>
  140. <plugins>
  141. <plugin>
  142. <artifactId>maven-clean-plugin</artifactId>
  143. <version>3.0.0</version>
  144. <configuration>
  145. <source>1.8</source>
  146. <target>1.8</target>
  147. <encoding>UTF-8</encoding>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <artifactId>maven-compiler-plugin</artifactId>
  152. <version>3.0</version>
  153. <configuration>
  154. <source>1.8</source>
  155. <target>1.8</target>
  156. <fork>true</fork>
  157. <encoding>UTF-8</encoding>
  158. </configuration>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-dependency-plugin</artifactId>
  163. <configuration>
  164. <source>1.8</source>
  165. <target>1.8</target>
  166. <encoding>UTF-8</encoding>
  167. </configuration>
  168. <executions>
  169. <execution>
  170. <id>copy-dependencies</id>
  171. <phase>prepare-package</phase>
  172. <goals>
  173. <goal>copy-dependencies</goal>
  174. </goals>
  175. <configuration>
  176. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  177. <overWriteReleases>false</overWriteReleases>
  178. <overWriteSnapshots>false</overWriteSnapshots>
  179. <overWriteIfNewer>true</overWriteIfNewer>
  180. </configuration>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-antrun-plugin</artifactId>
  186. <executions>
  187. <execution>
  188. <phase>package</phase>
  189. <goals>
  190. <goal>run</goal>
  191. </goals>
  192. <configuration>
  193. <tasks>
  194. <property name="classes.dir" value="${project.build.directory}/classes-exclude"/>
  195. <property name="lib.dir" value="${project.build.directory}/lib-exclude"/>
  196. <copy todir="${classes.dir}" includeEmptyDirs="false">
  197. <fileset dir="${project.build.directory}/classes">
  198. </fileset>
  199. </copy>
  200. <copy todir="${lib.dir}">
  201. <fileset dir="${project.build.directory}/lib"/>
  202. </copy>
  203. <unjar dest="${classes.dir}" overwrite="false">
  204. <patternset>
  205. <include name="**/appd"/>
  206. <include name="**/*.sh"/>
  207. <include name="**/*.bat"/>
  208. <include name="**/readMe"/>
  209. <include name="**/*.xsd"/>
  210. <include name="**/*.xml"/>
  211. <include name="**/*.sql"/>
  212. <include name="**/*.ftl"/>
  213. <include name="**/*.yml"/>
  214. <include name="**/*.txt"/>
  215. <include name="**/*.conf"/>
  216. <include name="**/*.properties"/>
  217. <include name="**/*.setting"/>
  218. <include name="**/*.env"/>
  219. <exclude name="**/*.map.xml"/>
  220. <exclude name="org/activiti/db/mapping/**/*.xml"/>
  221. </patternset>
  222. <fileset dir="${lib.dir}">
  223. <include name="lc-*.jar"/>
  224. <include name="ibps-*.jar"/>
  225. </fileset>
  226. </unjar>
  227. <!--
  228. <delete includeEmptyDirs="true">
  229. <fileset dir="${lib.dir}">
  230. <include name="lc-*.jar"/>
  231. <include name="ibps-*.jar"/>
  232. </fileset>
  233. </delete>
  234. -->
  235. <property name="jarname" value="bpmn.jar"/>
  236. <property name="jarfile.exclude.basedir" value="${project.build.directory}/${project.artifactId}-exclude"/>
  237. <property name="jarfile.exclude.name" value="${jarfile.exclude.basedir}/${jarname}"/>
  238. <copy todir="${jarfile.exclude.basedir}" includeEmptyDirs="false">
  239. <fileset dir="${classes.dir}">
  240. <exclude name="**/*.class" />
  241. </fileset>
  242. </copy>
  243. <copy todir="${jarfile.exclude.basedir}/lib">
  244. <fileset dir="${lib.dir}"/>
  245. </copy>
  246. <pathconvert property="exclude.lib" pathsep=" ">
  247. <mapper>
  248. <chainedmapper>
  249. <flattenmapper />
  250. <globmapper from="*" to="lib/*" />
  251. </chainedmapper>
  252. </mapper>
  253. <fileset dir="${jarfile.exclude.basedir}/lib">
  254. <include name="*.jar" />
  255. </fileset>
  256. </pathconvert>
  257. <jar destfile="${jarfile.exclude.name}">
  258. <manifest>
  259. <attribute name="Class-Path" value=". ${exclude.lib}"/>
  260. <attribute name="Main-Class" value="com.lc.ibps.BpmnApplication"/>
  261. </manifest>
  262. <fileset dir="${classes.dir}">
  263. <include name="**/*.class" />
  264. </fileset>
  265. </jar>
  266. <delete includeEmptyDirs="true">
  267. <fileset dir="${classes.dir}"/>
  268. <fileset dir="${lib.dir}"/>
  269. <fileset dir="${project.build.directory}/lib"/>
  270. </delete>
  271. </tasks>
  272. </configuration>
  273. </execution>
  274. </executions>
  275. </plugin>
  276. </plugins>
  277. </build>
  278. </project>