Skip to content

Commit

Permalink
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 5091d37
Show file tree
Hide file tree
Showing 83 changed files with 359 additions and 1,139 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
:issue-392: https://github.com/khmarbaise/maven-it-extension/issues/392[Fixed #392]
:issue-394: https://github.com/khmarbaise/maven-it-extension/issues/394[Fixed #394]
:issue-396: https://github.com/khmarbaise/maven-it-extension/issues/396[Fixed #396]
:issue-399: https://github.com/khmarbaise/maven-it-extension/issues/399[Fixed #399]
:issue-??: https://github.com/khmarbaise/maven-it-extension/issues/??[Fixed #??]

:release_0_13_0: https://github.com/khmarbaise/maven-it-extension/milestone/13
Expand Down Expand Up @@ -115,6 +116,7 @@
* {issue-392} - Upgrade byte-buddy to 1.14.10
* {issue-394} - Upgrade mockito to 5.8.0
* {issue-396} - Upgrade maven-plugin-plugin to 3.10.2
* {issue-399} - Upgrade all plugins used in IT to most recent versions

*Build Improvements*

Expand Down
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 @@ -35,15 +35,15 @@ void option_debug(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 @@ -54,15 +54,15 @@ void option_debug(MavenExecutionResult result) {
.out()
.debug()
.containsSubsequence(
"Goal: org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (enforce-maven)",
"Goal: org.jacoco:jacoco-maven-plugin:0.8.8:prepare-agent (default)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.0:resources (default-resources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.0:testResources (default-testResources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile)",
"Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test)",
"Goal: org.apache.maven.plugins:maven-jar-plugin:3.2.2:jar (default-jar)",
"Goal: org.apache.maven.plugins:maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor)"
"Goal: org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce (enforce-maven)",
"Goal: org.jacoco:jacoco-maven-plugin:0.8.11:prepare-agent (default)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources (default-testResources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile)",
"Goal: org.apache.maven.plugins:maven-surefire-plugin:3.2.2:test (default-test)",
"Goal: org.apache.maven.plugins:maven-jar-plugin:3.3.0:jar (default-jar)",
"Goal: org.apache.maven.plugins:maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor)"
);
}

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 @@ -46,15 +46,15 @@ void no_options_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 @@ -74,15 +74,15 @@ void option_debug(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 @@ -93,15 +93,15 @@ void option_debug(MavenExecutionResult result) {
.out()
.debug()
.containsSubsequence(
"Goal: org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (enforce-maven)",
"Goal: org.jacoco:jacoco-maven-plugin:0.8.8:prepare-agent (default)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.0:resources (default-resources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.0:testResources (default-testResources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile)",
"Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test)",
"Goal: org.apache.maven.plugins:maven-jar-plugin:3.2.2:jar (default-jar)",
"Goal: org.apache.maven.plugins:maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor)"
"Goal: org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce (enforce-maven)",
"Goal: org.jacoco:jacoco-maven-plugin:0.8.11:prepare-agent (default)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile)",
"Goal: org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources (default-testResources)",
"Goal: org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile)",
"Goal: org.apache.maven.plugins:maven-surefire-plugin:3.2.2:test (default-test)",
"Goal: org.apache.maven.plugins:maven-jar-plugin:3.3.0:jar (default-jar)",
"Goal: org.apache.maven.plugins:maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor)"
);
}

Expand Down
Loading

0 comments on commit 5091d37

Please sign in to comment.