maven-gpg-plugin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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> <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> <version>43</version> <relativePath /> </parent> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> <packaging>maven-plugin</packaging> <name>Apache Maven GPG Plugin</name> <description>Signs the project artifacts with GnuPG.</description> <prerequisites> <maven>3.6.3</maven> </prerequisites> <scm> <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git</connection> <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git</developerConnection> <tag>maven-gpg-plugin-3.2.7</tag> <url>https://github.com/apache/maven-gpg-plugin/tree/${project.scm.tag}</url> </scm> <issueManagement> <system>jira</system> <url>https://issues.apache.org/jira/browse/MGPG</url> </issueManagement> <ciManagement> <system>Jenkins</system> <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-gpg-plugin/</url> </ciManagement> <distributionManagement> <site> <id>apache.website</id> <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> </site> </distributionManagement> <properties> <javaVersion>8</javaVersion> <mavenVersion>3.9.9</mavenVersion> <resolverVersion>1.9.22</resolverVersion> <bouncycastleVersion>1.78.1</bouncycastleVersion> <project.build.outputTimestamp>2024-09-24T13:00:59Z</project.build.outputTimestamp> <resource.delimiter>@</resource.delimiter> </properties> <dependencies> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model-builder</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings-builder</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-api</artifactId> <version>${resolverVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-util</artifactId> <version>${resolverVersion}</version> <!-- This is needed to be in compile to work with Maven pre 3.9 --> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpg-jdk18on</artifactId> <version>${bouncycastleVersion}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> <version>${bouncycastleVersion}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcutil-jdk18on</artifactId> <version>${bouncycastleVersion}</version> </dependency> <dependency> <groupId>com.kohlschutter.junixsocket</groupId> <artifactId>junixsocket-core</artifactId> <version>2.10.1</version> <type>pom</type> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-invoker</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-utils</artifactId> <version>3.4.2</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.17.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-impl</artifactId> <version>${resolverVersion}</version> <scope>test</scope> </dependency> </dependencies> <build> <testResources> <testResource> <filtering>true</filtering> <directory>${basedir}/src/test/resources</directory> <includes> <include>**/pom.xml</include> <include>**/settings.xml</include> </includes> </testResource> <testResource> <directory>${basedir}/src/test/resources</directory> <excludes> <exclude>**/pom.xml</exclude> <exclude>**/settings.xml</exclude> </excludes> </testResource> </testResources> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <proc>none</proc> <showDeprecation>true</showDeprecation> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes combine.children="append"> <!-- rat is too cheeky, ignore these resources --> <exclude>src/test/resources/**</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.8.0</version> </plugin> <plugin> <groupId>org.simplify4u.plugins</groupId> <artifactId>pgpverify-maven-plugin</artifactId> <version>1.18.2</version> <configuration> <keysMapLocation>${project.basedir}/pgp-keys-map.list</keysMapLocation> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.simplify4u.plugins</groupId> <artifactId>pgpverify-maven-plugin</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <settingsFile>src/it/settings.xml</settingsFile> <pomIncludes> <pomInclude>*</pomInclude> </pomIncludes> <pomExcludes> <!-- not supported with gpg 2.1+ --> <pomExclude>alternative-secret-keyring</pomExclude> </pomExcludes> <goals> <goal>clean</goal> <goal>install</goal> </goals> </configuration> <executions> <execution> <id>integration-test</id> <phase>none</phase> </execution> <execution> <id>integration-test-install</id> <goals> <goal>install</goal> </goals> <phase>integration-test</phase> </execution> <execution> <id>gpg-integration-tests</id> <goals> <goal>run</goal> </goals> <phase>integration-test</phase> <configuration> <properties> <gpg.signer>gpg</gpg.signer> <gpg.homedir>${project.build.testOutputDirectory}/gnupg</gpg.homedir> </properties> </configuration> </execution> <execution> <id>bc-integration-tests</id> <goals> <goal>run</goal> </goals> <phase>integration-test</phase> <configuration> <properties> <gpg.signer>bc</gpg.signer> <!-- must be absolute --> <gpg.keyFilePath>${project.basedir}/src/test/resources/signing-key.asc</gpg.keyFilePath> </properties> </configuration> </execution> </executions> </plugin> <plugin> <!-- this failsafe invocation depends on invoker:install above --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <environmentVariables> <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED> </environmentVariables> <systemPropertyVariables> <maven.home>${maven.home}</maven.home> <https.protocols>${https.protocols}</https.protocols> <gpg.homedir>${project.build.testOutputDirectory}/gnupg</gpg.homedir> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <settingsFile>/it/settings.xml</settingsFile> </systemPropertyVariables> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>