pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.crunii.microservice</groupId>
  8. <artifactId>service-xxl-job</artifactId>
  9. <version>${micro.version}</version>
  10. </parent>
  11. <artifactId>service-job-executor</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>Example executor project for spring boot.</description>
  15. <url>https://www.xuxueli.com/</url>
  16. <properties>
  17. </properties>
  18. <dependencyManagement>
  19. <dependencies>
  20. <dependency>
  21. <!-- Import dependency management from Spring Boot (依赖管理:继承一些默认的依赖,工程需要依赖的jar包的管理,申明其他dependency的时候就不需要version) -->
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>${boot.dependencies.version}</version>
  25. <type>pom</type>
  26. <scope>import</scope>
  27. </dependency>
  28. </dependencies>
  29. </dependencyManagement>
  30. <dependencies>
  31. <!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
  32. <!-- <dependency>-->
  33. <!-- <groupId>org.springframework.boot</groupId>-->
  34. <!-- <artifactId>spring-boot-starter-web</artifactId>-->
  35. <!-- </dependency>-->
  36. <!-- <dependency>-->
  37. <!-- <groupId>org.springframework.boot</groupId>-->
  38. <!-- <artifactId>spring-boot-starter-test</artifactId>-->
  39. <!-- <scope>test</scope>-->
  40. <!-- </dependency>-->
  41. <!-- xxl-job-core -->
  42. <dependency>
  43. <groupId>com.crunii.microservice</groupId>
  44. <artifactId>xxl-job-core</artifactId>
  45. <version>${micro.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.justtoplay</groupId>
  49. <artifactId>xxl-job-plus</artifactId>
  50. <version>2.3.1-nacos2</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.crunii.microservice</groupId>
  54. <artifactId>service-match-api</artifactId>
  55. <version>${micro.version}</version>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <plugins>
  60. <!-- spring-boot-maven-plugin (提供了直接运行项目的插件:如果是通过parent方式继承spring-boot-starter-parent则不用此插件) -->
  61. <plugin>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-maven-plugin</artifactId>
  64. <version>${boot.dependencies.version}</version>
  65. <executions>
  66. <execution>
  67. <goals>
  68. <goal>repackage</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>