物管理后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.9 KiB

  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.thing</groupId>
  8. <artifactId>common</artifactId>
  9. <version>5.1</version>
  10. </parent>
  11. <groupId>com.thing.common</groupId>
  12. <artifactId>data</artifactId>
  13. <packaging>jar</packaging>
  14. <name>ThingBI Server Common Data</name>
  15. <properties>
  16. <main.dir>${basedir}/../..</main.dir>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.projectlombok</groupId>
  21. <artifactId>lombok</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.github.xiaoymin</groupId>
  25. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.google.protobuf</groupId>
  29. <artifactId>protobuf-java</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.google.protobuf</groupId>
  33. <artifactId>protobuf-java-util</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.thing.common</groupId>
  37. <artifactId>util</artifactId>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <extensions>
  42. <extension>
  43. <groupId>kr.motd.maven</groupId>
  44. <artifactId>os-maven-plugin</artifactId>
  45. <version>1.5.0.Final</version>
  46. </extension>
  47. </extensions>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.xolstice.maven.plugins</groupId>
  51. <artifactId>protobuf-maven-plugin</artifactId>
  52. <version>0.5.0</version>
  53. <configuration>
  54. <!--
  55. The version of protoc must match protobuf-java. If you don't depend on
  56. protobuf-java directly, you will be transitively depending on the
  57. protobuf-java version that grpc depends on.
  58. -->
  59. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
  60. <pluginId>grpc-java</pluginId>
  61. <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.0:exe:${os.detected.classifier}</pluginArtifact>
  62. </configuration>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>compile</goal>
  67. <goal>compile-custom</goal>
  68. <goal>test-compile</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>