Skip to content

Commit

Permalink
Merge pull request #609 from hazendaz/spotbugs
Browse files Browse the repository at this point in the history
Drop maven 4 to alpha 4 / Exclude plexus container default
  • Loading branch information
hazendaz committed Jun 19, 2023
2 parents baaa1c4 + d78ff3f commit 7f24ea2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/it-maven-4.0.0.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Java Integration Tests Maven 4.0.0-alpha-5
name: Java Integration Tests Maven 4.0.0-alpha-4

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
name: Integration Tests Maven 4.0.0-alpha-5
name: Integration Tests Maven 4.0.0-alpha-4

steps:
- uses: actions/checkout@v3
Expand All @@ -14,9 +14,9 @@ jobs:
with:
java-version: 17
distribution: zulu
- name: Load Maven 4.0.0-alpha-5
run: ./mvnw -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.2.0:wrapper -Dmaven=4.0.0-alpha-5 --no-transfer-progress
- name: Load Maven 4.0.0-alpha-4
run: ./mvnw -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.2.0:wrapper -Dmaven=4.0.0-alpha-4 --no-transfer-progress
- name: Build Setup
run: ./mvnw -B -V clean install -Dlicense.skip=true -Dmaven.min-version=4.0.0-alpha-5 --no-transfer-progress
run: ./mvnw -B -V clean install -Dlicense.skip=true -Dmaven.min-version=4.0.0-alpha-4 --no-transfer-progress
- name: Integration Test with Maven
run: ./mvnw -B -V -DtestSrc=remote -Prun-its clean install -Dinvoker.parallelThreads=4 -Dlicense.skip=true -Dmaven.min-version=4.0.0-alpha-5 --no-transfer-progress
run: ./mvnw -B -V -DtestSrc=remote -Prun-its clean install -Dinvoker.parallelThreads=4 -Dlicense.skip=true -Dmaven.min-version=4.0.0-alpha-4 --no-transfer-progress
21 changes: 10 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,10 @@
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -525,6 +529,12 @@
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-integration-tools</artifactId>
<version>${doxiaSiteToolsVersion}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Commons -->
Expand Down Expand Up @@ -582,17 +592,6 @@
</dependency>

<!-- plexus -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>${plexusContainerVersion}</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-resources</artifactId>
Expand Down

0 comments on commit 7f24ea2

Please sign in to comment.