pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <parent>
  6. <artifactId>recommend-feature</artifactId>
  7. <groupId>com.tzld.piaoquan</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>recommend-feature-client</artifactId>
  12. <version>1.1.33</version>
  13. <dependencies>
  14. <dependency>
  15. <groupId>it.unimi.dsi</groupId>
  16. <artifactId>fastutil</artifactId>
  17. <version>7.0.12</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>net.devh</groupId>
  21. <artifactId>grpc-client-spring-boot-starter</artifactId>
  22. <version>2.9.0.RELEASE</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.google.protobuf</groupId>
  26. <artifactId>protobuf-java</artifactId>
  27. <version>3.12.0</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <version>1.16.8</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.google.protobuf</groupId>
  36. <artifactId>protobuf-java-util</artifactId>
  37. <version>3.6.0</version>
  38. <exclusions>
  39. <exclusion>
  40. <artifactId>protobuf-java</artifactId>
  41. <groupId>com.google.protobuf</groupId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <extensions>
  48. <extension>
  49. <groupId>kr.motd.maven</groupId>
  50. <artifactId>os-maven-plugin</artifactId>
  51. <version>1.6.0</version>
  52. </extension>
  53. </extensions>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.xolstice.maven.plugins</groupId>
  57. <artifactId>protobuf-maven-plugin</artifactId>
  58. <version>0.6.1</version>
  59. <configuration>
  60. <protocExecutable>/opt/homebrew/bin/protoc</protocExecutable>
  61. <pluginId>grpc-java</pluginId>
  62. <pluginArtifact>
  63. io.grpc:protoc-gen-grpc-java:1.53.0:exe:${os.detected.classifier}
  64. </pluginArtifact>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>compile</goal>
  70. <goal>compile-custom</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <!-- 设置多个源文件夹 -->
  76. <plugin>
  77. <groupId>org.codehaus.mojo</groupId>
  78. <artifactId>build-helper-maven-plugin</artifactId>
  79. <version>3.0.0</version>
  80. <executions>
  81. <!-- 添加主源码目录 -->
  82. <execution>
  83. <id>add-source</id>
  84. <phase>generate-sources</phase>
  85. <goals>
  86. <goal>add-source</goal>
  87. </goals>
  88. <configuration>
  89. <sources>
  90. <source>${project.basedir}/src/main/java</source>
  91. </sources>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>