protobuf-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>dev.cookiecode</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.7.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2019 Maven Protocol Buffers Plugin Authors. All rights reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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"> <modelVersion>4.0.0</modelVersion> <groupId>dev.cookiecode</groupId> <artifactId>protobuf-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Maven Protocol Buffers Plugin</name> <version>0.7.1</version> <url>https://www.xolstice.org/protobuf-maven-plugin</url> <description>Maven Plugin that executes the Protocol Buffers (protoc) compiler</description> <inceptionYear>2016</inceptionYear> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- JDK version --> <java.sdk.version>1.8</java.sdk.version> <!-- Settings for the java compiler --> <java.compiler.compilerVersion>${java.sdk.version}</java.compiler.compilerVersion> <java.compiler.source>${java.sdk.version}</java.compiler.source> <java.compiler.target>${java.sdk.version}</java.compiler.target> <mavenVersion>3.3.9</mavenVersion> <plexusComponentVersion>2.1.0</plexusComponentVersion> <plexusUtilsVersion>3.3.0</plexusUtilsVersion> <pluginToolsVersion>3.6.0</pluginToolsVersion> <goalPrefix>protobuf</goalPrefix> </properties> <prerequisites> <maven>${mavenVersion}</maven> </prerequisites> <organization> <name>Maven Protocol Buffers Plugin Authors</name> <url>https://github.com/xolstice/protobuf-maven-plugin/blob/master/AUTHORS</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>sergei-ivanov</id> <name>Sergei Ivanov</name> <email>sergei@xolstice.org</email> <url>https://github.com/sergei-ivanov</url> <organization>Xolstice Ltd.</organization> <organizationUrl>https://www.xolstice.org</organizationUrl> <timezone>0</timezone> </developer> </developers> <scm> <url>https://github.com/sebastienvermeille/protobuf-maven-plugin</url> <connection>scm:git:git://github.com/sebastienvermeille/protobuf-maven-plugin.git</connection> <developerConnection>scm:git:ssh://git@github.com/sebastienvermeille/protobuf-maven-plugin.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <issueManagement> <system>Github</system> <url>https://github.com/sebastienvermeille/protobuf-maven-plugin/issues/</url> </issueManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-toolchains-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <version>${plexusComponentVersion}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.1</version> <configuration> <minmemory>128m</minmemory> <maxmemory>512m</maxmemory> <detectLinks>true</detectLinks> <show>package</show> <notimestamp>true</notimestamp> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.8.2</version> </plugin> <plugin> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.12</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <goals>deploy nexus-staging:release</goals> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0-M1</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-build-environment</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[${mavenVersion},)</version> </requireMavenVersion> <requireJavaVersion> <version>[${java.sdk.version},)</version> </requireJavaVersion> </rules> <fail>true</fail> </configuration> </execution> <execution> <id>enforce-dependency-convergence</id> <!-- Postpone the check until the verification phase in the lifecycle, in order to guarantee resolution of all dependencies, and to reduce the amount of logging in the early phases. --> <phase>verify</phase> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <dependencyConvergence> <!-- Make sure all direct and transitive dependencies converge to the same versions --> </dependencyConvergence> </rules> <!-- Generate warnings only --> <fail>false</fail> </configuration> </execution> <execution> <id>enforce-latest-dependency-versions</id> <!-- Postpone the check until the verification phase in the lifecycle, in order to guarantee resolution of all dependencies, and to reduce the amount of logging in the early phases. --> <phase>verify</phase> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireUpperBoundDeps> <!-- Make sure that the latest of available dependency versions is selected --> </requireUpperBoundDeps> </rules> <!-- Generate warnings only --> <fail>false</fail> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-toolchains-plugin</artifactId> <inherited>true</inherited> <executions> <execution> <id>default-toolchain</id> <phase>validate</phase> <goals> <goal>toolchain</goal> </goals> </execution> </executions> <configuration> <toolchains> <jdk> <version>[${java.sdk.version},)</version> </jdk> </toolchains> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <mojoDependencies /> <goalPrefix>${goalPrefix}</goalPrefix> </configuration> <executions> <execution> <id>default-descriptor</id> <phase>process-classes</phase> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>generate-helpmojo</id> <goals> <goal>helpmojo</goal> </goals> <configuration> <helpPackageName>org.xolstice.maven.plugin.protobuf</helpPackageName> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> <executions> <execution> <goals> <goal>generate-metadata</goal> <goal>generate-test-metadata</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <fork>true</fork> <compilerVersion>${java.compiler.compilerVersion}</compilerVersion> <source>${java.compiler.source}</source> <target>${java.compiler.target}</target> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <compilerArgument>-Xlint:all</compilerArgument> <testCompilerArgument>-Xlint:all</testCompilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <!-- Override the default release settings from the Super-POM --> <configuration> <!-- Suppress the default release profile from Maven Super-POM --> <useReleaseProfile>false</useReleaseProfile> <!-- Release profile that will be activated by release:perform --> <releaseProfiles>release</releaseProfiles> <!-- Enforce integration tests during both release:prepare and release:perform --> <arguments>-P run-its</arguments> <!-- Not used in this project, but included for completeness --> <autoVersionSubmodules>true</autoVersionSubmodules> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <executions> <execution> <phase>verify</phase> <goals> <goal>display-dependency-updates</goal> <goal>display-plugin-updates</goal> <goal>display-property-updates</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <!-- Output the resolved tree of dependencies at the end of the build lifecycle --> <id>display-dependency-tree</id> <phase>verify</phase> <goals> <goal>tree</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <configuration> <skipDeploy>true</skipDeploy> </configuration> </plugin> <plugin> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <executions> <execution> <id>github-site</id> <goals> <goal>site</goal> </goals> <phase>site-deploy</phase> <configuration> <message>Create website for ${project.artifactId}-${project.version}</message> <merge>false</merge> <noJekyll>true</noJekyll> <server>github</server> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> <configuration> <dependencyDetailsEnabled>false</dependencyDetailsEnabled> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> <configuration> <mojoDependencies /> <goalPrefix>${goalPrefix}</goalPrefix> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.1</version> <configuration> <minmemory>128m</minmemory> <maxmemory>512m</maxmemory> <detectLinks>true</detectLinks> <show>package</show> <notimestamp>true</notimestamp> </configuration> <reportSets> <reportSet> <reports> <report>javadoc-no-fork</report> </reports> </reportSet> </reportSets> </plugin> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.3</version> </plugin> --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.7</version> <reportSets> <reportSet> <reports> <report>dependency-updates-report</report> <report>plugin-updates-report</report> <report>property-updates-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.12.1</version> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <profiles> <profile> <!-- A separate profile to optionally enable integration tests (beware that they can be very time and resource-consuming). It is forcibly activated when running the release goals. --> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.2.1</version> <configuration> <debug>false</debug> <projectsDirectory>src/it</projectsDirectory> <pomIncludes> <pomInclude>*/pom.xml</pomInclude> </pomIncludes> <pomExcludes> <pomExclude>dependencies/pom.xml</pomExclude> </pomExcludes> <setupIncludes> <setupInclude>setup*/pom.xml</setupInclude> </setupIncludes> <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <settingsFile>src/it/settings.xml</settingsFile> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <properties> <execProps>fromExecProps</execProps> </properties> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.2.1</version> </plugin> </plugins> </reporting> </profile> <profile> <!-- A separate set of executions to be performed when running the release goals. --> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${mavenVersion}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${pluginToolsVersion}</version> <exclusions> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>${plexusUtilsVersion}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> <version>${plexusComponentVersion}</version> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-build-api</artifactId> <version>0.0.7</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${mavenVersion}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${mavenVersion}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${mavenVersion}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </project>