Skip to content

Commit

Permalink
add missing top-level profile for jboss exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge committed Dec 20, 2023
1 parent bd5bb7a commit d7a68eb
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ jobs:
run: .ci/scripts/jboss-pull.sh
- uses: ./.github/workflows/maven-goal
with:
command: ./mvnw -q --file ./integration-tests/application-server-integration-tests/pom.xml -P ci-jboss-integration-tests verify
command: ./mvnw -q -P ci-jboss-integration-tests verify
- name: Store test results
if: success() || failure()
uses: actions/upload-artifact@v3
Expand Down
34 changes: 34 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,40 @@
</plugins>
</build>
</profile>
<profile>
<!-- copies behavior from app server tests for jboss -->
<id>ci-jboss-integration-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<!--
By default, disables all integration tests.
In integration-tests/application-server-integration-tests/pom.xml,
only that module is included by overriding skip.integration.test to false.
-->
<skip.integration.test>true</skip.integration.test>
<maven.javadoc.skip>true</maven.javadoc.skip>
<animal.sniffer.skip>true</animal.sniffer.skip>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipTests>${skip.integration.test}</skipTests>
<rerunFailingTestsCount>3</rerunFailingTestsCount>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>different-test-jdk</id>
<activation>
Expand Down

0 comments on commit d7a68eb

Please sign in to comment.