pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>cn.superdesk.uniorder</groupId>
  7. <artifactId>superdesk-operation-center</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>superdesk-uniorder-xxl-job-admin</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. <maven.test.skip>true</maven.test.skip>
  19. <netty-all.version>4.1.63.Final</netty-all.version>
  20. <gson.version>2.8.6</gson.version>
  21. <spring.version>5.3.6</spring.version>
  22. <spring-boot.version>2.4.5</spring-boot.version>
  23. <mybatis-spring-boot-starter.version>2.1.4</mybatis-spring-boot-starter.version>
  24. <mysql-connector-java.version>8.0.24</mysql-connector-java.version>
  25. <slf4j-api.version>1.7.30</slf4j-api.version>
  26. <junit-jupiter.version>5.7.1</junit-jupiter.version>
  27. <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
  28. <groovy.version>3.0.8</groovy.version>
  29. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  30. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  31. <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
  32. <maven-war-plugin.version>3.3.1</maven-war-plugin.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-parent</artifactId>
  39. <version>${spring-boot.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. </dependencies>
  44. </dependencyManagement>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. </dependency>
  50. <!-- starter-test:junit + spring-test + mockito -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <!-- freemarker-starter -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-freemarker</artifactId>
  60. </dependency>
  61. <!-- mail-starter -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-mail</artifactId>
  65. </dependency>
  66. <!-- starter-actuator -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-actuator</artifactId>
  70. </dependency>
  71. <!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
  72. <dependency>
  73. <groupId>org.mybatis.spring.boot</groupId>
  74. <artifactId>mybatis-spring-boot-starter</artifactId>
  75. <version>${mybatis-spring-boot-starter.version}</version>
  76. </dependency>
  77. <!-- mysql -->
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. <version>${mysql-connector-java.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.xuxueli</groupId>
  85. <artifactId>xxl-job-core</artifactId>
  86. <version>${xxl-job.version}</version>
  87. </dependency>
  88. <!-- <dependency>-->
  89. <!-- <groupId>cn.superdesk.app</groupId>-->
  90. <!-- <artifactId>superdesk-app-services-cronjobadmin</artifactId>-->
  91. <!-- <version>2.0.0-SNAPSHOT</version>-->
  92. <!-- </dependency>-->
  93. </dependencies>
  94. <build>
  95. <finalName>${project.artifactId}</finalName>
  96. <resources>
  97. <resource>
  98. <directory>src/main/resources</directory>
  99. <includes>
  100. <include>static/**</include>
  101. <include>templates/**</include>
  102. <include>*.properties</include>
  103. <include>*.xml</include>
  104. <include>**/*.properties</include>
  105. <include>**/*.xml</include>
  106. </includes>
  107. <filtering>false</filtering>
  108. </resource>
  109. </resources>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-deploy-plugin</artifactId>
  114. <configuration>
  115. <skip>true</skip>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-install-plugin</artifactId>
  121. <configuration>
  122. <skip>true</skip>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>repackage</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>