spring-io / spring-javaformat

Apache License 2.0
812 stars 110 forks source link

Plugin validation warning #385

Closed John-Chan closed 1 year ago

John-Chan commented 1 year ago

When I run spring-javaformat:apply -Dmaven.plugin.validation=VERBOSE , Maven warns about plugin validation issues. This warning only occurs occasionally.

[WARNING] 
[WARNING] Plugin validation issues were detected in 1 plugin(s)
[WARNING] 
[WARNING]  * io.spring.javaformat:spring-javaformat-maven-plugin:0.0.39
[WARNING]   Declared at location(s):
[WARNING]    * unknown
[WARNING]   Used in module(s):
[WARNING]    * com.power4j.kit:coca-parent:0.1.x-SNAPSHOT (pom.xml)
[WARNING]    * com.power4j.kit:coca-common:0.1.x-SNAPSHOT (coca-common\pom.xml)
[WARNING]    * com.power4j.kit:coca-native:0.1.x-SNAPSHOT (coca-native\pom.xml)
[WARNING]    * com.power4j.kit:coca-bom:0.1.x-SNAPSHOT (coca-bom\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]
[WARNING] 
[WARNING] 
[WARNING] Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues.
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING] 

Process finished with exit code 0
wilkinsona commented 1 year ago

Duplicates #378.