Skip to content
Closed
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
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,16 @@ jobs:
with:
cache: 'maven'
distribution: 'temurin'
# Please note the order here of having 25 last as that is the version we want to compile with
java-version: |
17
21
25
26-ea
- name: Build and Test on ${{ matrix.os }} - Java 26-ea
run: ${{ env.MVN_CMD }} clean verify
25
- name: Build and Test on ${{ matrix.os }} - Java 25
run: ${{ env.MVN_CMD }} verify '-Dtest.java.home=${{env.JAVA_HOME_25_X64}}${{env.JAVA_HOME_25_ARM64}}' '-Dsurefire.reportsDirectory=${project.build.directory}/surefire-reports-java25'
run: ${{ env.MVN_CMD }} clean verify
- name: Build and Test on ${{ matrix.os }} - Java 26-ea
run: ${{ env.MVN_CMD }} verify '-Dtest.java.home=${{env.JAVA_HOME_26_X64}}${{env.JAVA_HOME_26_ARM64}}' '-Dsurefire.reportsDirectory=${project.build.directory}/surefire-reports-java26'
- name: Build and Test on ${{ matrix.os }} - Java 21
run: ${{ env.MVN_CMD }} verify '-Dtest.java.home=${{env.JAVA_HOME_21_X64}}${{env.JAVA_HOME_21_ARM64}}' '-Dsurefire.reportsDirectory=${project.build.directory}/surefire-reports-java21'
- name: Build and Test on ${{ matrix.os }} - Java 17
Expand Down
85 changes: 2 additions & 83 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>51</version>
<version>52</version>
</parent>

<groupId>org.wildfly.launcher</groupId>
Expand Down Expand Up @@ -51,8 +51,7 @@

<!-- Base on SE 11. -->
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>${maven.compiler.release}</maven.compiler.source>
<maven.compiler.target>${maven.compiler.release}</maven.compiler.target>
<jdk.min.version>${maven.compiler.release}</jdk.min.version>

<!-- Dependency versions -->
<version.central.publishing.maven.plugin>0.10.0</version.central.publishing.maven.plugin>
Expand Down Expand Up @@ -100,13 +99,6 @@
<pushChanges>true</pushChanges>
<!-- Use the local directory when using perform -->
<localCheckout>true</localCheckout>
<!-- Maven Central properties -->
<central.sonatype.url>https://central.sonatype.com</central.sonatype.url>
<central.serverId>central</central.serverId>
<central.deploymentName>${project.artifactId}-${project.version}</central.deploymentName>
<central.autoPublish>true</central.autoPublish>
<central.waitUntil>validated</central.waitUntil>
<central.skipPublishing>false</central.skipPublishing>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -365,79 +357,6 @@
<wildfly.feature.pack.version>34.0.1.Final</wildfly.feature.pack.version>
</properties>
</profile>
<profile>
<id>central-release</id>

<distributionManagement>
<snapshotRepository>
<id>${central.serverId}</id>
<url>${central.sonatype.url}</url>
</snapshotRepository>
<repository>
<id>${central.serverId}</id>
<url>${central.sonatype.url}</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>aggregate-javadoc</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>package</phase>
</execution>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${version.central.publishing.maven.plugin}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>${central.serverId}</publishingServerId>
<autoPublish>${central.autoPublish}</autoPublish>
<waitUntil>${central.waitUntil}</waitUntil>
<deploymentName>${central.deploymentName}</deploymentName>
<skipPublishing>${central.skipPublishing}</skipPublishing>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>