Using Maven 3.9.2,  we see the following style of output:

Plugin validation issues were detected in 14 plugin(s)

* org.apache.maven.plugins:maven-compiler-plugin:3.8.1
* org.codehaus.mojo:rpm-maven-plugin:2.2.0
* ....

I believe that it would be useful for the output to include information on the 
latest version of each plugin.  In the example above, maven-compiler-plugin is 
out of date and rpm-maven-plugin 2.2.0 is the latest version available. Having 
the latest version information displayed in context makes it a wee bit easier 
to decide what to do first about warnings...  specifically, update those that 
are out of date.  And updating maven-compiler-plugin gets rid of the warning.

Is there are reason why the above might be a pain to implement?   If  others 
agree that this would have then I will log an improvement issue in JIRA.

I also used the verbose output...

* org.codehaus.mojo:rpm-maven-plugin:2.2.0
Declared at location(s):
  * xxx
Used in module(s):
  * yyy
Plugin issue(s):
  * Plugin is a Maven 2.x plugin, which will be not supported in Maven 4.x
  * Plugin depends on plexus-container-default, which is EOL

Does "will be not supported in Maven 4.x" mean that the plugin will not work in 
4.0.0, or that there might be problems? (with the possibility of breakage as 
future 4.x releases become available).

So plexus-container-default is EOL.    What replaces it?

I am happy to log an issue for the warnings in the rpm-maven-plugin GitHub 
repo...  but I do like to provide as much information as possible in order to 
help with triage.

For another plugin (sonar-maven-plugin:3.9.1.2184), I see:

* Plugin depends on the deprecated Maven 2.x compatibility layer, which may not 
be supported in Maven 4.x

May?   This sounds a bit vague.  Does the plugin need to be fixed sooner rather 
than later?


Mark Symons
Software Security Specialist, UK Delivery
Fujitsu
Langley Gate, Swindon Road, Kington Langley, Chippenham, SN15 5SE
UK
Tel: +44 (0) 7917 747950
Email: [email protected]
Web: https://www.fujitsu.com/uk/



Unless otherwise stated, this email has been sent from Fujitsu Services Limited 
(registered in England No 96056); Fujitsu EMEA PLC (registered in England No 
2216100) both with registered offices at: Lovelace Road, Bracknell, Berkshire 
RG12 8SN; PFU (EMEA) Limited, (registered in England No 1578652) registered 
offices at: Belmont, Belmont Road, Uxbridge, England, UB8 1HE and Fujitsu 
Research of Europe Ltd (registered in England No. 4153469) 4th Floor, Building 
3, Hyde Park Hayes, 11 Millington Road, Hayes, UB3 4AZ.

This email is only for the use of its intended recipient. Its contents are 
subject to a duty of confidence and may be privileged. Fujitsu does not 
guarantee that this email has not been intercepted and amended or that it is 
virus-free.

Reply via email to