pom.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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-interface</artifactId>
  9. <version>${revision}</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <artifactId>snail-job-server-openapi</artifactId>
  13. <name>snail-job-server-openapi</name>
  14. <description>snail-job-server-openapi</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. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-validation</artifactId>
  38. </dependency>
  39. <!-- libs -->
  40. <dependency>
  41. <groupId>com.auth0</groupId>
  42. <artifactId>java-jwt</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>cn.hutool</groupId>
  46. <artifactId>hutool-crypto</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.aizuda</groupId>
  50. <artifactId>snail-job-server-service</artifactId>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <configuration>
  59. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  60. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  61. </configuration>
  62. <executions>
  63. <execution>
  64. <goals>
  65. <goal>repackage</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </project>