pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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.5-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>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. <verbose>true</verbose>
  82. </configuration>
  83. </plugin>
  84. <!-- Javadoc -->
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-javadoc-plugin</artifactId>
  88. <version>3.1.1</version>
  89. <executions>
  90. <execution>
  91. <phase>package</phase>
  92. <goals>
  93. <goal>jar</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. <profiles>
  101. <profile>
  102. <id>release</id>
  103. <distributionManagement>
  104. <snapshotRepository>
  105. <id>oss</id>
  106. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  107. </snapshotRepository>
  108. <repository>
  109. <id>oss</id>
  110. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  111. </repository>
  112. </distributionManagement>
  113. <build>
  114. <plugins>
  115. <!-- Source -->
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-source-plugin</artifactId>
  119. <version>3.1.0</version>
  120. <executions>
  121. <execution>
  122. <id>oss</id>
  123. <phase>package</phase>
  124. <goals>
  125. <goal>jar-no-fork</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.codehaus.mojo</groupId>
  132. <artifactId>cobertura-maven-plugin</artifactId>
  133. <version>2.7</version>
  134. <configuration>
  135. <formats>
  136. <format>html</format>
  137. <format>xml</format>
  138. </formats>
  139. <check />
  140. </configuration>
  141. </plugin>
  142. <!-- Gpg Signature -->
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-gpg-plugin</artifactId>
  146. <version>1.6</version>
  147. <executions>
  148. <execution>
  149. <id>oss</id>
  150. <phase>verify</phase>
  151. <goals>
  152. <goal>sign</goal>
  153. </goals>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.sonatype.plugins</groupId>
  159. <artifactId>nexus-staging-maven-plugin</artifactId>
  160. <version>1.6.8</version>
  161. <extensions>true</extensions>
  162. <configuration>
  163. <serverId>oss</serverId>
  164. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  165. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  166. </configuration>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </profile>
  171. </profiles>
  172. </project>