Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address warnings generated by Maven plugin when used with Maven 3.9 #378

Closed
snicoll opened this issue May 24, 2023 · 0 comments
Closed

Address warnings generated by Maven plugin when used with Maven 3.9 #378

snicoll opened this issue May 24, 2023 · 0 comments

Comments

@snicoll
Copy link
Contributor

snicoll commented May 24, 2023

Maven 3.9 ships additional checks that lead to warnings at the end of the build. Here's the verbose output:

[WARNING]  * io.spring.javaformat:spring-javaformat-maven-plugin:0.0.39
[WARNING]   Declared at location(s):
[WARNING]    * io.spring.initializr:initializr:${revision} (pom.xml) @ line 92
[WARNING]   Used in module(s):
[WARNING]    * io.spring.initializr:initializr:0.20.0-SNAPSHOT (pom.xml)
[WARNING]    * io.spring.initializr:initializr-bom:0.20.0-SNAPSHOT (initializr-bom/pom.xml)
[WARNING]    * io.spring.initializr:initializr-parent:0.20.0-SNAPSHOT (initializr-parent/pom.xml)
[WARNING]    * io.spring.initializr:initializr-generator:0.20.0-SNAPSHOT (initializr-generator/pom.xml)
[WARNING]    * io.spring.initializr:initializr-metadata:0.20.0-SNAPSHOT (initializr-metadata/pom.xml)
[WARNING]    * io.spring.initializr:initializr-generator-test:0.20.0-SNAPSHOT (initializr-generator-test/pom.xml)
[WARNING]    * io.spring.initializr:initializr-generator-spring:0.20.0-SNAPSHOT (initializr-generator-spring/pom.xml)
[WARNING]    * io.spring.initializr:initializr-web:0.20.0-SNAPSHOT (initializr-web/pom.xml)
[WARNING]    * io.spring.initializr:initializr-actuator:0.20.0-SNAPSHOT (initializr-actuator/pom.xml)
[WARNING]    * io.spring.initializr:initializr-docs:0.20.0-SNAPSHOT (initializr-docs/pom.xml)
[WARNING]    * io.spring.initializr:initializr-service-sample:0.20.0-SNAPSHOT (initializr-service-sample/pom.xml)
[WARNING]    * io.spring.initializr:initializr-version-resolver:0.20.0-SNAPSHOT (initializr-version-resolver/pom.xml)
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-plugin-api:3.5.0, org.apache.maven:maven-model:3.5.0, org.apache.maven:maven-artifact:3.5.0]
@snicoll snicoll added this to the 0.0.40 milestone May 24, 2023
@wilkinsona wilkinsona changed the title Maven plugin generates a warning with Maven 3.9.2 Address warnings generated by Maven plugin when used with Maven 3.9 Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants