pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.bstek.urule</groupId>
  4. <artifactId>urule-parent</artifactId>
  5. <version>2.0.4</version>
  6. <properties>
  7. <spring.version>5.3.31</spring.version>
  8. <spring.boot.version>2.7.18</spring.boot.version>
  9. <logback.version>1.2.12</logback.version>
  10. <jaxb.version>2.3.0</jaxb.version>
  11. <lombok.version>1.18.26</lombok.version>
  12. <guava.version>31.1-jre</guava.version>
  13. <httpclient.version>4.5.14</httpclient.version>
  14. <commons.io.version>2.13.0</commons.io.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <licenses>
  18. <license>
  19. <name>The Apache License, Version 2.0</name>
  20. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  21. </license>
  22. </licenses>
  23. <developers>
  24. <developer>
  25. <name>Gaojie</name>
  26. <email>jacky.gao@bstek.com</email>
  27. <organization>Bstek</organization>
  28. <organizationUrl>http://www.bstek.com</organizationUrl>
  29. </developer>
  30. </developers>
  31. <scm>
  32. <connection>https://github.com/youseries/urule.git</connection>
  33. <developerConnection>https://github.com/youseries/urule.git</developerConnection>
  34. <url>https://github.com/youseries/urule</url>
  35. </scm>
  36. <organization>
  37. <name>Bstek</name>
  38. <url>http://www.bstek.com</url>
  39. </organization>
  40. <packaging>pom</packaging>
  41. <!-- 依赖声明 -->
  42. <dependencyManagement>
  43. <dependencies>
  44. <dependency>
  45. <groupId>org.projectlombok</groupId>
  46. <artifactId>lombok</artifactId>
  47. <version>${lombok.version}</version>
  48. <scope>provided</scope>
  49. </dependency>
  50. <!-- io常用工具类 -->
  51. <dependency>
  52. <groupId>commons-io</groupId>
  53. <artifactId>commons-io</artifactId>
  54. <version>${commons.io.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>commons-lang</groupId>
  58. <artifactId>commons-lang</artifactId>
  59. <version>2.6</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.google.guava</groupId>
  63. <artifactId>guava</artifactId>
  64. <version>${guava.version}</version>
  65. </dependency>
  66. <!-- JDK11 支持,提供 jdk 11 中被移出的包 -->
  67. <dependency>
  68. <groupId>javax.xml.bind</groupId>
  69. <artifactId>jaxb-api</artifactId>
  70. <version>${jaxb.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.sun.xml.bind</groupId>
  74. <artifactId>jaxb-impl</artifactId>
  75. <version>${jaxb.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.sun.xml.bind</groupId>
  79. <artifactId>jaxb-core</artifactId>
  80. <version>${jaxb.version}</version>
  81. </dependency>
  82. <!-- HttpClient lib unusered -->
  83. <dependency>
  84. <groupId>org.apache.httpcomponents</groupId>
  85. <artifactId>httpclient</artifactId>
  86. <version>${httpclient.version}</version>
  87. <exclusions>
  88. <exclusion>
  89. <artifactId>httpcore</artifactId>
  90. <groupId>org.apache.httpcomponents</groupId>
  91. </exclusion>
  92. <exclusion>
  93. <artifactId>commons-codec</artifactId>
  94. <groupId>commons-codec</groupId>
  95. </exclusion>
  96. <exclusion>
  97. <artifactId>commons-logging</artifactId>
  98. <groupId>commons-logging</groupId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.httpcomponents</groupId>
  104. <artifactId>httpmime</artifactId>
  105. <version>${httpclient.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.httpcomponents</groupId>
  109. <artifactId>httpcore</artifactId>
  110. <version>4.4.12</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>ch.qos.logback</groupId>
  114. <artifactId>logback-core</artifactId>
  115. <version>${logback.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>ch.qos.logback</groupId>
  119. <artifactId>logback-classic</artifactId>
  120. <version>${logback.version}</version>
  121. </dependency>
  122. </dependencies>
  123. </dependencyManagement>
  124. <build>
  125. <resources>
  126. <resource>
  127. <directory>src/main/resources</directory>
  128. <includes>
  129. <include>**/*.xml</include>
  130. <include>**/*.xsd</include>
  131. <include>**/*.schemas</include>
  132. <include>**/*.handlers</include>
  133. <include>**/*.properties</include>
  134. <include>**/*.png</include>
  135. <include>**/*.jpg</include>
  136. <include>**/*.gif</include>
  137. <include>**/*.css</include>
  138. <include>**/*.map</include>
  139. <include>**/*.js</include>
  140. <include>**/*.swf</include>
  141. <include>**/*.swz</include>
  142. <include>**/*.html</include>
  143. <include>**/*.jsp</include>
  144. <include>**/*.txt</include>
  145. <include>**/*.eot</include>
  146. <include>**/*.svg</include>
  147. <include>**/*.ttf</include>
  148. <include>**/*.woff</include>
  149. <include>**/*.woff2</include>
  150. <include>**/*.md</include>
  151. </includes>
  152. </resource>
  153. <resource>
  154. <directory>src/main/java</directory>
  155. <includes>
  156. <include>**/*.xml</include>
  157. <include>**/*.xsd</include>
  158. <include>**/*.schemas</include>
  159. <include>**/*.handlers</include>
  160. <include>**/*.properties</include>
  161. <include>**/*.png</include>
  162. <include>**/*.jpg</include>
  163. <include>**/*.gif</include>
  164. <include>**/*.css</include>
  165. <include>**/*.map</include>
  166. <include>**/*.js</include>
  167. <include>**/*.html</include>
  168. <include>**/*.jsp</include>
  169. <include>**/*.txt</include>
  170. <include>**/*.eot</include>
  171. <include>**/*.svg</include>
  172. <include>**/*.ttf</include>
  173. <include>**/*.woff</include>
  174. <include>**/*.woff2</include>
  175. <include>**/*.md</include>
  176. </includes>
  177. </resource>
  178. </resources>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-compiler-plugin</artifactId>
  183. <version>2.4</version>
  184. <configuration>
  185. <source>1.7</source>
  186. <target>1.7</target>
  187. <encoding>utf-8</encoding>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-source-plugin</artifactId>
  193. <version>2.2.1</version>
  194. <executions>
  195. <execution>
  196. <id>attach-sources</id>
  197. <goals>
  198. <goal>jar-no-fork</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. <distributionManagement>
  206. <snapshotRepository>
  207. <id>ossrh</id>
  208. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  209. </snapshotRepository>
  210. <repository>
  211. <id>ossrh</id>
  212. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  213. </repository>
  214. </distributionManagement>
  215. <name>Urule Parent Project</name>
  216. <url>https://github.com/youseries/urule/tree/master/urule-parent</url>
  217. <issueManagement>
  218. <url>https://github.com/youseries/urule/issues</url>
  219. </issueManagement>
  220. <description>Urule Parent Project</description>
  221. </project>