hutool-parent-5.8.6.pom 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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.6</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. <!-- versions -->
  40. <compile.version>8</compile.version>
  41. <junit.version>4.13.2</junit.version>
  42. <lombok.version>1.18.24</lombok.version>
  43. </properties>
  44. <dependencies>
  45. <!-- 全局单元测试 -->
  46. <dependency>
  47. <groupId>junit</groupId>
  48. <artifactId>junit</artifactId>
  49. <version>${junit.version}</version>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.projectlombok</groupId>
  54. <artifactId>lombok</artifactId>
  55. <version>${lombok.version}</version>
  56. <scope>test</scope>
  57. </dependency>
  58. </dependencies>
  59. <issueManagement>
  60. <system>Github Issue</system>
  61. <url>https://github.com/dromara/hutool/issues</url>
  62. </issueManagement>
  63. <licenses>
  64. <license>
  65. <name>Mulan Permissive Software License,Version 2</name>
  66. <url>https://license.coscl.org.cn/MulanPSL2</url>
  67. </license>
  68. </licenses>
  69. <developers>
  70. <developer>
  71. <name>Looly</name>
  72. <email>loolly@gmail.com</email>
  73. </developer>
  74. </developers>
  75. <scm>
  76. <connection>scm:git@github.com:dromara/hutool.git</connection>
  77. <developerConnection>scm:git@github.com:dromara/hutool.git</developerConnection>
  78. <url>git@github.com:dromara/hutool.git</url>
  79. </scm>
  80. <build>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>3.8.1</version>
  86. <configuration>
  87. <source>${compile.version}</source>
  88. <target>${compile.version}</target>
  89. <compilerArgument>-Xlint:unchecked</compilerArgument>
  90. </configuration>
  91. </plugin>
  92. <!-- Javadoc -->
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-javadoc-plugin</artifactId>
  96. <version>3.4.0</version>
  97. <executions>
  98. <execution>
  99. <phase>package</phase>
  100. <goals>
  101. <goal>jar</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. <profiles>
  109. <profile>
  110. <id>release</id>
  111. <distributionManagement>
  112. <snapshotRepository>
  113. <id>oss</id>
  114. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  115. </snapshotRepository>
  116. <repository>
  117. <id>oss</id>
  118. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  119. </repository>
  120. </distributionManagement>
  121. <build>
  122. <plugins>
  123. <!-- Source -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-source-plugin</artifactId>
  127. <version>3.2.1</version>
  128. <executions>
  129. <execution>
  130. <id>oss</id>
  131. <phase>package</phase>
  132. <goals>
  133. <goal>jar-no-fork</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <!-- 测试覆盖度 -->
  139. <plugin>
  140. <groupId>org.codehaus.mojo</groupId>
  141. <artifactId>cobertura-maven-plugin</artifactId>
  142. <version>2.7</version>
  143. <configuration>
  144. <formats>
  145. <format>html</format>
  146. <format>xml</format>
  147. </formats>
  148. <check/>
  149. </configuration>
  150. </plugin>
  151. <!-- Gpg Signature -->
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-gpg-plugin</artifactId>
  155. <version>1.6</version>
  156. <executions>
  157. <execution>
  158. <id>oss</id>
  159. <phase>verify</phase>
  160. <goals>
  161. <goal>sign</goal>
  162. </goals>
  163. </execution>
  164. </executions>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.sonatype.plugins</groupId>
  168. <artifactId>nexus-staging-maven-plugin</artifactId>
  169. <version>1.6.8</version>
  170. <extensions>true</extensions>
  171. <configuration>
  172. <serverId>oss</serverId>
  173. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  174. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  175. </configuration>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </profile>
  180. </profiles>
  181. </project>