pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-job-task</artifactId>
  13. <name>snail-job-server-job-task</name>
  14. <description>snail-job-server-job-task</description>
  15. <packaging>jar</packaging>
  16. <properties>
  17. <maven.compiler.source>17</maven.compiler.source>
  18. <maven.compiler.target>17</maven.compiler.target>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <dependencies>
  22. <!-- preprocessor -->
  23. <dependency>
  24. <groupId>org.projectlombok</groupId>
  25. <artifactId>lombok</artifactId> <!-- !!! lombok goes BEFORE mapstruct -->
  26. </dependency>
  27. <dependency>
  28. <groupId>org.mapstruct</groupId>
  29. <artifactId>mapstruct</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.mapstruct</groupId>
  33. <artifactId>mapstruct-processor</artifactId>
  34. </dependency>
  35. <!-- springboot -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <!-- libs -->
  41. <dependency>
  42. <groupId>com.github.rholder</groupId>
  43. <artifactId>guava-retrying</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.googlecode.aviator</groupId>
  47. <artifactId>aviator</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>QLExpress</artifactId>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>commons-beanutils</groupId>
  55. <artifactId>commons-beanutils</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <!-- SnailJob -->
  60. <dependency>
  61. <groupId>com.aizuda</groupId>
  62. <artifactId>snail-job-server-common</artifactId>
  63. </dependency>
  64. <!-- 上报日志,采用logback打印,排除log4j2 -->
  65. <dependency>
  66. <groupId>com.aizuda</groupId>
  67. <artifactId>snail-job-common-log</artifactId>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-log4j2</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.aizuda</groupId>
  77. <artifactId>snail-job-common-model</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.aizuda</groupId>
  81. <artifactId>snail-job-datasource-template</artifactId>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <configuration>
  90. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  91. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  92. </configuration>
  93. <executions>
  94. <execution>
  95. <goals>
  96. <goal>repackage</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. </project>