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

META-INF.maven.plugin.xml Maven / Gradle / Ivy

Go to download

Apache Pekko gRPC - Support for building streaming gRPC servers and clients on top of Pekko Streams.

The newest version!
<plugin 
xsi:schemaLocation="http://maven.apache.org/PLUGIN/1.0.0 http://maven.apache.org/xsd/plugin-1.0.0.xsd" xmlns="http://maven.apache.org/PLUGIN/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <version>1.1.1</version>
  <name>Apache Pekko gRPC</name>
  <description>Generate gRPC client and/or server code</description>
  <groupId>org.apache.pekko</groupId>
  <artifactId>pekko-grpc-maven-plugin</artifactId>
  <goalPrefix>pekko-grpc</goalPrefix>
  <mojos>
    <mojo>
      <goal>generate</goal>
      <description>Generate Apache Pekko gRPC model and service code</description>
      <implementation>org.apache.pekko.grpc.maven.GenerateMojo</implementation>
      <instantiationStrategy>singleton</instantiationStrategy>
      <threadSafe>true</threadSafe>
      <phase>generate-sources</phase>
      <parameters>
        <parameter>
          <name>project</name>
          <required>true</required>
          <editable>false</editable>
          <description>inject the project</description>
        </parameter>
        <parameter>
          <name>language</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>Generate java or scala code</description>
        </parameter>
        <parameter>
          <name>generateClient</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to generate client code</description>
        </parameter>
        <parameter>
          <name>generateServer</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to generate server code</description>
        </parameter>
        <parameter>
          <name>generatorSettings</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>extra settings to pass to the generators</description>
        </parameter>
        <parameter>
          <name>extraGenerators</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>extra generators to load</description>
        </parameter>
        <parameter>
          <name>protoPaths</name>
          <type>list</type>
          <required>false</required>
          <editable>true</editable>
          <description>Where to look for proto files</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>Where to write the generated files</description>
        </parameter>
        <parameter>
          <name>protocVersion</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>The proto compiler version</description>
        </parameter>
        <parameter>
          <name>includeStdTypes</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>
            If &quot;true&quot;, extract the included google.protobuf standard types and add them to protoc import path.
          </description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="" default-value="${project}"/>
        <language implementation="enum" default-value="JAVA">${pekko-grpc.language}</language>
        <generateClient implementation="boolean" default-value="true">${pekko-grpc.generate-client}</generateClient>
        <generateServer implementation="boolean" default-value="true">${pekko-grpc.generate-server}</generateServer>
        <generatorSettings implementation="java.util.List" default-value=""/>
        <extraGenerators implementation="java.util.List" default-value=""/>
        <protoPaths default-value="${project.basedir}/src/main/proto,${project.basedir}/src/main/protobuf">
          ${pekko-grpc.protoPaths}
        </protoPaths>
        <outputDirectory default-value="${project.build.directory}/generated-sources">
          ${pekko-grpc.outputDirectory}
        </outputDirectory>
        <protocVersion implementation="java.lang.String" default-value="-v3.25.5">${pekko-grpc.protoc-version}</protocVersion>
        <!-- checked synced by VersionSyncCheckPlugin -->
        <includeStdTypes implementation="boolean" default-value="false"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>test-generate</goal>
      <description>Generate test Apache Pekko gRPC model and service code</description>
      <implementation>org.apache.pekko.grpc.maven.TestGenerateMojo</implementation>
      <instantiationStrategy>singleton</instantiationStrategy>
      <threadSafe>true</threadSafe>
      <phase>generate-test-sources</phase>
      <parameters>
        <parameter>
          <name>project</name>
          <required>true</required>
          <editable>false</editable>
          <description>inject the project</description>
        </parameter>
        <parameter>
          <name>language</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>Generate java or scala code</description>
        </parameter>
        <parameter>
          <name>generateClient</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to generate client code</description>
        </parameter>
        <parameter>
          <name>generateServer</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to generate server code</description>
        </parameter>
        <parameter>
          <name>generatorSettings</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>extra settings to pass to the generators</description>
        </parameter>
        <parameter>
          <name>extraGenerators</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>extra generators to load</description>
        </parameter>
        <parameter>
          <name>protoPaths</name>
          <type>list</type>
          <required>false</required>
          <editable>true</editable>
          <description>Where to look for proto files</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>Where to write the generated files</description>
        </parameter>
        <parameter>
          <name>protocVersion</name>
          <type>string</type>
          <required>false</required>
          <editable>true</editable>
          <description>The proto compiler version</description>
        </parameter>
        <parameter>
          <name>includeStdTypes</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>
            If &quot;true&quot;, extract the included google.protobuf standard types and add them to protoc import path.
          </description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="" default-value="${project}"/>
        <language implementation="enum" default-value="JAVA">${pekko-grpc.language}</language>
        <generateClient implementation="boolean" default-value="true">${pekko-grpc.generate-client}</generateClient>
        <generateServer implementation="boolean" default-value="true">${pekko-grpc.generate-server}</generateServer>
        <generatorSettings implementation="java.util.List" default-value=""/>
        <extraGenerators implementation="java.util.List" default-value=""/>
        <protoPaths default-value="src/test/proto,src/test/protobuf">${pekko-grpc.protoPaths}</protoPaths>
        <outputDirectory default-value="target/generated-test-sources">${pekko-grpc.outputDirectory}</outputDirectory>
        <protocVersion implementation="java.lang.String" default-value="-v3.25.5">${pekko-grpc.protoc-version}</protocVersion>
        <!-- checked synced by VersionSyncCheckPlugin -->
        <includeStdTypes implementation="boolean" default-value="false"/>
      </configuration>
    </mojo>
  </mojos>
</plugin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy