pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <groupId>com.jnpf</groupId>
  7. <artifactId>jnpf-workflow-core</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0-RELEASE</version>
  10. <modules>
  11. <module>jnpf-workflow-common</module>
  12. <module>jnpf-workflow-flowable</module>
  13. <!-- <module>jnpf-workflow-activiti</module>-->
  14. </modules>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  19. <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
  20. <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
  21. <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
  22. <maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version>
  23. <maven-resources-plugin.version>2.6</maven-resources-plugin.version>
  24. <exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
  25. <class-winter-maven-plugin.version>enhance-2.9.4</class-winter-maven-plugin.version>
  26. <hutool.version>5.8.27</hutool.version>
  27. <springdoc.openapi.version>2.3.0</springdoc.openapi.version>
  28. <activiti.version>7.1.0.M4</activiti.version>
  29. <!-- swagger -->
  30. <knife4j.version>4.5.0</knife4j.version>
  31. <!--flowable 脚本引擎-->
  32. <liqui.version>4.27.0</liqui.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- SpringBoot 依赖配置 -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-dependencies</artifactId>
  40. <version>${spring-boot.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!--flowable 脚本引擎-->
  45. <dependency>
  46. <groupId>org.liquibase</groupId>
  47. <artifactId>liquibase-core</artifactId>
  48. <version>${liqui.version}</version>
  49. </dependency>
  50. </dependencies>
  51. </dependencyManagement>
  52. <build>
  53. <pluginManagement>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-compiler-plugin</artifactId>
  58. <version>${maven-compiler-plugin.version}</version>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-deploy-plugin</artifactId>
  63. <version>${maven-deploy-plugin.version}</version>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-maven-plugin</artifactId>
  68. <version>${spring-boot.version}</version>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-install-plugin</artifactId>
  73. <version>${maven-install-plugin.version}</version>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-dependency-plugin</artifactId>
  78. <version>${maven-dependency-plugin.version}</version>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-resources-plugin</artifactId>
  83. <version>${maven-resources-plugin.version}</version>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.codehaus.mojo</groupId>
  87. <artifactId>exec-maven-plugin</artifactId>
  88. <version>${exec-maven-plugin.version}</version>
  89. </plugin>
  90. <plugin>
  91. <groupId>com.idea-aedi</groupId>
  92. <artifactId>class-winter-maven-plugin</artifactId>
  93. <version>${class-winter-maven-plugin.version}</version>
  94. </plugin>
  95. </plugins>
  96. </pluginManagement>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-compiler-plugin</artifactId>
  101. <configuration>
  102. <parameters>true</parameters>
  103. <source>${maven.compiler.source}</source>
  104. <target>${maven.compiler.target}</target>
  105. <encoding>${project.build.sourceEncoding}</encoding>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-deploy-plugin</artifactId>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. <profiles>
  119. <profile>
  120. <id>boot3</id>
  121. <activation>
  122. <jdk>[17,)</jdk>
  123. </activation>
  124. <properties>
  125. <!--这里修改JDK版本号, 1.8, 11, 17-->
  126. <java.version>21</java.version>
  127. <!--最高版本语言特性-->
  128. <maven.compiler.source>1.8</maven.compiler.source>
  129. <!--最低运行JDK版本-->
  130. <maven.compiler.target>17</maven.compiler.target>
  131. <!-- spring依赖 -->
  132. <spring-boot.version>3.3.2</spring-boot.version>
  133. <!-- 流程引擎 -->
  134. <flowable.version>7.0.1</flowable.version>
  135. </properties>
  136. <dependencyManagement>
  137. <dependencies>
  138. <dependency>
  139. <groupId>com.github.xiaoymin</groupId>
  140. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  141. <version>${knife4j.version}</version>
  142. </dependency>
  143. </dependencies>
  144. </dependencyManagement>
  145. </profile>
  146. <profile>
  147. <id>boot2</id>
  148. <activation>
  149. <jdk>(,17)</jdk>
  150. </activation>
  151. <properties>
  152. <!--这里修改JDK版本号, 1.8, 11, 17-->
  153. <java.version>1.8</java.version>
  154. <!--最高版本语言特性-->
  155. <maven.compiler.source>1.8</maven.compiler.source>
  156. <!--最低运行JDK版本-->
  157. <maven.compiler.target>1.8</maven.compiler.target>
  158. <!-- spring依赖 -->
  159. <spring-boot.version>2.7.18</spring-boot.version>
  160. <!-- 流程引擎 -->
  161. <flowable.version>6.8.1</flowable.version>
  162. </properties>
  163. <dependencyManagement>
  164. <dependencies>
  165. <dependency>
  166. <groupId>com.github.xiaoymin</groupId>
  167. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  168. <version>${knife4j.version}</version>
  169. </dependency>
  170. </dependencies>
  171. </dependencyManagement>
  172. </profile>
  173. </profiles>
  174. <!--私服仓库配置-->
  175. <distributionManagement>
  176. <repository>
  177. <id>maven-releases</id>
  178. <name>maven-releases</name>
  179. <url>http://nexus.jnpfsoft.com/repository/maven-releases/</url>
  180. </repository>
  181. </distributionManagement>
  182. </project>