pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.aizuda</groupId>
  8. <artifactId>snail-job-server-dispatcher</artifactId>
  9. <version>${revision}</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <artifactId>snail-job-server-retry-task</artifactId>
  13. <name>snail-job-server-retry-task</name>
  14. <description>snail-job-server-retry-task</description>
  15. <packaging>jar</packaging>
  16. <dependencies>
  17. <!-- preprocessor -->
  18. <dependency>
  19. <groupId>org.projectlombok</groupId>
  20. <artifactId>lombok</artifactId> <!-- !!! lombok goes BEFORE mapstruct -->
  21. </dependency>
  22. <dependency>
  23. <groupId>org.mapstruct</groupId>
  24. <artifactId>mapstruct</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.mapstruct</groupId>
  28. <artifactId>mapstruct-processor</artifactId>
  29. </dependency>
  30. <!-- springboot -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <!-- libs -->
  36. <dependency>
  37. <groupId>com.github.rholder</groupId>
  38. <artifactId>guava-retrying</artifactId>
  39. </dependency>
  40. <!-- SnailJob -->
  41. <dependency>
  42. <groupId>com.aizuda</groupId>
  43. <artifactId>snail-job-server-common</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.aizuda</groupId>
  47. <artifactId>snail-job-datasource-template</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.aizuda</groupId>
  51. <artifactId>snail-job-common-model</artifactId>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. <configuration>
  60. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  61. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  62. </configuration>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>repackage</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>