pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.xuxueli</groupId>
  5. <artifactId>xxl-job</artifactId>
  6. <version>3.2.1-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <name>${project.artifactId}</name>
  9. <description>A distributed task scheduling framework.</description>
  10. <url>https://www.xuxueli.com/</url>
  11. <modules>
  12. <module>xxl-job-core</module>
  13. <module>xxl-job-admin</module>
  14. <module>xxl-job-executor-samples</module>
  15. </modules>
  16. <properties>
  17. <!-- env -->
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  21. <maven.compiler.source>17</maven.compiler.source>
  22. <maven.compiler.target>17</maven.compiler.target>
  23. <maven.test.skip>true</maven.test.skip>
  24. <!-- plugin -->
  25. <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
  26. <maven-javadoc-plugin.version>3.11.3</maven-javadoc-plugin.version>
  27. <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
  28. <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
  29. <!-- base -->
  30. <slf4j-api.version>2.0.17</slf4j-api.version>
  31. <junit-jupiter.version>5.13.4</junit-jupiter.version>
  32. <jakarta.annotation-api.version>3.0.0</jakarta.annotation-api.version>
  33. <!-- net -->
  34. <netty.version>4.2.4.Final</netty.version>
  35. <gson.version>2.13.1</gson.version>
  36. <!-- spring -->
  37. <spring-boot.version>3.5.4</spring-boot.version>
  38. <spring.version>6.2.10</spring.version>
  39. <!-- db -->
  40. <mybatis-spring-boot-starter.version>3.0.5</mybatis-spring-boot-starter.version>
  41. <mysql-connector-j.version>9.4.0</mysql-connector-j.version>
  42. <!-- dynamic language -->
  43. <groovy.version>4.0.28</groovy.version>
  44. <!-- xxl-sso (+xxl-tool、gson) -->
  45. <xxl-sso.version>2.0.0</xxl-sso.version>
  46. </properties>
  47. <build>
  48. <plugins>
  49. </plugins>
  50. </build>
  51. <licenses>
  52. <license>
  53. <name>GNU General Public License version 3</name>
  54. <url>https://opensource.org/licenses/GPL-3.0</url>
  55. </license>
  56. </licenses>
  57. <scm>
  58. <tag>master</tag>
  59. <url>https://github.com/xuxueli/xxl-job.git</url>
  60. <connection>scm:git:https://github.com/xuxueli/xxl-job.git</connection>
  61. <developerConnection>scm:git:git@github.com:xuxueli/xxl-job.git</developerConnection>
  62. </scm>
  63. <developers>
  64. <developer>
  65. <id>XXL</id>
  66. <name>xuxueli</name>
  67. <email>931591021@qq.com</email>
  68. <url>https://github.com/xuxueli</url>
  69. </developer>
  70. </developers>
  71. <profiles>
  72. <profile>
  73. <id>release</id>
  74. <activation>
  75. <activeByDefault>true</activeByDefault>
  76. </activation>
  77. <modules>
  78. <module>xxl-job-core</module>
  79. </modules>
  80. <build>
  81. <plugins>
  82. <!-- Source -->
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-source-plugin</artifactId>
  86. <version>${maven-source-plugin.version}</version>
  87. <executions>
  88. <execution>
  89. <phase>package</phase>
  90. <goals>
  91. <goal>jar-no-fork</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <!-- Javadoc -->
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-javadoc-plugin</artifactId>
  100. <version>${maven-javadoc-plugin.version}</version>
  101. <executions>
  102. <execution>
  103. <phase>package</phase>
  104. <goals>
  105. <goal>jar</goal>
  106. </goals>
  107. <configuration>
  108. <doclint>none</doclint>
  109. </configuration>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <!-- GPG -->
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-gpg-plugin</artifactId>
  117. <version>${maven-gpg-plugin.version}</version>
  118. <configuration>
  119. <useAgent>false</useAgent>
  120. </configuration>
  121. <executions>
  122. <execution>
  123. <phase>verify</phase>
  124. <goals>
  125. <goal>sign</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <!-- maven central -->
  131. <plugin>
  132. <groupId>org.sonatype.central</groupId>
  133. <artifactId>central-publishing-maven-plugin</artifactId>
  134. <version>${central-publishing-maven-plugin.version}</version>
  135. <extensions>true</extensions>
  136. <configuration>
  137. <publishingServerId>central</publishingServerId>
  138. <excludeArtifacts>
  139. <artifact>xxl-job-admin</artifact>
  140. <artifact>xxl-job-executor-samples</artifact>
  141. <artifact>xxl-job-executor-sample-frameless</artifact>
  142. <artifact>xxl-job-executor-sample-springboot</artifact>
  143. <artifact>xxl-job-executor-sample-springboot-ai</artifact>
  144. </excludeArtifacts>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </profile>
  150. </profiles>
  151. </project>