<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2016-2019 Red Hat, Inc. and/or its affiliates
    and other contributors as indicated by the @author tags.

    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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>36</version>
  </parent>

  <groupId>org.wildfly.plugins</groupId>
  <artifactId>wildfly-jar-parent</artifactId>
  <version>13.0.0.Final</version>
  <packaging>pom</packaging>

  <name>WildFly Bootable JAR Plugin Parent</name>
  <description>WildFly Bootable JAR Plugin Parent</description>
  <url>https://github.com/wildfly/wildfly-jar-maven-plugin</url>
  <inceptionYear>2019</inceptionYear>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>https://repository.jboss.org/licenses/apache-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <modules>
    <module>docs</module>
    <module>plugin</module>
    <module>tests</module>
    <module>extensions</module>
    <module>perf-tests</module>
  </modules>

  <properties>
    <!-- Require Java 17 -->
    <maven.compiler.target>17</maven.compiler.target>
    <maven.compiler.source>17</maven.compiler.source>
    <version.wildfly>39.0.1.Final</version.wildfly>
    <!-- docs properties -->
    <docs.project.branch>13.0.0.Final</docs.project.branch>
    <docs.wildfly.major>39</docs.wildfly.major>

    <version.junit>4.13.1</version.junit>
    <version.adoc-maven-plugin-descriptor>1.0.0.Alpha3</version.adoc-maven-plugin-descriptor>
    <version.org.apache.maven.core>3.9.9</version.org.apache.maven.core>
    <version.org.apache.maven.plugin-tools>3.15.1</version.org.apache.maven.plugin-tools>
    <version.org.apache.maven.plugin-plugin>3.9.0</version.org.apache.maven.plugin-plugin>
    <version.org.apache.maven.shared>0.13.1</version.org.apache.maven.shared>
    <version.org.asciidoctor>2.0.0</version.org.asciidoctor>
    <version.org.jboss.galleon>7.0.5.Final</version.org.jboss.galleon>
    <version.org.wildfly.core.wildfly-core>32.0.0.Beta7</version.org.wildfly.core.wildfly-core>
    <version.org.wildfly.launcher>1.0.3.Final</version.org.wildfly.launcher>
    <version.org.wildfly.common>2.0.1</version.org.wildfly.common>
    <version.org.wildfly.plugins.wildfly-plugin-tools>2.0.0.Beta1</version.org.wildfly.plugins.wildfly-plugin-tools>
    <version.org.wildfly.channel>1.2.2.Final</version.org.wildfly.channel>
    <version.org.wildfly.prospero>1.3.1.Final</version.org.wildfly.prospero>
    <maven.surefire.plugin>3.5.4</maven.surefire.plugin>
    <!-- required by tests -->
    <version.org.apache.httpcomponents.httpclient>4.5.14</version.org.apache.httpcomponents.httpclient>
    <version.org.apache.maven.resolver>1.9.18</version.org.apache.maven.resolver>
    <version.org.apache.maven.wagon>3.5.3</version.org.apache.maven.wagon>
    <version.org.jboss.logging.slf4j-jboss-logging>1.2.1.Final</version.org.jboss.logging.slf4j-jboss-logging>
    <version.org.apache.maven.plugin-testing.maven-plugin-testing-harness>3.3.0
    </version.org.apache.maven.plugin-testing.maven-plugin-testing-harness>
    <version.org.jboss.shrinkwrap.shrinkwrap>1.2.6</version.org.jboss.shrinkwrap.shrinkwrap>
    <version.org.twdata.maven>2.4.0</version.org.twdata.maven>
    <version.org.codehaus.plexus>3.5.1</version.org.codehaus.plexus>
    <!-- Checkstyle configuration -->
    <linkXRef>false</linkXRef>
    <version.org.wildfly.checkstyle-config>1.0.8.Final</version.org.wildfly.checkstyle-config>
    <bootable-jar.repo.scm.connection>git@github.com:wildfly-extras/wildfly-jar-maven-plugin.git</bootable-jar.repo.scm.connection>
    <bootable-jar.repo.scm.url>https://github.com/wildfly-extras/wildfly-jar-maven-plugin</bootable-jar.repo.scm.url>

    <maven.test.skip>false</maven.test.skip>
    <skipTests>${maven.test.skip}</skipTests>
    
    <test.default.ee.config>standalone.xml</test.default.ee.config>
    <test.default.ee.cloud.config>standalone-ha.xml</test.default.ee.cloud.config>
    <test.default.config>standalone-microprofile.xml</test.default.config>
    <test.default.cloud.config>standalone-microprofile-ha.xml</test.default.cloud.config>
    <test.fpl>wildfly@maven(org.jboss.universe:community-universe)#${version.wildfly}</test.fpl>
    <test.ee.fpl>wildfly-ee@maven(org.jboss.universe:community-universe)#${version.wildfly}</test.ee.fpl>
    <test.version.wildfly>${version.wildfly}</test.version.wildfly>
    <test.version.wildfly-ee.upgrade>38.0.0.Final</test.version.wildfly-ee.upgrade>
    <test.patch.ee.product>WildFly EE</test.patch.ee.product>
    <test.patch.product>WildFly Full</test.patch.product>
    <test.patch.version>${version.wildfly}</test.patch.version>
    <wildfly.artifactId>wildfly-galleon-pack</wildfly.artifactId>
    <wildfly.groupId>org.wildfly</wildfly.groupId>
    <wildfly-preview.artifactId>wildfly-preview-feature-pack</wildfly-preview.artifactId>
    <wildfly-preview-build-repo-phase>process-test-resources</wildfly-preview-build-repo-phase>
    <surefire.redirect.to.file>true</surefire.redirect.to.file>

    <client.jvm.jpms.args>--add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED</client.jvm.jpms.args>

    <!-- release -->
    <version.gpg.plugin>3.2.8</version.gpg.plugin>
    <version.nxrm3.plugin>1.0.7</version.nxrm3.plugin>
    <!-- maven-gpg-plugin -->
    <!-- set this to "error" to require a GPG agent-->
    <gpg.pinEntryMode>loopback</gpg.pinEntryMode>
    <!-- Nexus deployment settings -->
    <nexus.serverId>jboss</nexus.serverId>
    <nexus.repo.name>wildfly-staging</nexus.repo.name>
    <nexus.repo.url>https://repository.jboss.org/nexus</nexus.repo.url>
    <nexus.destination.repo.name>releases</nexus.destination.repo.name>
    <nexus.staging.tag>wildfly-jar-maven-plugin-${project.version}</nexus.staging.tag>   
  </properties>

  <repositories>
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>

  <dependencyManagement>
    <dependencies>
     
     <dependency>
        <groupId>org.twdata.maven</groupId>
        <artifactId>mojo-executor</artifactId>
        <version>${version.org.twdata.maven}</version>
        <exclusions>
            <exclusion>
                <groupId>*</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
     </dependency>
     <!-- Required for the dev goal and the maven-execute dependency -->
     <dependency>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-utils</artifactId>
         <version>${version.org.codehaus.plexus}</version>
     </dependency>
     <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>wildfly-jar-cloud-extension</artifactId>
        <version>${project.version}</version>
      </dependency>
        
      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-jar-boot</artifactId>
        <version>${version.org.wildfly.core.wildfly-core}</version>
      </dependency>
      
      <dependency>
          <groupId>org.wildfly.core</groupId>
          <artifactId>wildfly-protocol</artifactId>
          <version>${version.org.wildfly.core.wildfly-core}</version>
          <exclusions>
              <exclusion>
                  <groupId>org.jboss.modules</groupId>
                  <artifactId>jboss-modules</artifactId>
              </exclusion>
          </exclusions>
      </dependency>

      <dependency>
          <groupId>org.wildfly.core</groupId>
          <artifactId>wildfly-controller-client</artifactId>
          <version>${version.org.wildfly.core.wildfly-core}</version>
      </dependency>

      <!-- Required by controller-client and Galleon provisioning -->
      <dependency>
          <groupId>org.wildfly.common</groupId>
          <artifactId>wildfly-common</artifactId>
          <version>${version.org.wildfly.common}</version>
      </dependency>

      <dependency>
        <groupId>org.jboss.shrinkwrap</groupId>
        <artifactId>shrinkwrap-api</artifactId>
        <version>${version.org.jboss.shrinkwrap.shrinkwrap}</version>
      </dependency>
      
      <dependency>
        <groupId>org.jboss.shrinkwrap</groupId>
        <artifactId>shrinkwrap-impl-base</artifactId>
        <version>${version.org.jboss.shrinkwrap.shrinkwrap}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.launcher</groupId>
        <artifactId>wildfly-launcher</artifactId>
        <version>${version.org.wildfly.launcher}</version>
      </dependency>

      <dependency>
          <groupId>org.jboss.galleon</groupId>
          <artifactId>galleon-maven-plugin</artifactId>
          <version>${version.org.jboss.galleon}</version>
          <exclusions>
              <exclusion>
                  <groupId>*</groupId>
                  <artifactId>*</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      
      <dependency>
          <groupId>org.jboss.galleon</groupId>
          <artifactId>galleon-api</artifactId>
          <version>${version.org.jboss.galleon}</version>
      </dependency>
      <dependency>
          <groupId>org.jboss.galleon</groupId>
          <artifactId>galleon-maven-universe</artifactId>
          <version>${version.org.jboss.galleon}</version>
          <exclusions>
              <exclusion>
                  <groupId>org.eclipse.aether</groupId>
                  <artifactId>*</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-core</artifactId>
        <version>${version.org.apache.maven.core}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-model</artifactId>
          <scope>provided</scope>
          <version>${version.org.apache.maven.core}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-plugin-api</artifactId>
          <scope>provided</scope>
          <version>${version.org.apache.maven.core}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-artifact</artifactId>
          <scope>provided</scope>
          <version>${version.org.apache.maven.core}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven.plugin-tools</groupId>
        <artifactId>maven-plugin-annotations</artifactId>
        <version>${version.org.apache.maven.plugin-tools}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.shared</groupId>
          <artifactId>maven-artifact-transfer</artifactId>
          <version>${version.org.apache.maven.shared}</version>
          <exclusions>
              <exclusion>
                  <groupId>*</groupId>
                  <artifactId>*</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      <dependency>
        <groupId>org.wildfly.checkstyle</groupId>
        <artifactId>wildfly-checkstyle-config</artifactId>
        <version>${version.org.wildfly.checkstyle-config}</version>
      </dependency>

      <dependency>
          <groupId>org.wildfly.plugins</groupId>
          <artifactId>wildfly-plugin-tools</artifactId>
          <version>${version.org.wildfly.plugins.wildfly-plugin-tools}</version>
          <exclusions>
              <exclusion>
                  <groupId>org.jboss.modules</groupId>
                  <artifactId>jboss-modules</artifactId>
              </exclusion>
              <exclusion>
                  <groupId>org.wildfly.core</groupId>
                  <artifactId>wildfly-controller-client</artifactId>
              </exclusion>
              <exclusion>
                  <groupId>org.wildfly.core</groupId>
                  <artifactId>wildfly-protocol</artifactId>
              </exclusion>
          </exclusions>
      </dependency>

      <dependency>
          <groupId>org.wildfly.channel</groupId>
          <artifactId>channel-core</artifactId>
          <version>${version.org.wildfly.channel}</version>
      </dependency>

      <dependency>
          <groupId>org.wildfly.channel</groupId>
          <artifactId>maven-resolver</artifactId>
          <version>${version.org.wildfly.channel}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.prospero</groupId>
        <artifactId>prospero-metadata</artifactId>
        <version>${version.org.wildfly.prospero}</version>
        <exclusions>
          <exclusion>
            <groupId>*</groupId>
            <artifactId>*</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
    <!-- Needed by tests -->
      <dependency>
        <groupId>org.apache.maven.plugin-testing</groupId>
        <artifactId>maven-plugin-testing-harness</artifactId>
        <version>${version.org.apache.maven.plugin-testing.maven-plugin-testing-harness}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-api</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-spi</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-impl</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-connector-basic</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-http</artifactId>
          <version>${version.org.apache.maven.wagon}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-transport-wagon</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-util</artifactId>
          <version>${version.org.apache.maven.resolver}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.slf4j</groupId>
        <artifactId>slf4j-jboss-logging</artifactId>
        <version>${version.org.jboss.logging.slf4j-jboss-logging}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-compat</artifactId>
        <version>${version.org.apache.maven.core}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>${version.org.apache.httpcomponents.httpclient}</version>
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${version.junit}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  
  <dependencies>
    <dependency>
      <groupId>org.wildfly.checkstyle</groupId>
      <artifactId>wildfly-checkstyle-config</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <pluginManagement>
      <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>${version.org.apache.maven.plugin-plugin}</version>
      </plugin>          
      <plugin>
        <groupId>${project.groupId}</groupId>
        <artifactId>wildfly-jar-maven-plugin</artifactId>
        <version>${project.version}</version>
      </plugin>
      
      <plugin>
          <groupId>org.jboss.galleon</groupId>
          <artifactId>galleon-maven-plugin</artifactId>
          <version>${version.org.jboss.galleon}</version>
      </plugin>

        <!-- Checkstyle -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>${version.checkstyle.plugin}</version>
          <configuration>
            <configLocation>wildfly-checkstyle/checkstyle.xml</configLocation>
            <consoleOutput>true</consoleOutput>
            <failsOnError>true</failsOnError>
            <includeTestSourceDirectory>true</includeTestSourceDirectory>
            <excludes>**/*$logger.java,**/*$bundle.java,**/HelpMojo.java</excludes>
            <useFile />
          </configuration>
          <dependencies>
            <dependency>
              <groupId>org.wildfly.checkstyle</groupId>
              <artifactId>wildfly-checkstyle-config</artifactId>
              <version>${version.org.wildfly.checkstyle-config}</version>
            </dependency>
          </dependencies>
          <executions>
            <execution>
              <id>check-style</id>
              <phase>compile</phase>
              <goals>
                <goal>checkstyle</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.sonatype.plugins</groupId>
          <artifactId>nxrm3-maven-plugin</artifactId>
          <version>${version.nxrm3.plugin}</version>
          <configuration>
            <serverId>${nexus.serverId}</serverId>
            <nexusUrl>${nexus.repo.url}</nexusUrl>
            <repository>${nexus.repo.name}</repository>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven.surefire.plugin}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-java</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireJavaVersion>
                  <version>11</version>
                </requireJavaVersion>
              </rules>
            </configuration>
          </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>
      <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>
    </plugins>
  </build>
  <developers>
    <developer>
      <id>jdenise</id>
      <name>Jean-Francois Denise</name>
      <organization>Red Hat</organization>
    </developer>
  </developers>
  <profiles>
      <profile>
          <id>xp</id>
          <activation>
              <property>
                  <name>xp</name>
              </property>
          </activation>
          <properties>
            <wildfly.groupId>org.jboss.eap</wildfly.groupId>
            <version.wildfly>3.0.0.GA-redhat-SNAPSHOT</version.wildfly>
            <test.version.wildfly-ee.upgrade>7.3.6.GA-redhat-00002</test.version.wildfly-ee.upgrade>
            <test.fpl>${wildfly.groupId}:${wildfly.artifactId}:${version.wildfly}</test.fpl>
            <test.patch.product>JBoss EAP</test.patch.product>
            <test.patch.version>7.4.0.GA</test.patch.version>
            <wildfly-preview-build-repo-phase>none</wildfly-preview-build-repo-phase>
          </properties>
      </profile>
      <!-- Temporarily override the jboss-parent jboss-release profile
      to add configuration related to Nexus 3 deployment. These
      are expected to come in a later jboss-parent release -->
      <!-- TODO remove this content when it is included in jboss-parent -->
      <profile>
        <id>jboss-release</id>
        <build>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-deploy-plugin</artifactId>
              <executions>
                <execution>
                  <id>default-deploy</id>
                  <phase>none</phase>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.sonatype.plugins</groupId>
              <artifactId>nxrm3-maven-plugin</artifactId>
              <extensions>true</extensions>
              <executions>
                <execution>
                  <id>nexus-deploy</id>
                  <phase>deploy</phase>
                  <goals>
                    <goal>deploy</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-gpg-plugin</artifactId>
              <configuration>
                <useAgent>true</useAgent>
                <gpgArguments>
                  <arg>--pinentry-mode</arg>
                  <arg>${gpg.pinEntryMode}</arg>
                </gpgArguments>
              </configuration>
              <executions>
                <execution>
                  <id>gpg-sign</id>
                  <goals>
                    <goal>sign</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </build>
      </profile>
      <!-- Use this profile in combination with 'jboss-release' to use
      the nxrm3-maven-plugin's 'staging-deploy' goal instead of its
      'deploy' goal. Once the staged deployment is valdated, the
      person or script doing the release  would move on to use
      its 'staging-move' goal via a call to
      'mvn nxrm3:staging-move -Pjboss-staging-move' -->
      <!-- TODO remove this content when it is included in jboss-parent -->
      <profile>
        <id>jboss-staging-deploy</id>
        <build>
          <plugins>
            <plugin>
              <groupId>org.sonatype.plugins</groupId>
              <artifactId>nxrm3-maven-plugin</artifactId>
              <executions>
                <!-- Disable the jboss-release profile's 'deploy' goal execution -->
                <execution>
                  <id>nexus-deploy</id>
                  <phase>none</phase>
                </execution>
                <execution>
                  <id>nexus-staging.deploy</id>
                  <phase>deploy</phase>
                  <goals>
                    <goal>staging-deploy</goal>
                  </goals>
                  <configuration>
                    <tag>${nexus.staging.tag}</tag>
                  </configuration>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </build>
      </profile>
      <!-- Used in release workflows that use the 'jboss-staging-deploy' profile,
      this profile configures the nxrm3-maven-plugin to support command
      line execution of its 'staging-move' goal. -->
      <!-- TODO remove this content when it is included in jboss-parent -->
      <profile>
        <id>jboss-staging-move</id>
        <build>
          <plugins>
            <plugin>
              <groupId>org.sonatype.plugins</groupId>
              <artifactId>nxrm3-maven-plugin</artifactId>
              <configuration>
                <destinationRepository>${nexus.destination.repo.name}</destinationRepository>
                <tag>${nexus.staging.tag}</tag>
              </configuration>
            </plugin>
          </plugins>
        </build>
      </profile>
      <!-- Used in release workflows that use the 'jboss-staging-deploy' profile,
      this profile configures the nxrm3-maven-plugin to support command
      line execution of its 'staging-delete' goal. -->
      <!-- TODO remove this content when it is included in jboss-parent -->
      <profile>
        <id>jboss-staging-delete</id>
        <build>
          <plugins>
            <plugin>
              <groupId>org.sonatype.plugins</groupId>
              <artifactId>nxrm3-maven-plugin</artifactId>
              <configuration>
                <tag>${nexus.staging.tag}</tag>
              </configuration>
            </plugin>
          </plugins>
        </build>
      </profile>
  </profiles>
  <scm>
      <connection>scm:git:${bootable-jar.repo.scm.connection}</connection>
      <developerConnection>scm:git:${bootable-jar.repo.scm.connection}</developerConnection>
      <url>${bootable-jar.repo.scm.url}</url>
      <tag>HEAD</tag>
  </scm>
</project>
