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

jacoco-maven-plugin causes warnings in Maven build output #1477

Closed
steinwelberg opened this issue Jun 8, 2023 · 1 comment
Closed

jacoco-maven-plugin causes warnings in Maven build output #1477

steinwelberg opened this issue Jun 8, 2023 · 1 comment
Labels
declined: duplicate ❌ This issue or pull request already exists type: bug 🐛 Something isn't working

Comments

@steinwelberg
Copy link

steinwelberg commented Jun 8, 2023

When running the jacoco-maven-plugin in a project with Maven version 3.9.2, it causes the below warning in the build output.

Steps to reproduce

  • JaCoCo version: jacoco-maven-plugin version 0.8.10
  • Operating system: MacOS
  • Tool integration: Maven, version 3.9.2
  • Complete executable reproducer: See attached zip file: example.zip
  • Steps: run: mvn clean install -Dmaven.plugin.validation=VERBOSE

Expected behaviour

No warnings displayed in the build output.

Actual behaviour

The following warning is displayed in the build log

[WARNING]  * org.jacoco:jacoco-maven-plugin:0.8.10
[WARNING]   Declared at location(s):
[WARNING]    * com.onewelcome:example:1.0-SNAPSHOT (pom.xml) @ line 74
[WARNING]   Used in module(s):
[WARNING]    * com.onewelcome:example:1.0-SNAPSHOT (pom.xml)
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin is a Maven 2.x plugin, which will be not supported in Maven 4.x
[WARNING]    * Plugin mixes multiple Maven versions: [3.0, 2.0.2]
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-repository-metadata:3.0, org.apache.maven:maven-artifact:3.0]
[WARNING]    * Plugin depends on plexus-container-default, which is EOL
@steinwelberg steinwelberg added the type: bug 🐛 Something isn't working label Jun 8, 2023
@steinwelberg steinwelberg changed the title jacoco-maven-plugin causes warnings in Maven build jacoco-maven-plugin causes warnings in Maven build output Jun 8, 2023
@Godin
Copy link
Member

Godin commented Jun 8, 2023

Duplicate of #1435

@Godin Godin marked this as a duplicate of #1435 Jun 8, 2023
@Godin Godin closed this as completed Jun 8, 2023
@Godin Godin added the declined: duplicate ❌ This issue or pull request already exists label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
declined: duplicate ❌ This issue or pull request already exists type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants