mojohaus / versions

Versions Maven Plugin
https://www.mojohaus.org/versions/versions-maven-plugin/
Apache License 2.0
328 stars 266 forks source link

Plugin validation issues were detected (warning) #954

Closed eitan-rosenberg closed 1 year ago

eitan-rosenberg commented 1 year ago

Hello there,

I just replaced apache-maven-3.9.1 with apache-maven-3.9.2.

When I run "versions:use-next-releases" I am getting a warning regarding org.codehaus.mojo:versions-maven-plugin:2.15.0

Can you please shed some light on this warning

[INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ----------------< Apache.Pool.Tests:Apache.Pool.Tests >----------------- [INFO] Building Apache.Pool.Tests 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.15.0:use-next-releases (default-cli) @ Apache.Pool.Tests --- [INFO] Updated org.apache.commons:commons-pool2:jar:2.11.0 to version 2.11.1 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.830 s [INFO] Finished at: 2023-05-11T15:33:13+03:00 [INFO] ------------------------------------------------------------------------ [WARNING] [WARNING] Plugin validation issues were detected in 2 plugin(s) [WARNING] [WARNING] org.apache.maven.plugins:maven-site-plugin:3.12.1 [WARNING] org.codehaus.mojo:versions-maven-plugin:2.15.0 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING]

There is a mention of "Plugin validation" in the Release Notes page ( https://maven.apache.org/docs/3.9.2/release-notes.html#notable-new-features )

Thanks in advance for any response.

eitan-rosenberg commented 1 year ago

Update: when I use VERBOSE I get :

Plugin depends on plexus-container-default, which is EOL

image

jarmoniuk commented 1 year ago

Looks overly pedantic to me, but I've created a PR to get rid of that.

eitan-rosenberg commented 1 year ago

Looks overly pedantic to me, but I've created a PR to get rid of that.

Well... for my defense all I can say is that I thought that there is a problem ;-) At my age, EOL is not very far.

jarmoniuk commented 1 year ago

Oh I wasn't saying you were being pedantic. :)

On the other hand, I see there's gonna be lots of similar warning messages for other plugins as well.