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

Plugin should declare these Maven artifacts in provided scope #615

Closed
OrangeDog opened this issue May 11, 2023 · 1 comment
Closed

Plugin should declare these Maven artifacts in provided scope #615

OrangeDog opened this issue May 11, 2023 · 1 comment

Comments

@OrangeDog
Copy link

Describe the bug (required)

Maven plugins should declare various dependencies as "provided".

Tell us about your plugin configuration (required)

<plugin>
  <groupId>pl.project13.maven</groupId>
  <artifactId>git-commit-id-plugin</artifactId>
  <configuration>
    <offline>true</offline>
  </configuration>
</plugin>

Tell us about the Plugin version used (required)

4.9.10

Tell us about the Maven version used (required)

mvn --version
Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c)
Maven home: C:\Users\me\.m2\wrapper\dists\apache-maven-3.9.2-bin\3238cb54\apache-maven-3.9.2
Java version: 11.0.19, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-11.0.19.7-hotspot
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

Steps to Reproduce (required)

mvn package -Dmaven.plugin.validation=VERBOSE

Are there any stacktraces or any error messages? (required)

[WARNING]  * pl.project13.maven:git-commit-id-plugin:4.9.10
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-settings-builder:3.0, org.apache.maven:maven-repository-metadata:3.0, org.apache.maven:maven-artifact:3.0, org.apache.maven:maven-plugin-api:3.0, org.apache.maven:maven-settings:3.0, org.apache.maven:maven-aether-provider:3.0, org.apache.maven:maven-model:3.0, org.apache.maven:maven-core:3.0, org.apache.maven:maven-model-builder:3.0]

Is there a (public) project where this issue can be reproduced? (optional)

No response

Your Environment (optional)

No response

Context (optional)

No response

TheSnoozer added a commit that referenced this issue May 11, 2023
#615: declare these Maven artifacts in provided scope
@TheSnoozer
Copy link
Collaborator

Thanks for taking the time to report this.

Fixed via #616

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

No branches or pull requests

2 participants