pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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>io.github.minliuhua</groupId>
  7. <artifactId>warm-flow</artifactId>
  8. <version>${revision}</version>
  9. <packaging>pom</packaging>
  10. <name>warm-flow</name>
  11. <description>Warm-Flow is a flow</description>
  12. <url>https://github.com/minliuhua/monkey-flow</url>
  13. <issueManagement>
  14. <system>Github Issue</system>
  15. <url>https://github.com/minliuhua/warm-flow/issues</url>
  16. </issueManagement>
  17. <licenses>
  18. <license>
  19. <name>The Apache Software License, Version 2.0</name>
  20. <url>http://apache.org/licenses/LICENSE-2.0.txt</url>
  21. </license>
  22. </licenses>
  23. <scm>
  24. <connection>https://github.com/minliuhua/warm-flow.git</connection>
  25. <url>https://github.com/minliuhua/warm-flow</url>
  26. </scm>
  27. <developers>
  28. <developer>
  29. <name>stupidkid</name>
  30. <email>290631660@qq.com</email>
  31. <roles>
  32. <role>Developer</role>
  33. </roles>
  34. <timezone>+8</timezone>
  35. </developer>
  36. </developers>
  37. <modules>
  38. <module>warm-flow-core</module>
  39. <module>warm-flow-mybatis</module>
  40. <module>warm-flow-mybatis-plus</module>
  41. <module>warm-flow-jpa</module>
  42. <module>warm-flow-test</module>
  43. </modules>
  44. <properties>
  45. <revision>1.2.0-SNAPSHOT</revision>
  46. <maven.compiler.source>8</maven.compiler.source>
  47. <maven.compiler.target>8</maven.compiler.target>
  48. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  49. <java.version>1.8</java.version>
  50. <spring.boot.version>2.5.14</spring.boot.version>
  51. <dom4j.version>2.1.1</dom4j.version>
  52. <mybatis.version>3.5.13</mybatis.version>
  53. <mybatis-spring-boot>2.3.0</mybatis-spring-boot>
  54. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  55. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  56. <mysql.version>8.0.33</mysql.version>
  57. <HikariCP.version>4.0.3</HikariCP.version>
  58. <junit.version>4.13.2</junit.version>
  59. <solon.version>2.5.3</solon.version>
  60. <snack3.version>3.2.88</snack3.version>
  61. <slf4j-api.version>1.7.36</slf4j-api.version>
  62. <oracle.version>11.2.0.4</oracle.version>
  63. </properties>
  64. <dependencyManagement>
  65. <dependencies>
  66. <!-- SpringBoot的依赖配置-->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-dependencies</artifactId>
  70. <version>${spring.boot.version}</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.noear</groupId>
  76. <artifactId>solon</artifactId>
  77. <version>${solon.version}</version>
  78. <optional>true</optional>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.dom4j</groupId>
  82. <artifactId>dom4j</artifactId>
  83. <version>${dom4j.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mybatis</groupId>
  87. <artifactId>mybatis</artifactId>
  88. <version>${mybatis.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mybatis.spring.boot</groupId>
  92. <artifactId>mybatis-spring-boot-starter</artifactId>
  93. <version>${mybatis-spring-boot}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.baomidou</groupId>
  97. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  98. <version>${mybatis-plus.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.noear</groupId>
  102. <artifactId>mybatis-solon-plugin</artifactId>
  103. <version>${solon.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.baomidou</groupId>
  107. <artifactId>mybatis-plus</artifactId>
  108. <version>${mybatis-plus.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>mybatis-plus-boot-starter</artifactId>
  113. <version>${mybatis-plus.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.noear</groupId>
  117. <artifactId>mybatis-plus-solon-plugin</artifactId>
  118. <version>${solon.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>io.github.minliuhua</groupId>
  122. <artifactId>warm-flow-core</artifactId>
  123. <version>${revision}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.github.minliuhua</groupId>
  127. <artifactId>warm-flow-mybatis-core</artifactId>
  128. <version>${revision}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.github.minliuhua</groupId>
  132. <artifactId>warm-flow-mybatis-sb-starter</artifactId>
  133. <version>${revision}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.github.minliuhua</groupId>
  137. <artifactId>warm-flow-mybatis-solon-plugin</artifactId>
  138. <version>${revision}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>io.github.minliuhua</groupId>
  142. <artifactId>warm-flow-mybatis-plus-core</artifactId>
  143. <version>${revision}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>io.github.minliuhua</groupId>
  147. <artifactId>warm-flow-mybatis-plus-sb-starter</artifactId>
  148. <version>${revision}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>io.github.minliuhua</groupId>
  152. <artifactId>warm-flow-mybatis-plus-solon-plugin</artifactId>
  153. <version>${revision}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>io.github.minliuhua</groupId>
  157. <artifactId>warm-flow-jpa-core</artifactId>
  158. <version>${revision}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.github.minliuhua</groupId>
  162. <artifactId>warm-flow-jpa-sb-starter</artifactId>
  163. <version>${revision}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>io.github.minliuhua</groupId>
  167. <artifactId>warm-flow-jpa-jakarta-core</artifactId>
  168. <version>${revision}</version>
  169. </dependency>
  170. <!--for test-->
  171. <dependency>
  172. <groupId>junit</groupId>
  173. <artifactId>junit</artifactId>
  174. <version>${junit.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.mysql</groupId>
  178. <artifactId>mysql-connector-j</artifactId>
  179. <version>${mysql.version}</version>
  180. <optional>true</optional>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.zaxxer</groupId>
  184. <artifactId>HikariCP</artifactId>
  185. <version>${HikariCP.version}</version>
  186. <optional>true</optional>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.noear</groupId>
  190. <artifactId>snack3</artifactId>
  191. <version>${snack3.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.slf4j</groupId>
  195. <artifactId>slf4j-api</artifactId>
  196. <version>${slf4j-api.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.oracle.database.jdbc</groupId>
  200. <artifactId>ojdbc6</artifactId>
  201. <version>${oracle.version}</version>
  202. </dependency>
  203. </dependencies>
  204. </dependencyManagement>
  205. <build>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-compiler-plugin</artifactId>
  210. <version>3.8.1</version>
  211. <configuration>
  212. <source>${java.version}</source>
  213. <target>${java.version}</target>
  214. <encoding>${project.build.sourceEncoding}</encoding>
  215. </configuration>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-jar-plugin</artifactId>
  220. <version>3.2.0</version>
  221. <configuration>
  222. <archive>
  223. <manifestEntries>
  224. <Implementation-Version>${revision}</Implementation-Version>
  225. </manifestEntries>
  226. </archive>
  227. </configuration>
  228. </plugin>
  229. <!-- 统一版本号管理 -->
  230. <plugin>
  231. <groupId>org.codehaus.mojo</groupId>
  232. <artifactId>flatten-maven-plugin</artifactId>
  233. <version>${flatten-maven-plugin.version}</version>
  234. <configuration>
  235. <updatePomFile>true</updatePomFile>
  236. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  237. </configuration>
  238. <executions>
  239. <execution>
  240. <id>flatten</id>
  241. <phase>process-resources</phase>
  242. <goals>
  243. <goal>flatten</goal>
  244. </goals>
  245. </execution>
  246. <execution>
  247. <id>flatten.clean</id>
  248. <phase>clean</phase>
  249. <goals>
  250. <goal>clean</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. <profiles>
  258. <profile>
  259. <id>release</id>
  260. <build>
  261. <!-- mvn clean deploy -P release -->
  262. <!-- mvn clean install -Dmaven.test.skip=true -->
  263. <!-- source ~/.bash_profile -->
  264. <plugins>
  265. <!-- Source -->
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-source-plugin</artifactId>
  269. <version>2.2.1</version>
  270. <executions>
  271. <execution>
  272. <id>attach-sources</id>
  273. <goals>
  274. <goal>jar-no-fork</goal>
  275. </goals>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. <!-- Javadoc -->
  280. </plugins>
  281. </build>
  282. </profile>
  283. </profiles>
  284. <distributionManagement>
  285. <snapshotRepository>
  286. <id>ossrh</id>
  287. <name>snapshots</name>
  288. <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  289. </snapshotRepository>
  290. <repository>
  291. <id>ossrh</id>
  292. <name>releases</name>
  293. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  294. </repository>
  295. </distributionManagement>
  296. </project>