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

Remove duplicated declarations in pom #14

Open
dcremonini opened this issue May 15, 2020 · 0 comments · May be fixed by #15
Open

Remove duplicated declarations in pom #14

dcremonini opened this issue May 15, 2020 · 0 comments · May be fixed by #15
Assignees

Comments

@dcremonini
Copy link
Collaborator

dcremonini commented May 15, 2020

Remove warning about duplicated declarations from pom project of the plugins below:

maven-surefire-plugin
maven-failsafe-plugin
jacoco-maven-plugin

Symptom:

$ mvn clean

Some problems were encountered while building the effective model for org.dpppt:dpppt-backend-sdk-model:jar:1.0.0-SNAPSHOT
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ org.dpppt:dpppt-backend-sdk:1.0.0-SNAPSHOT, /home/daniele/projects/github/noiapp/noi-app-backend/dpppt-backend-sdk/pom.xml, line 197, column 12
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-failsafe-plugin @ org.dpppt:dpppt-backend-sdk:1.0.0-SNAPSHOT, /home/daniele/projects/github/noiapp/noi-app-backend/dpppt-backend-sdk/pom.xml, line 207, column 12
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.jacoco:jacoco-maven-plugin @ org.dpppt:dpppt-backend-sdk:1.0.0-SNAPSHOT, /home/daniele/projects/github/noiapp/noi-app-backend/dpppt-backend-sdk/pom.xml, line 224, column 12
Some problems were encountered while building the effective model for org.dpppt:dpppt-backend-sdk:pom:1.0.0-SNAPSHOT
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 197, column 12
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-failsafe-plugin @ line 207, column 12
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.jacoco:jacoco-maven-plugin @ line 224, column 12
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
@dcremonini dcremonini self-assigned this May 15, 2020
@dcremonini dcremonini linked a pull request May 16, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant