pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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.5.9</version>
  10. <name>hutool</name>
  11. <description>Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。</description>
  12. <url>https://github.com/looly/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. </modules>
  35. <properties>
  36. <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
  37. <project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
  38. <!-- versions -->
  39. <compile.version>8</compile.version>
  40. <junit.version>4.13.1</junit.version>
  41. <lombok.version>1.18.16</lombok.version>
  42. </properties>
  43. <dependencies>
  44. <!-- 全局单元测试 -->
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <version>${junit.version}</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <version>${lombok.version}</version>
  55. <scope>test</scope>
  56. </dependency>
  57. </dependencies>
  58. <issueManagement>
  59. <system>Github Issue</system>
  60. <url>https://github.com/looly/hutool/issues</url>
  61. </issueManagement>
  62. <licenses>
  63. <license>
  64. <name>Mulan Permissive Software License,Version 1</name>
  65. <url>http://license.coscl.org.cn/MulanPSL</url>
  66. </license>
  67. </licenses>
  68. <developers>
  69. <developer>
  70. <name>Looly</name>
  71. <email>loolly@gmail.com</email>
  72. </developer>
  73. </developers>
  74. <scm>
  75. <connection>scm:git@github.com:looly/hutool.git</connection>
  76. <developerConnection>scm:git@github.com:looly/hutool.git</developerConnection>
  77. <url>git@github.com:looly/hutool.git</url>
  78. </scm>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <version>3.8.1</version>
  85. <configuration>
  86. <source>${compile.version}</source>
  87. <target>${compile.version}</target>
  88. </configuration>
  89. </plugin>
  90. <!-- Javadoc -->
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-javadoc-plugin</artifactId>
  94. <version>3.1.1</version>
  95. <executions>
  96. <execution>
  97. <phase>package</phase>
  98. <goals>
  99. <goal>jar</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. <profiles>
  107. <profile>
  108. <id>release</id>
  109. <distributionManagement>
  110. <snapshotRepository>
  111. <id>oss</id>
  112. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  113. </snapshotRepository>
  114. <repository>
  115. <id>oss</id>
  116. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  117. </repository>
  118. </distributionManagement>
  119. <build>
  120. <plugins>
  121. <!-- Source -->
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-source-plugin</artifactId>
  125. <version>3.2.1</version>
  126. <executions>
  127. <execution>
  128. <id>oss</id>
  129. <phase>package</phase>
  130. <goals>
  131. <goal>jar-no-fork</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <!-- 测试覆盖度 -->
  137. <plugin>
  138. <groupId>org.codehaus.mojo</groupId>
  139. <artifactId>cobertura-maven-plugin</artifactId>
  140. <version>2.7</version>
  141. <configuration>
  142. <formats>
  143. <format>html</format>
  144. <format>xml</format>
  145. </formats>
  146. <check />
  147. </configuration>
  148. </plugin>
  149. <!-- Gpg Signature -->
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-gpg-plugin</artifactId>
  153. <version>1.6</version>
  154. <executions>
  155. <execution>
  156. <id>oss</id>
  157. <phase>verify</phase>
  158. <goals>
  159. <goal>sign</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.sonatype.plugins</groupId>
  166. <artifactId>nexus-staging-maven-plugin</artifactId>
  167. <version>1.6.8</version>
  168. <extensions>true</extensions>
  169. <configuration>
  170. <serverId>oss</serverId>
  171. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  172. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  173. </configuration>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </profile>
  178. </profiles>
  179. </project>