<?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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>maven-plugins</artifactId>
    <groupId>org.apache.maven.plugins</groupId>
    <version>34</version>
    <relativePath>pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>maven-gpg-plugin</artifactId>
  <packaging>maven-plugin</packaging>
  <name>Apache Maven GPG Plugin</name>
  <version>3.0.0-SNAPSHOT</version>
  <description>Signs the project artifacts with GnuPG.</description>
  <prerequisites>
    <maven>${mavenVersion}</maven>
  </prerequisites>
  <issueManagement>
    <system>jira</system>
    <url>https://issues.apache.org/jira/browse/MGPG</url>
  </issueManagement>
  <ciManagement>
    <system>Jenkins</system>
    <url>https://builds.apache.org/job/maven-box/job/maven-gpg-plugin/</url>
  </ciManagement>
  <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>
    <url>https://github.com/apache/maven-gpg-plugin/tree/${project.scm.tag}</url>
  </scm>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.rat</groupId>
          <artifactId>apache-rat-plugin</artifactId>
          <configuration>
            <excludes>
              <exclude>src/test/resources/gnupg/*</exclude>
            </excludes>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.2</version>
        <executions>
          <execution>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>org.apache.maven.resolver:maven-resolver-util</include>
                  <include>org.sonatype.aether:aether-util</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>org.apache.maven.resolver:maven-resolver-util</artifact>
                  <includes>
                    <include>org/eclipse/aether/util/artifact/SubArtifact.class</include>
                  </includes>
                </filter>
                <filter>
                  <artifact>org.sonatype.aether:aether-util</artifact>
                  <includes>
                    <include>org/sonatype/aether/util/artifact/SubArtifact.class</include>
                  </includes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>run-its</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-invoker-plugin</artifactId>
            <version>3.2.1</version>
            <executions>
              <execution>
                <id>integration-test</id>
                <goals>
                  <goal>install</goal>
                  <goal>integration-test</goal>
                  <goal>verify</goal>
                </goals>
                <configuration>
                  <settingsFile>src/it/settings.xml</settingsFile>
                  <pomIncludes>
                    <pomInclude>*</pomInclude>
                  </pomIncludes>
                  <pomExcludes>
                    <pomExclude>alternative-secret-keyring</pomExclude>
                  </pomExcludes>
                  <goals>
                    <goal>clean</goal>
                    <goal>install</goal>
                  </goals>
                  <properties>
                    <gpg.homedir>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/test-classes/gnupg</gpg.homedir>
                    <maven.compiler.source>1.7</maven.compiler.source>
                    <maven.compiler.target>1.7</maven.compiler.target>
                    <https.protocols>${https.protocols}</https.protocols>
                  </properties>
                  <debug>true</debug>
                  <projectsDirectory>src/it</projectsDirectory>
                  <cloneProjectsTo>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/it</cloneProjectsTo>
                  <preBuildHookScript>setup</preBuildHookScript>
                  <postBuildHookScript>verify</postBuildHookScript>
                  <localRepositoryPath>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/local-repo</localRepositoryPath>
                  <ignoreFailures>false</ignoreFailures>
                  <environmentVariables>
                    <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
                  </environmentVariables>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <settingsFile>src/it/settings.xml</settingsFile>
              <pomIncludes>
                <pomInclude>*</pomInclude>
              </pomIncludes>
              <pomExcludes>
                <pomExclude>alternative-secret-keyring</pomExclude>
              </pomExcludes>
              <goals>
                <goal>clean</goal>
                <goal>install</goal>
              </goals>
              <properties>
                <gpg.homedir>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/test-classes/gnupg</gpg.homedir>
                <maven.compiler.source>1.7</maven.compiler.source>
                <maven.compiler.target>1.7</maven.compiler.target>
                <https.protocols>${https.protocols}</https.protocols>
              </properties>
              <debug>true</debug>
              <projectsDirectory>src/it</projectsDirectory>
              <cloneProjectsTo>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/it</cloneProjectsTo>
              <preBuildHookScript>setup</preBuildHookScript>
              <postBuildHookScript>verify</postBuildHookScript>
              <localRepositoryPath>/home/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/linux-jdk8-m3.6.x_build/target/local-repo</localRepositoryPath>
              <ignoreFailures>false</ignoreFailures>
              <environmentVariables>
                <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
              </environmentVariables>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model-builder</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <version>3.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>3.5.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-artifact-transfer</artifactId>
      <version>0.12.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>3.1.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-sec-dispatcher</artifactId>
      <version>1.4</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-core</artifactId>
      <version>1.3</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <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>7</javaVersion>
    <project.build.outputTimestamp>2020-02-01T18:31:00Z</project.build.outputTimestamp>
    <mavenVersion>3.0</mavenVersion>
  </properties>
</project>
