pom.xml 5.1 KB

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