pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. <parent>
  5. <artifactId>jnpf-scheduletask-starter</artifactId>
  6. <groupId>com.jnpf</groupId>
  7. <version>6.0.0-RELEASE</version>
  8. </parent>
  9. <artifactId>xxl-job-core</artifactId>
  10. <packaging>jar</packaging>
  11. <name>${project.artifactId}</name>
  12. <description>A distributed task scheduling framework.</description>
  13. <url>https://www.xuxueli.com/</url>
  14. <properties>
  15. <netty.version>4.1.117.Final</netty.version>
  16. <gson.version>2.12.1</gson.version>
  17. <groovy.version>4.0.25</groovy.version>
  18. </properties>
  19. <dependencies>
  20. <!-- ********************** embed server: netty + gson ********************** -->
  21. <dependency>
  22. <groupId>io.netty</groupId>
  23. <artifactId>netty-codec-http</artifactId>
  24. <version>${netty.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.google.code.gson</groupId>
  28. <artifactId>gson</artifactId>
  29. <version>${gson.version}</version>
  30. </dependency>
  31. <!-- ********************** plugin ********************** -->
  32. <!-- groovy-all -->
  33. <dependency>
  34. <groupId>org.apache.groovy</groupId>
  35. <artifactId>groovy</artifactId>
  36. <version>${groovy.version}</version>
  37. </dependency>
  38. <!-- spring-context -->
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-context</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <!-- ********************** base ********************** -->
  45. <!-- slf4j -->
  46. <dependency>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>slf4j-api</artifactId>
  49. </dependency>
  50. </dependencies>
  51. <profiles>
  52. <profile>
  53. <id>boot3</id>
  54. <activation>
  55. <jdk>[17,)</jdk>
  56. </activation>
  57. <properties>
  58. <servlet.annotation-api.version>2.1.1</servlet.annotation-api.version>
  59. </properties>
  60. <dependencies>
  61. <!-- jakarta.annotation-api -->
  62. <dependency>
  63. <groupId>jakarta.annotation</groupId>
  64. <artifactId>jakarta.annotation-api</artifactId>
  65. <version>${servlet.annotation-api.version}</version>
  66. <scope>provided</scope>
  67. </dependency>
  68. </dependencies>
  69. </profile>
  70. <profile>
  71. <id>boot2</id>
  72. <activation>
  73. <jdk>(,17)</jdk>
  74. </activation>
  75. <properties>
  76. <servlet.annotation-api.version>1.3.2</servlet.annotation-api.version>
  77. </properties>
  78. <dependencies>
  79. <!-- javax.annotation-api -->
  80. <dependency>
  81. <groupId>javax.annotation</groupId>
  82. <artifactId>javax.annotation-api</artifactId>
  83. <version>${servlet.annotation-api.version}</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. </dependencies>
  87. </profile>
  88. </profiles>
  89. </project>