Skip to content

Commit

Permalink
WIP: Fixed #399 - Upgrade all plugins used in IT to most recent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
khmarbaise committed Dec 19, 2023
1 parent 87092e7 commit 097b17c
Show file tree
Hide file tree
Showing 62 changed files with 198 additions and 715 deletions.
2 changes: 1 addition & 1 deletion itf-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
junit.jupiter.execution.parallel.mode.default=concurrent
junit.jupiter.execution.parallel.mode.classes.default=same_thread
junit.jupiter.execution.parallel.config.strategy=fixed
junit.jupiter.execution.parallel.config.fixed.parallelism=6
junit.jupiter.execution.parallel.config.fixed.parallelism=12
</configurationParameters>
</properties>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void transitive_excludes(MavenExecutionResult result) {
.project()
.hasTarget()
.withEarFile()
.containsOnlyOnce("org.apache.maven-maven-core-3.0.jar", "META-INF/application.xml");
.containsOnlyOnce("org.apache.maven-maven-core-3.2.5.jar", "META-INF/application.xml");

// assertThat(log).info().stream().filter(s -> s.startsWith("TESTING"));
// assertThat(log).debug().stream().filter(s -> s.endsWith("FAILURE"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ void no_goals_at_all(MavenExecutionResult result) {
.out()
.info()
.containsSubsequence(
"--- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.8:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.10.1:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M7:test (default-test) @ kata-fraction ---",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor) @ kata-fraction ---"
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand All @@ -67,7 +67,7 @@ void goal_clean(MavenExecutionResult result) {
"-------------------< com.soebes.katas:kata-fraction >-------------------",
"Building kata-fraction 1.0-SNAPSHOT",
"--------------------------------[ jar ]---------------------------------",
"--- maven-clean-plugin:3.2.0:clean (default-clean) @ kata-fraction ---"
"--- maven-clean-plugin:3.3.2:clean (default-clean) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand All @@ -88,11 +88,11 @@ void goal_clean_compile(MavenExecutionResult result) {
"-------------------< com.soebes.katas:kata-fraction >-------------------",
"Building kata-fraction 1.0-SNAPSHOT",
"--------------------------------[ jar ]---------------------------------",
"--- maven-clean-plugin:3.2.0:clean (default-clean) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.8:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.10.1:compile (default-compile) @ kata-fraction ---"
"--- maven-clean-plugin:3.3.2:clean (default-clean) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void goal_clean(MavenExecutionResult result) {
"-------------------< com.soebes.katas:kata-fraction >-------------------",
"Building kata-fraction 1.0-SNAPSHOT",
"--------------------------------[ jar ]---------------------------------",
"--- maven-clean-plugin:3.2.0:clean (default-clean) @ kata-fraction ---"
"--- maven-clean-plugin:3.3.2:clean (default-clean) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ void clean_verify(MavenExecutionResult result) {
"Scanning for projects...",
"-------------------< com.soebes.katas:kata-fraction >-------------------",
"--------------------------------[ jar ]---------------------------------",
"--- maven-clean-plugin:3.2.0:clean (default-clean) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.8:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.10.1:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M7:test (default-test) @ kata-fraction ---",
"--- maven-clean-plugin:3.3.2:clean (default-clean) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"Tests run: 34, Failures: 0, Errors: 0, Skipped: 0",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor) @ kata-fraction ---",
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---",
"Skipping because packaging 'jar' is not pom.",
"--- jacoco-maven-plugin:0.8.8:report (default) @ kata-fraction ---"
"--- jacoco-maven-plugin:0.8.11:report (default) @ kata-fraction ---"
);

assertThat(result)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ void property_skiptests(MavenExecutionResult result) {
.out()
.info()
.containsSubsequence(
"--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"Tests are skipped.",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.10.0:attach-descriptor (attach-descriptor) @ kata-fraction ---"
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---"
);

assertThat(result)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ void property_skiptests(MavenExecutionResult result) {
.out()
.info()
.containsSubsequence(
"--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"Tests are skipped.",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.10.0:attach-descriptor (attach-descriptor) @ kata-fraction ---"
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ void property_skiptests(MavenExecutionResult result) {
.out()
.info()
.containsSubsequence(
"--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"Tests are skipped.",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.10.0:attach-descriptor (attach-descriptor) @ kata-fraction ---"
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ void property_skiptests(MavenExecutionResult result) {
.out()
.info()
.containsSubsequence(
"--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.2.0:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kata-fraction ---",
"--- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ kata-fraction ---",
"--- jacoco-maven-plugin:0.8.11:prepare-agent (default) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:resources (default-resources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:compile (default-compile) @ kata-fraction ---",
"--- maven-resources-plugin:3.3.1:testResources (default-testResources) @ kata-fraction ---",
"--- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ kata-fraction ---",
"--- maven-surefire-plugin:3.2.2:test (default-test) @ kata-fraction ---",
"Tests are skipped.",
"--- maven-jar-plugin:3.2.2:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.10.0:attach-descriptor (attach-descriptor) @ kata-fraction ---"
"--- maven-jar-plugin:3.3.0:jar (default-jar) @ kata-fraction ---",
"--- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ kata-fraction ---"
);
assertThat(result)
.isSuccessful()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>3.0.1</version>
<version>3.3.0</version>
<configuration>
<generateApplicationXml>true</generateApplicationXml>
</configuration>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>3.0.1</version>
<version>3.3.0</version>
<configuration>
<packagingExcludes>commons-lang-*.jar</packagingExcludes>
</configuration>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>3.0.1</version>
<version>3.3.0</version>
<configuration>
<packagingIncludes>commons-lang-*.jar,META-INF/**</packagingIncludes>
</configuration>
Expand Down
Loading

0 comments on commit 097b17c

Please sign in to comment.