Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>pom</packaging>

<name>WildFly Bootable jar Docs</name>

<description>WildFly Bootable jar Docs</description>
<properties>
<ec2-pub-ip-dash>1-2-3-4</ec2-pub-ip-dash>
<ec2-pub-ip>1.2.3.4</ec2-pub-ip>
Expand All @@ -47,11 +47,18 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nxrm3-maven-plugin</artifactId>
<executions>
<execution>
<id>nexus-deploy</id>
<phase>none</phase>
</execution>
<execution>
<id>nexus-staging.deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
Expand Down
25 changes: 16 additions & 9 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<version.org.jboss.arquillian.junit>1.7.0.Final</version.org.jboss.arquillian.junit>
<version.junit>4.13.1</version.junit>
<version.org.jboss.shrinkwrap.shrinkwrap>1.2.6</version.org.jboss.shrinkwrap.shrinkwrap>

<version.gpg.plugin>3.2.8</version.gpg.plugin>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -153,14 +153,21 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.4</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nxrm3-maven-plugin</artifactId>
<version>${version.gpg.plugin}</version>
<executions>
<execution>
<id>nexus-deploy</id>
<phase>none</phase>
</execution>
<execution>
<id>nexus-staging.deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion extensions/cloud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>jar</packaging>

<name>WildFly Bootable JAR cloud extensions</name>

<description>WildFly Bootable JAR cloud extensions</description>
<dependencies>
<dependency>
<groupId>org.wildfly.core</groupId>
Expand Down
1 change: 1 addition & 0 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<packaging>pom</packaging>

<name>WildFly Bootable JAR runtime extensions Parent</name>
<description>WildFly Bootable JAR runtime extensions Parent</description>
<inceptionYear>2019</inceptionYear>
<licenses>
<license>
Expand Down
2 changes: 1 addition & 1 deletion perf-tests/plugin-memory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>pom</packaging>

<name>WildFly Bootable JAR Maven Plugin memory consumption tests</name>

<description>WildFly Bootable JAR Maven Plugin memory consumption tests</description>
<build>
<plugins>
<!-- provision a full server to be used as patching distribution source -->
Expand Down
20 changes: 19 additions & 1 deletion perf-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>pom</packaging>

<name>WildFly Bootable JAR Maven Plugin perf tests parent</name>

<description>WildFly Bootable JAR Maven Plugin perf tests parent</description>
<properties>
<skip.perf.tests>true</skip.perf.tests>
</properties>
Expand All @@ -49,4 +49,22 @@
<modules>
<module>plugin-memory</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nxrm3-maven-plugin</artifactId>
<executions>
<execution>
<id>nexus-deploy</id>
<phase>none</phase>
</execution>
<execution>
<id>nexus-staging.deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>maven-plugin</packaging>

<name>WildFly Bootable JAR Maven Plugin</name>

<description>WildFly Bootable JAR Maven Plugin</description>
<properties>
<!-- Galleon -->
<galleon.fork.embedded>true</galleon.fork.embedded>
Expand Down
214 changes: 168 additions & 46 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
<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>
Expand Down Expand Up @@ -111,6 +113,18 @@

<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>
Expand Down Expand Up @@ -458,10 +472,13 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nxrm3-maven-plugin</artifactId>
<version>${version.nxrm3.plugin}</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<serverId>${nexus.serverId}</serverId>
<nexusUrl>${nexus.repo.url}</nexusUrl>
<repository>${nexus.repo.name}</repository>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -498,6 +515,30 @@
</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>
Expand Down Expand Up @@ -525,50 +566,131 @@
<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>release</id>
<build>
<plugins>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<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>
Expand Down
Loading