pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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>com.github.zuihou</groupId>
  7. <artifactId>imcs-jobs</artifactId>
  8. <version>b.2.5-SNAPSHOT</version>
  9. <relativePath>../</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>imcs-jobs-server</artifactId>
  13. <name>${project.artifactId}</name>
  14. <description>定时服务启动模块</description>
  15. <dependencies>
  16. <!-- 单机版jobs,请打开该依赖,然后无需启动zuihou-executor-server -->
  17. <dependency>
  18. <groupId>com.github.zuihou</groupId>
  19. <artifactId>imcs-executor</artifactId>
  20. <version>${imcs-project.version}</version>
  21. </dependency>
  22. <!-- xxl-job-core -->
  23. <dependency>
  24. <groupId>com.github.zuihou</groupId>
  25. <artifactId>imcs-jobs-core</artifactId>
  26. <version>${imcs-project.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.github.zuihou</groupId>
  30. <artifactId>zuihou-databases</artifactId>
  31. <version>${imcs-commons.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.github.zuihou</groupId>
  35. <artifactId>zuihou-log-starter</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-context</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.github.zuihou</groupId>
  43. <artifactId>zuihou-j2cache-starter</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-web</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.apache.tomcat.embed</groupId>
  51. <artifactId>tomcat-embed-websocket</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-tomcat</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-undertow</artifactId>
  62. </dependency>
  63. <!-- freemarker-starter -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-freemarker</artifactId>
  67. </dependency>
  68. <!-- 持久层相关 -->
  69. <dependency>
  70. <groupId>com.baomidou</groupId>
  71. <artifactId>mybatis-plus-boot-starter</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>druid-spring-boot-starter</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>mysql</groupId>
  79. <artifactId>mysql-connector-java</artifactId>
  80. </dependency>
  81. <!-- commons-collections4 -->
  82. <dependency>
  83. <groupId>org.apache.commons</groupId>
  84. <artifactId>commons-collections4</artifactId>
  85. </dependency>
  86. <!-- commons-lang3 -->
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-lang3</artifactId>
  90. </dependency>
  91. <!-- commons-email -->
  92. <dependency>
  93. <groupId>org.apache.commons</groupId>
  94. <artifactId>commons-email</artifactId>
  95. </dependency>
  96. <!-- quartz :quartz-2.2.3/c3p0-0.9.1.1/slf4j-api-1.6.6 -->
  97. <dependency>
  98. <groupId>org.quartz-scheduler</groupId>
  99. <artifactId>quartz</artifactId>
  100. </dependency>
  101. <!-- 测试 -->
  102. <dependency>
  103. <groupId>junit</groupId>
  104. <artifactId>junit</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-test</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. </dependencies>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <configuration>
  118. <executable>true</executable>
  119. </configuration>
  120. </plugin>
  121. <!-- docker打包插件 -->
  122. <plugin>
  123. <groupId>com.spotify</groupId>
  124. <artifactId>dockerfile-maven-plugin</artifactId>
  125. <version>${dockerfile-maven-plugin.version}</version>
  126. <configuration>
  127. <repository>${docker.image.prefix}/${project.artifactId}</repository>
  128. <tag>${imcs-project.version}</tag>
  129. <buildArgs>
  130. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  131. </buildArgs>
  132. </configuration>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>