You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cstamas (via GitHub)" <gi...@apache.org> on 2023/06/26 15:31:16 UTC
[GitHub] [maven] cstamas opened a new pull request, #1186: [MNG-7826] Validate plugin transitive dependencies as well
cstamas opened a new pull request, #1186:
URL: https://github.com/apache/maven/pull/1186
As 3.9.3 lost this capability as it goes only for POM (direct dependencies) while transitive also does tell a lot.
Example output with this PR:
```
[WARNING]
[WARNING] Plugin [INTERNAL, EXTERNAL] validation issues were detected in following plugin(s)
[WARNING]
[WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10
[WARNING] Plugin EXTERNAL issue(s):
[WARNING] * Transitive dependencies contain Maven 2.x artifacts, which will be not supported in Maven 4.x
[WARNING] * Transitive dependencies mixes multiple Maven versions: [2.0.6, 2.0.2]
[WARNING] * Transitive dependencies contain plexus-container-default, which is EOL
[WARNING]
[WARNING] * org.apache.maven.plugins:maven-site-plugin:3.12.1
[WARNING] Declared at location(s):
[WARNING] * com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 580
[WARNING] Plugin EXTERNAL issue(s):
[WARNING] * Direct dependencies contain Maven 2.x compatibility layer, which will be not supported in Maven 4.x
[WARNING] * Transitive dependencies of Maven artifacts are not in `provided` scope. If the plugin already declares them in `provided` scope, update the maven-plugin-plugin to latest version. Artifacts found with wrong scope: [org.apache.maven:maven-plugin-api:3.2.5, org.apache.maven:maven-model:3.2.5, org.apache.maven:maven-core:3.2.5, org.apache.maven:maven-settings:3.2.5, org.apache.maven:maven-model-builder:3.2.5, org.apache.maven:maven-repository-metadata:3.2.5, org.apache.maven:maven-aether-provider:3.2.5, org.apache.maven:maven-settings-builder:3.2.5, org.apache.maven:maven-artifact:3.2.5]
[WARNING] * Transitive dependencies contain plexus-container-default, which is EOL
[WARNING] Mojo EXTERNAL issue(s):
[WARNING] * Mojo site:attach-descriptor (org.apache.maven.plugins.site.descriptor.SiteDescriptorAttachMojo)
[WARNING] - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.
[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): [NONE, INLINE, SUMMARY, BRIEF, VERBOSE]
[WARNING]
```
---
https://issues.apache.org/jira/browse/MNG-7826
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [maven] cstamas commented on pull request #1186: [MNG-7826] Validate plugin transitive dependencies as well
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on PR #1186:
URL: https://github.com/apache/maven/pull/1186#issuecomment-1609999857
This is not going in as it is, details on JIRA issue. Making this into DRAFT.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org