hutool-parent-5.8.22.pom 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <packaging>pom</packaging>
  7. <groupId>cn.hutool</groupId>
  8. <artifactId>hutool-parent</artifactId>
  9. <version>5.8.22</version>
  10. <name>hutool</name>
  11. <description>Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。</description>
  12. <url>https://github.com/dromara/hutool</url>
  13. <modules>
  14. <module>hutool-all</module>
  15. <module>hutool-bom</module>
  16. <module>hutool-aop</module>
  17. <module>hutool-bloomFilter</module>
  18. <module>hutool-cache</module>
  19. <module>hutool-core</module>
  20. <module>hutool-cron</module>
  21. <module>hutool-crypto</module>
  22. <module>hutool-db</module>
  23. <module>hutool-dfa</module>
  24. <module>hutool-extra</module>
  25. <module>hutool-http</module>
  26. <module>hutool-log</module>
  27. <module>hutool-script</module>
  28. <module>hutool-setting</module>
  29. <module>hutool-system</module>
  30. <module>hutool-json</module>
  31. <module>hutool-poi</module>
  32. <module>hutool-captcha</module>
  33. <module>hutool-socket</module>
  34. <module>hutool-jwt</module>
  35. </modules>
  36. <properties>
  37. <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
  38. <project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
  39. <Automatic-Module-Name>cn.hutool</Automatic-Module-Name>
  40. <!-- versions -->
  41. <compile.version>8</compile.version>
  42. <junit.version>5.9.2</junit.version>
  43. <lombok.version>1.18.26</lombok.version>
  44. </properties>
  45. <dependencies>
  46. <!-- 全局单元测试 -->
  47. <dependency>
  48. <groupId>org.junit.vintage</groupId>
  49. <artifactId>junit-vintage-engine</artifactId>
  50. <version>${junit.version}</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <version>${lombok.version}</version>
  57. <scope>test</scope>
  58. </dependency>
  59. </dependencies>
  60. <issueManagement>
  61. <system>Github Issue</system>
  62. <url>https://github.com/dromara/hutool/issues</url>
  63. </issueManagement>
  64. <licenses>
  65. <license>
  66. <name>Mulan Permissive Software License,Version 2</name>
  67. <url>https://license.coscl.org.cn/MulanPSL2</url>
  68. </license>
  69. </licenses>
  70. <developers>
  71. <developer>
  72. <name>Looly</name>
  73. <email>loolly@gmail.com</email>
  74. </developer>
  75. </developers>
  76. <scm>
  77. <connection>scm:git@github.com:dromara/hutool.git</connection>
  78. <developerConnection>scm:git@github.com:dromara/hutool.git</developerConnection>
  79. <url>git@github.com:dromara/hutool.git</url>
  80. </scm>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-compiler-plugin</artifactId>
  86. <version>3.8.1</version>
  87. <configuration>
  88. <source>${compile.version}</source>
  89. <target>${compile.version}</target>
  90. <compilerArgument>-Xlint:unchecked</compilerArgument>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-jar-plugin</artifactId>
  96. <version>3.3.0</version>
  97. <configuration>
  98. <archive>
  99. <index>true</index>
  100. <manifest>
  101. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  102. </manifest>
  103. <manifestEntries>
  104. <Build-OS>${os.name}</Build-OS>
  105. <Built-By>${user.name}</Built-By>
  106. <Build-Jdk>${java.version}</Build-Jdk>
  107. <Build-Timestamp>${maven.build.timestamp}</Build-Timestamp>
  108. <Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
  109. </manifestEntries>
  110. </archive>
  111. </configuration>
  112. </plugin>
  113. <!-- Javadoc -->
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-javadoc-plugin</artifactId>
  117. <version>3.5.0</version>
  118. <executions>
  119. <execution>
  120. <phase>package</phase>
  121. <goals>
  122. <goal>jar</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. <profiles>
  130. <profile>
  131. <id>release</id>
  132. <distributionManagement>
  133. <snapshotRepository>
  134. <id>oss</id>
  135. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  136. </snapshotRepository>
  137. <repository>
  138. <id>oss</id>
  139. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  140. </repository>
  141. </distributionManagement>
  142. <build>
  143. <plugins>
  144. <!-- Source -->
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-source-plugin</artifactId>
  148. <version>3.2.1</version>
  149. <executions>
  150. <execution>
  151. <id>oss</id>
  152. <phase>package</phase>
  153. <goals>
  154. <goal>jar-no-fork</goal>
  155. </goals>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <!-- 测试覆盖度 -->
  160. <plugin>
  161. <groupId>org.codehaus.mojo</groupId>
  162. <artifactId>cobertura-maven-plugin</artifactId>
  163. <version>2.7</version>
  164. <configuration>
  165. <formats>
  166. <format>html</format>
  167. <format>xml</format>
  168. </formats>
  169. <check/>
  170. </configuration>
  171. </plugin>
  172. <!-- Gpg Signature -->
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-gpg-plugin</artifactId>
  176. <version>1.6</version>
  177. <executions>
  178. <execution>
  179. <id>oss</id>
  180. <phase>verify</phase>
  181. <goals>
  182. <goal>sign</goal>
  183. </goals>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.sonatype.plugins</groupId>
  189. <artifactId>nexus-staging-maven-plugin</artifactId>
  190. <version>1.6.8</version>
  191. <extensions>true</extensions>
  192. <configuration>
  193. <serverId>oss</serverId>
  194. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  195. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  196. </configuration>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. </profile>
  201. </profiles>
  202. </project>