Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for a file to disable testing a specific Java level if the prop… #302

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,103 +57,119 @@ jobs:
mvn -B -ntp package install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out WildFly Maven Plugin
if: always()
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-maven-plugin
path: wildfly-maven-plugin

- name: Test WildFly Maven Plugin with updated parent
if: always()
run: |
cd wildfly-maven-plugin
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss Modules
if: always()
uses: actions/checkout@v4
with:
repository: jboss-modules/jboss-modules
path: jboss-modules

- name: Test JBoss Modules with updated parent
if: always()
run: |
cd jboss-modules
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss Marshalling
if: always()
uses: actions/checkout@v4
with:
repository: jboss-remoting/jboss-marshalling
path: jboss-marshalling

- name: Test JBoss Marshalling with updated parent
if: always()
run: |
cd jboss-marshalling
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss Logging Dev Tools
if: always()
uses: actions/checkout@v4
with:
repository: jboss-logging/logging-dev-tools
path: logging-dev-tools

- name: Prepare for testing logging projects with updated parent
if: always()
run: |
cd logging-dev-tools
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss LogManager
if: always()
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logmanager
path: jboss-logmanager

- name: Test JBoss LogManager with updated parents
if: always()
run: |
cd jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss Logging
if: always()
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logging
path: jboss-logging

- name: Test JBoss Logging with updated parents
if: always()
run: |
cd jboss-logging
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out JBoss Logging Tools
if: always()
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logging-tools
path: jboss-logging-tools

- name: Test JBoss Logging Tools with updated parents
if: always()
run: |
cd jboss-logging-tools
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

- name: Check out Log4j2 to JBoss LogManager bridge
if: always()
uses: actions/checkout@v4
with:
repository: jboss-logging/log4j2-jboss-logmanager
path: log4j2-jboss-logmanager

- name: Test Log4j2 to JBoss LogManager bridge with updated parents
if: always()
run: |
cd log4j2-jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@
<name>java11.home</name>
</property>
<file>
<exists>${basedir}/build-test-java11</exists>
<missing>${basedir}/disable-test-java11</missing>
</file>
</activation>
<build>
Expand Down Expand Up @@ -1334,7 +1334,7 @@
<name>java17.home</name>
</property>
<file>
<exists>${basedir}/build-test-java17</exists>
<missing>${basedir}/disable-test-java17</missing>
</file>
</activation>
<build>
Expand Down Expand Up @@ -1609,7 +1609,7 @@
<name>java21.home</name>
</property>
<file>
<exists>${basedir}/build-test-java21</exists>
<missing>${basedir}/disable-test-java21</missing>
</file>
</activation>
<build>
Expand Down
Loading