pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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-common</artifactId>
  13. <name>snail-job-server-common</name>
  14. <description>snail-job-server-common</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. <optional>true</optional>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.mapstruct</groupId>
  25. <artifactId>mapstruct</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.mapstruct</groupId>
  29. <artifactId>mapstruct-processor</artifactId>
  30. </dependency>
  31. <!-- springboot -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-configuration-processor</artifactId>
  39. <optional>true</optional>
  40. </dependency>
  41. <!-- libs -->
  42. <dependency>
  43. <groupId>org.apache.pekko</groupId>
  44. <artifactId>pekko-actor-typed_2.13</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.pekko</groupId>
  48. <artifactId>pekko-actor-testkit-typed_2.13</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.google.guava</groupId>
  52. <artifactId>guava</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.netty</groupId>
  56. <artifactId>netty-codec-http</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.netty</groupId>
  60. <artifactId>netty-transport</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.perf4j</groupId>
  64. <artifactId>perf4j</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.squareup.okhttp3</groupId>
  68. <artifactId>okhttp</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.github.rholder</groupId>
  72. <artifactId>guava-retrying</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.scala-lang</groupId>
  76. <artifactId>scala-library</artifactId>
  77. </dependency>
  78. <!-- grpc -->
  79. <dependency>
  80. <groupId>io.grpc</groupId>
  81. <artifactId>grpc-netty-shaded</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.grpc</groupId>
  85. <artifactId>grpc-protobuf</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.grpc</groupId>
  89. <artifactId>grpc-stub</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.grpc</groupId>
  93. <artifactId>grpc-api</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.grpc</groupId>
  97. <artifactId>grpc-util</artifactId>
  98. </dependency>
  99. <!-- SnailJob -->
  100. <dependency>
  101. <groupId>com.aizuda</groupId>
  102. <artifactId>snail-job-common-core</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.aizuda</groupId>
  106. <artifactId>snail-job-common-log</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.aizuda</groupId>
  110. <artifactId>snail-job-common-model</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.aizuda</groupId>
  114. <artifactId>snail-job-datasource-template</artifactId>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <configuration>
  123. <mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法:为了解决Unable to find main class的问题 -->
  124. <classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
  125. </configuration>
  126. <executions>
  127. <execution>
  128. <goals>
  129. <goal>repackage</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>