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

Validation warning, plugin should declare these Maven artifacts in provided scope #160

Closed
happyhua opened this issue Aug 3, 2023 · 1 comment

Comments

@happyhua
Copy link

happyhua commented Aug 3, 2023

[WARNING] 
[WARNING] Plugin validation issues were detected in 1 plugin(s)
[WARNING] 
[WARNING]  * net.ltgt.gwt.maven:gwt-maven-plugin:1.0.1
[WARNING]   Declared at location(s):
[WARNING]    ...
[WARNING]   Used in module(s):
[WARNING]    ...
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-settings:3.3.1, org.apache.maven:maven-plugin-api:3.3.1, org.apache.maven:maven-model-builder:3.3.1, org.apache.maven:maven-model:3.3.1, org.apache.maven:maven-artifact:3.3.1, org.apache.maven:maven-settings-builder:3.3.1, org.apache.maven:maven-repository-metadata:3.3.1, org.apache.maven:maven-builder-support:3.3.1, org.apache.maven:maven-core:3.3.1, org.apache.maven:maven-aether-provider:3.3.1]
[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]
@tbroyer
Copy link
Owner

tbroyer commented Aug 22, 2023

Which version of Maven, and which maven.plugin.validation setting, are you using?
I cannot reproduce this warning with Maven 3.9.3 (I happen to locally still have Maven 3.8, so without plugin validation, explaining why I had never seen any similar warning; I'm thus trying to reproduce with a Docker image, and Docker Hub currently is still 3.9.3, not 3.9.4)
I do have a warning about localRepository in gwt:test (inherited from Surefire, that will have to be updated some day) but not about the dependency scopes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants