pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.aizuda</groupId>
  7. <artifactId>snail-job-common</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>snail-job-common-core</artifactId>
  12. <name>snail-job-common-core</name>
  13. <description>snail-job-common-core</description>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <java.version>17</java.version>
  17. <maven.compiler.source>17</maven.compiler.source>
  18. <maven.compiler.target>17</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <!-- preprocessor -->
  22. <dependency>
  23. <groupId>org.projectlombok</groupId>
  24. <artifactId>lombok</artifactId>
  25. <optional>true</optional>
  26. </dependency>
  27. <!-- springboot -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <!-- libs -->
  34. <dependency>
  35. <groupId>cn.hutool</groupId>
  36. <artifactId>hutool-http</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>jakarta.validation</groupId>
  40. <artifactId>jakarta.validation-api</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>jakarta.mail</groupId>
  44. <artifactId>jakarta.mail-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.eclipse.angus</groupId>
  48. <artifactId>jakarta.mail</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.googlecode.aviator</groupId>
  52. <artifactId>aviator</artifactId>
  53. <scope>provided</scope>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>QLExpress</artifactId>
  59. <scope>provided</scope>
  60. <optional>true</optional>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.netty</groupId>
  64. <artifactId>netty-common</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.grpc</groupId>
  68. <artifactId>grpc-protobuf</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.grpc</groupId>
  72. <artifactId>grpc-stub</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.google.protobuf</groupId>
  76. <artifactId>protobuf-java</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.google.api.grpc</groupId>
  80. <artifactId>proto-google-common-protos</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.fury</groupId>
  84. <artifactId>fury-core</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.github.luben</groupId>
  88. <artifactId>zstd-jni</artifactId>
  89. </dependency>
  90. <!-- SnailJob -->
  91. <dependency>
  92. <groupId>com.aizuda</groupId>
  93. <artifactId>snail-job-common-log</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-configuration-processor</artifactId>
  98. <optional>true</optional>
  99. </dependency>
  100. </dependencies>
  101. <build>
  102. <extensions>
  103. <extension>
  104. <groupId>kr.motd.maven</groupId>
  105. <artifactId>os-maven-plugin</artifactId>
  106. <version>1.6.2</version>
  107. </extension>
  108. </extensions>
  109. <plugins>
  110. <!-- reuse when you need to update grpc model -->
  111. <!-- <plugin>-->
  112. <!-- <groupId>org.xolstice.maven.plugins</groupId>-->
  113. <!-- <artifactId>protobuf-maven-plugin</artifactId>-->
  114. <!-- <version>0.6.1</version>-->
  115. <!-- <configuration>-->
  116. <!-- <protocArtifact>com.google.protobuf:protoc:${protobuf-java.version}:exe:${os.detected.classifier}</protocArtifact>-->
  117. <!-- <pluginId>grpc-java</pluginId>-->
  118. <!-- <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc-java.version}:exe:${os.detected.classifier}</pluginArtifact>-->
  119. <!-- <protoSourceRoot>${project.basedir}/src/main/proto</protoSourceRoot>-->
  120. <!-- <clearOutputDirectory>false</clearOutputDirectory>-->
  121. <!-- &lt;!&ndash;通过插件生成的协议代码存放地址&ndash;&gt;-->
  122. <!-- <outputDirectory>${basedir}/src/main/java</outputDirectory>-->
  123. <!-- </configuration>-->
  124. <!-- <executions>-->
  125. <!-- <execution>-->
  126. <!-- <goals>-->
  127. <!-- <goal>compile</goal>-->
  128. <!-- <goal>compile-custom</goal>-->
  129. <!-- </goals>-->
  130. <!-- </execution>-->
  131. <!-- </executions>-->
  132. <!-- </plugin>-->
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. <configuration>
  137. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  138. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  139. </configuration>
  140. <executions>
  141. <execution>
  142. <goals>
  143. <goal>repackage</goal>
  144. </goals>
  145. </execution>
  146. </executions>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>