hutool-parent-5.8.35.pom 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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.35</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.10.3</junit.version>
  43. <lombok.version>1.18.34</lombok.version>
  44. </properties>
  45. <dependencies>
  46. <!-- 全局单元测试 -->
  47. <dependency>
  48. <groupId>org.junit.jupiter</groupId>
  49. <artifactId>junit-jupiter-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.13.0</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.4.2</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.8.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. <!-- 统一更新pom版本 -->
  128. <plugin>
  129. <groupId>org.codehaus.mojo</groupId>
  130. <artifactId>versions-maven-plugin</artifactId>
  131. <version>2.17.1</version>
  132. <configuration>
  133. <generateBackupPoms>false</generateBackupPoms>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. <profiles>
  139. <profile>
  140. <id>release</id>
  141. <distributionManagement>
  142. <snapshotRepository>
  143. <id>oss</id>
  144. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  145. </snapshotRepository>
  146. <repository>
  147. <id>oss</id>
  148. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  149. </repository>
  150. </distributionManagement>
  151. <build>
  152. <plugins>
  153. <!-- Source -->
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-source-plugin</artifactId>
  157. <version>3.3.1</version>
  158. <executions>
  159. <execution>
  160. <id>oss</id>
  161. <phase>package</phase>
  162. <goals>
  163. <goal>jar-no-fork</goal>
  164. </goals>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. <!-- 测试覆盖度 -->
  169. <plugin>
  170. <groupId>org.codehaus.mojo</groupId>
  171. <artifactId>cobertura-maven-plugin</artifactId>
  172. <version>2.7</version>
  173. <configuration>
  174. <formats>
  175. <format>html</format>
  176. <format>xml</format>
  177. </formats>
  178. <check/>
  179. </configuration>
  180. </plugin>
  181. <!-- Gpg Signature -->
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-gpg-plugin</artifactId>
  185. <version>1.6</version>
  186. <executions>
  187. <execution>
  188. <id>oss</id>
  189. <phase>verify</phase>
  190. <goals>
  191. <goal>sign</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.sonatype.plugins</groupId>
  198. <artifactId>nexus-staging-maven-plugin</artifactId>
  199. <version>1.7.0</version>
  200. <extensions>true</extensions>
  201. <configuration>
  202. <serverId>oss</serverId>
  203. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  204. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  205. </configuration>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. </profile>
  210. </profiles>
  211. </project>