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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ target/
nb-configuration.xml

# Maven site files
**/velocity.log
**/velocity.log

# Release files
*.releaseBackup
release.properties
2 changes: 1 addition & 1 deletion plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</prerequisites>

<!-- The url and scm need to be defined here as the site plugin appends the maven module name -->
<url>http://www.wildfly.org</url>
<url>https://www.wildfly.org</url>
<scm>
<connection>${wildfly.scm.connection}</connection>
<developerConnection>${wildfly.scm.developer.connection}</developerConnection>
Expand Down
156 changes: 14 additions & 142 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,20 @@
<docs.directory>${project.basedir}/../docs/releases/${release.short.version}</docs.directory>
<!-- required by test -->
<grpcVersion>0.1.12.Final</grpcVersion>

<!-- maven-release-plugin configuration -->
<autoVersionSubmodules>true</autoVersionSubmodules>
<releaseProfiles>jboss-release</releaseProfiles>
<signTag>true</signTag>
<tagNameFormat>v@{project.version}</tagNameFormat>
<arguments>-DskipTests</arguments>
<!-- Do not push changes by default when using the maven-release-plugin:prepare -->
<pushChanges>false</pushChanges>
<!-- Use the local directory when using perform -->
<localCheckout>true</localCheckout>
<!--JBoss Nexus properties -->
<nexus.repository.staging>wildfly-staging</nexus.repository.staging>
<nexus.staging.tag>wildfly-maven-plugin-${project.version}</nexus.staging.tag>
</properties>

<modules>
Expand Down Expand Up @@ -180,13 +194,6 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${maven.compiler.target}</release>
<testRelease>${maven.compiler.testTarget}</testRelease>
</configuration>
</plugin>
<!-- Enable auto-formatting of source files -->
<plugin>
<groupId>net.revelc.code.formatter</groupId>
Expand Down Expand Up @@ -582,30 +589,6 @@
<version.org.wildfly>34.0.1.Final</version.org.wildfly>
</properties>
</profile>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>generate-javadoc</id>
<phase>prepare-package</phase>
<goals>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>format-check</id>
<build>
Expand Down Expand Up @@ -640,116 +623,5 @@
</plugins>
</build>
</profile>
<profile>
<id>maven-central-release</id>
<activation>
<property>
<name>maven.central.release</name>
</property>
</activation>
<properties>
<!-- Maven Central properties -->
<repo.sonatype.url>https://central.sonatype.com</repo.sonatype.url>
<sonatype.server.id>central</sonatype.server.id>
</properties>

<distributionManagement>
<snapshotRepository>
<id>${sonatype.server.id}</id>
<url>${repo.sonatype.url}</url>
</snapshotRepository>
<repository>
<id>${sonatype.server.id}</id>
<url>${repo.sonatype.url}</url>
</repository>
</distributionManagement>

<build>
<plugins>
<!-- Semantically ordered -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
</requireReleaseDeps>
</rules>
</configuration>
</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-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>
<additionalOption>-html5</additionalOption>
</additionalOptions>
<detectLinks>true</detectLinks>
<doclint>none</doclint>
<failOnError>false</failOnError>
<show>public</show>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>${sonatype.server.id}</publishingServerId>
<!-- Exclude tests from being deployed -->
<excludeArtifacts>
<excludeArtifact>wildfly-maven-plugin-tests</excludeArtifact>
<excludeArtifact>wildfly-maven-plugin-bootable-tests</excludeArtifact>
<excludeArtifact>wildfly-maven-plugin-domain-tests</excludeArtifact>
<excludeArtifact>wildfly-maven-plugin-tests-shared</excludeArtifact>
<excludeArtifact>wildfly-maven-plugin-standalone-tests</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
3 changes: 3 additions & 0 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@

<wildfly.channel.manifest.groupId>org.wildfly.channels</wildfly.channel.manifest.groupId>
<wildfly.channel.manifest.artifactId>wildfly-ee</wildfly.channel.manifest.artifactId>

<!-- Skip deploying tests -->
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</properties>

<build>
Expand Down
Loading