diff --git a/dependencies.md b/dependencies.md index b3cf05c3..c3cd7ae9 100644 --- a/dependencies.md +++ b/dependencies.md @@ -304,7 +304,7 @@ [15]: https://www.jqno.nl/equalsverifier [16]: https://www.apache.org/licenses/LICENSE-2.0.txt [17]: https://github.com/mockito/mockito -[18]: https://github.com/mockito/mockito/blob/main/LICENSE +[18]: https://opensource.org/licenses/MIT [19]: http://www.slf4j.org [20]: http://www.opensource.org/licenses/mit-license.php [21]: http://sonarsource.github.io/sonar-scanner-maven/ diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index fb2ef6e0..46e4c9ae 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [2.9.16](changes_2.9.16.md) * [2.9.15](changes_2.9.15.md) * [2.9.14](changes_2.9.14.md) * [2.9.13](changes_2.9.13.md) diff --git a/doc/changes/changes_2.9.16.md b/doc/changes/changes_2.9.16.md new file mode 100644 index 00000000..d4464784 --- /dev/null +++ b/doc/changes/changes_2.9.16.md @@ -0,0 +1,120 @@ +# Project Keeper 2.9.16, released 2023-??-?? + +Code name: Support Matrix builds & enable compiler warnings + +## Summary + +This release enables linter warnings for the Java compiler by adding argument `-Xlint:all`. This will log warnings but the build won't fail. + +## Features + +* #497: Enabled linter warnings + +## Dependency Updates + +### Project-Keeper Shared Model Classes + +#### Test Dependency Updates + +* Updated `nl.jqno.equalsverifier:equalsverifier:3.15.2` to `3.15.3` +* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.0` to `5.10.1` +* Updated `org.junit.jupiter:junit-jupiter-params:5.10.0` to `5.10.1` +* Updated `org.mockito:mockito-core:5.6.0` to `5.7.0` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.6.0` to `3.6.2` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` + +### Project Keeper Core + +#### Compile Dependency Updates + +* Updated `com.exasol:project-keeper-shared-model-classes:2.9.15` to `2.9.16` + +#### Runtime Dependency Updates + +* Updated `com.exasol:project-keeper-java-project-crawler:2.9.15` to `2.9.16` + +#### Test Dependency Updates + +* Updated `com.exasol:project-keeper-shared-test-setup:2.9.15` to `2.9.16` +* Updated `nl.jqno.equalsverifier:equalsverifier:3.15.2` to `3.15.3` +* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.0` to `5.10.1` +* Updated `org.junit.jupiter:junit-jupiter-params:5.10.0` to `5.10.1` +* Updated `org.mockito:mockito-junit-jupiter:5.6.0` to `5.7.0` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-failsafe-plugin:3.1.2` to `3.2.2` +* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.6.0` to `3.6.2` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` + +### Project Keeper Command Line Interface + +#### Compile Dependency Updates + +* Updated `com.exasol:project-keeper-core:2.9.15` to `2.9.16` + +#### Test Dependency Updates + +* Updated `com.exasol:project-keeper-shared-test-setup:2.9.15` to `2.9.16` +* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.0` to `5.10.1` +* Updated `org.junit.jupiter:junit-jupiter-params:5.10.0` to `5.10.1` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-failsafe-plugin:3.1.2` to `3.2.2` +* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.6.0` to `3.6.2` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` + +### Project Keeper Maven Plugin + +#### Compile Dependency Updates + +* Updated `com.exasol:project-keeper-core:2.9.15` to `2.9.16` + +#### Test Dependency Updates + +* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.0` to `5.10.1` +* Updated `org.junit.jupiter:junit-jupiter-params:5.10.0` to `5.10.1` +* Updated `org.mockito:mockito-core:5.6.0` to `5.7.0` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-dependency-plugin:3.6.0` to `3.6.1` +* Updated `org.apache.maven.plugins:maven-failsafe-plugin:3.1.2` to `3.2.2` +* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.6.0` to `3.6.2` +* Updated `org.apache.maven.plugins:maven-plugin-plugin:3.10.1` to `3.10.2` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` + +### Project Keeper Java Project Crawler + +#### Compile Dependency Updates + +* Updated `com.exasol:project-keeper-shared-model-classes:2.9.15` to `2.9.16` + +#### Test Dependency Updates + +* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.0` to `5.10.1` +* Updated `org.junit.jupiter:junit-jupiter-params:5.10.0` to `5.10.1` +* Updated `org.mockito:mockito-core:5.6.0` to `5.7.0` +* Updated `org.mockito:mockito-junit-jupiter:5.6.0` to `5.7.0` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-dependency-plugin:3.6.0` to `3.6.1` +* Updated `org.apache.maven.plugins:maven-failsafe-plugin:3.1.2` to `3.2.2` +* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.6.0` to `3.6.2` +* Updated `org.apache.maven.plugins:maven-plugin-plugin:3.10.1` to `3.10.2` +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` + +### Project Keeper Shared Test Setup + +#### Compile Dependency Updates + +* Updated `com.exasol:project-keeper-shared-model-classes:2.9.15` to `2.9.16` + +#### Plugin Dependency Updates + +* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.1.2` to `3.2.2` diff --git a/maven-project-crawler/pk_generated_parent.pom b/maven-project-crawler/pk_generated_parent.pom index 69b43960..69bef45a 100644 --- a/maven-project-crawler/pk_generated_parent.pom +++ b/maven-project-crawler/pk_generated_parent.pom @@ -71,6 +71,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -135,7 +141,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 @@ -233,7 +239,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs @@ -275,7 +281,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.6.0 + 3.6.1 copy-jacoco @@ -295,10 +301,9 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.2 - + -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} true diff --git a/maven-project-crawler/pom.xml b/maven-project-crawler/pom.xml index 84ebc9c3..af22bb66 100644 --- a/maven-project-crawler/pom.xml +++ b/maven-project-crawler/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.10.1 + 3.10.2 org.basepom.maven diff --git a/parent-pom/pom.xml b/parent-pom/pom.xml index f032a773..95232ecf 100644 --- a/parent-pom/pom.xml +++ b/parent-pom/pom.xml @@ -28,12 +28,12 @@ - 2.9.15 + 2.9.16 3.9.5 3.6.3 - 5.10.0 + 5.10.1 2.9.1 - 5.6.0 + 5.7.0 UTF-8 UTF-8 11 @@ -80,10 +80,16 @@ yasson 3.0.3 + + + org.eclipse.parsson + parsson + 1.1.5 + org.apache.maven.plugin-tools maven-plugin-annotations - 3.10.1 + 3.10.2 provided @@ -198,7 +204,7 @@ nl.jqno.equalsverifier equalsverifier - 3.15.2 + 3.15.3 test diff --git a/project-keeper-cli/pk_generated_parent.pom b/project-keeper-cli/pk_generated_parent.pom index f8b6f83e..3591310d 100644 --- a/project-keeper-cli/pk_generated_parent.pom +++ b/project-keeper-cli/pk_generated_parent.pom @@ -63,6 +63,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -127,7 +133,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 @@ -275,7 +281,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs @@ -317,10 +323,9 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.2 - + -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} ${test.excludeTags} diff --git a/project-keeper-maven-plugin/pk_generated_parent.pom b/project-keeper-maven-plugin/pk_generated_parent.pom index 3cc9eedb..e9cb4875 100644 --- a/project-keeper-maven-plugin/pk_generated_parent.pom +++ b/project-keeper-maven-plugin/pk_generated_parent.pom @@ -71,6 +71,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -135,7 +141,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 @@ -233,7 +239,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs @@ -275,7 +281,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.6.0 + 3.6.1 copy-jacoco @@ -295,10 +301,9 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.2 - + -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} true diff --git a/project-keeper-maven-plugin/pom.xml b/project-keeper-maven-plugin/pom.xml index c2adbded..7ef8e4f7 100644 --- a/project-keeper-maven-plugin/pom.xml +++ b/project-keeper-maven-plugin/pom.xml @@ -87,7 +87,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.10.1 + 3.10.2 org.apache.maven.plugins diff --git a/project-keeper/pk_generated_parent.pom b/project-keeper/pk_generated_parent.pom index cc4068a7..f958c4e7 100644 --- a/project-keeper/pk_generated_parent.pom +++ b/project-keeper/pk_generated_parent.pom @@ -63,6 +63,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -127,7 +133,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 @@ -225,7 +231,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs @@ -267,10 +273,9 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.2 - + -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} ${test.excludeTags} diff --git a/project-keeper/src/main/resources/maven_templates/maven-compiler-plugin.xml b/project-keeper/src/main/resources/maven_templates/maven-compiler-plugin.xml index 3a818e3d..d85791f3 100644 --- a/project-keeper/src/main/resources/maven_templates/maven-compiler-plugin.xml +++ b/project-keeper/src/main/resources/maven_templates/maven-compiler-plugin.xml @@ -5,5 +5,11 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + diff --git a/project-keeper/src/main/resources/maven_templates/maven-dependency-plugin.xml b/project-keeper/src/main/resources/maven_templates/maven-dependency-plugin.xml index ffd99117..98d88064 100644 --- a/project-keeper/src/main/resources/maven_templates/maven-dependency-plugin.xml +++ b/project-keeper/src/main/resources/maven_templates/maven-dependency-plugin.xml @@ -1,7 +1,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.6.0 + 3.6.1 copy-jacoco diff --git a/project-keeper/src/main/resources/maven_templates/maven-failsafe-plugin.xml b/project-keeper/src/main/resources/maven_templates/maven-failsafe-plugin.xml index 69b94b5e..9b4714f0 100644 --- a/project-keeper/src/main/resources/maven_templates/maven-failsafe-plugin.xml +++ b/project-keeper/src/main/resources/maven_templates/maven-failsafe-plugin.xml @@ -1,10 +1,9 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.2 - + -Djava.util.logging.config.file=src/test/resources/logging.properties ${argLine} true diff --git a/project-keeper/src/main/resources/maven_templates/maven-javadoc-plugin.xml b/project-keeper/src/main/resources/maven_templates/maven-javadoc-plugin.xml index 9f47c7ef..3caed3f4 100644 --- a/project-keeper/src/main/resources/maven_templates/maven-javadoc-plugin.xml +++ b/project-keeper/src/main/resources/maven_templates/maven-javadoc-plugin.xml @@ -1,7 +1,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs diff --git a/project-keeper/src/main/resources/maven_templates/maven-surefire-plugin.xml b/project-keeper/src/main/resources/maven_templates/maven-surefire-plugin.xml index be46cfaf..1df03a7d 100644 --- a/project-keeper/src/main/resources/maven_templates/maven-surefire-plugin.xml +++ b/project-keeper/src/main/resources/maven_templates/maven-surefire-plugin.xml @@ -1,7 +1,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 diff --git a/shared-model-classes/pk_generated_parent.pom b/shared-model-classes/pk_generated_parent.pom index 883603c4..b9a5df75 100644 --- a/shared-model-classes/pk_generated_parent.pom +++ b/shared-model-classes/pk_generated_parent.pom @@ -63,6 +63,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -127,7 +133,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2 @@ -225,7 +231,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.0 + 3.6.2 attach-javadocs diff --git a/shared-test-setup/pk_generated_parent.pom b/shared-test-setup/pk_generated_parent.pom index 4fcc73b4..1e4c5d4e 100644 --- a/shared-test-setup/pk_generated_parent.pom +++ b/shared-test-setup/pk_generated_parent.pom @@ -52,6 +52,12 @@ ${java.version} ${java.version} + true + + + -Xlint:all,-processing + + @@ -116,7 +122,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.2