All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.org.apache.rocketmq.rocketmq-proto.pom.xml Maven / Gradle / Ivy

There is a newer version: 2.0.7.Final
Show newest version
<?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>rocketmq-java</artifactId>  
    <groupId>org.apache.rocketmq</groupId>  
    <version>5.0.0-alpha7</version> 
  </parent>  
  <modelVersion>4.0.0</modelVersion>  
  <artifactId>rocketmq-proto</artifactId>  
  <properties> 
    <maven.compiler.release>8</maven.compiler.release>  
    <project.root>${basedir}/..</project.root> 
  </properties>  
  <dependencies> 
    <dependency> 
      <groupId>io.grpc</groupId>  
      <artifactId>grpc-netty-shaded</artifactId> 
    </dependency>  
    <dependency> 
      <groupId>io.grpc</groupId>  
      <artifactId>grpc-protobuf</artifactId> 
    </dependency>  
    <dependency> 
      <groupId>io.grpc</groupId>  
      <artifactId>grpc-stub</artifactId> 
    </dependency>  
    <dependency> 
      <groupId>com.google.protobuf</groupId>  
      <artifactId>protobuf-java</artifactId> 
    </dependency>  
    <!-- For jdk11 -->  
    <dependency> 
      <groupId>javax.annotation</groupId>  
      <artifactId>javax.annotation-api</artifactId> 
    </dependency> 
  </dependencies>  
  <profiles> 
    <profile> 
      <id>protoc-gen</id>  
      <activation> 
        <activeByDefault>false</activeByDefault> 
      </activation>  
      <build> 
        <plugins> 
          <plugin> 
            <groupId>org.xolstice.maven.plugins</groupId>  
            <artifactId>protobuf-maven-plugin</artifactId>  
            <version>${protobuf-maven-plugin.version}</version>  
            <configuration> 
              <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>  
              <pluginId>grpc-java</pluginId>  
              <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>  
              <protoSourceRoot>${basedir}/src/main/resources/proto</protoSourceRoot>  
              <outputDirectory>${basedir}/src/main/java</outputDirectory>  
              <clearOutputDirectory>false</clearOutputDirectory> 
            </configuration>  
            <executions> 
              <execution> 
                <goals> 
                  <goal>compile</goal>  
                  <goal>compile-custom</goal> 
                </goals> 
              </execution> 
            </executions> 
          </plugin> 
        </plugins> 
      </build> 
    </profile> 
  </profiles>  
  <build> 
    <extensions> 
      <extension> 
        <groupId>kr.motd.maven</groupId>  
        <artifactId>os-maven-plugin</artifactId>  
        <version>${os-maven-plugin.version}</version> 
      </extension> 
    </extensions> 
  </build>  
  <contributors><contributor><properties><provider>[email protected]</provider><codeName>rocketmq-java-client</codeName><codeUrl>['[email protected]:rocketmq-client/rocketmq-java.git']@['commit e15fb4f85ebcf998d15024535a48a63d5d73c91c']</codeUrl><description>contributors added by SCM Plugin, please don't modify it!</description></properties></contributor></contributors>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy