<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>dubheplatform</artifactId> <groupId>zhejianglab</groupId> <version>1.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>dubhe-serving</artifactId> <name>云端serving</name> <dependencies> <dependency> <groupId>zhejianglab</groupId> <artifactId>common</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>zhejianglab</groupId> <artifactId>dubhe-model</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId>zhejianglab</groupId> <artifactId>common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>zhejianglab</groupId> <artifactId>dubhe-k8s</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId>zhejianglab</groupId> <artifactId>common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>zhejianglab</groupId> <artifactId>dubhe-system</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId>zhejianglab</groupId> <artifactId>common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-netty-shaded</artifactId> <version>1.32.1</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-protobuf</artifactId> <version>1.32.1</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-stub</artifactId> <version>1.32.1</version> </dependency> <dependency> <!-- necessary for Java 9+ --> <groupId>org.apache.tomcat</groupId> <artifactId>annotations-api</artifactId> <version>6.0.53</version> <scope>provided</scope> </dependency> <!--rabbitmq相关依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> </dependencies> <build> <extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.6.2</version> </extension> </extensions> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.6.1</version> <configuration> <protocArtifact>com.google.protobuf:protoc:3.12.0:exe:${os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.32.1:exe:${os.detected.classifier}</pluginArtifact> </configuration> <executions> <execution> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>