pom.xml 4.9 KB

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