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

duplicate declaration of maven-dependency-plugin in model org.dspace.modules:server:war #9593

Open
saschaszott opened this issue May 16, 2024 · 1 comment
Labels
bug code task Code cleanup task help wanted Needs a volunteer to claim to move forward

Comments

@saschaszott
Copy link
Contributor

Bug Description

mvn clean on dspace-parent returns a warning

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.dspace.modules:server:war:8.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ line 71, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 

It is caused by the duplicate declaration of maven-dependency-plugin in dspace/modules/server/pom.xml:

<artifactId>maven-dependency-plugin</artifactId>

<artifactId>maven-dependency-plugin</artifactId>

Is it possible to merge both declarations in dspace/modules/server/pom.xml?

@saschaszott saschaszott added bug needs triage New issue needs triage and/or scheduling labels May 16, 2024
@saschaszott saschaszott changed the title duplicate declaration of maven-dependency-plugin in model for org.dspace.modules:server:war duplicate declaration of maven-dependency-plugin in model org.dspace.modules:server:war May 16, 2024
@tdonohue
Copy link
Member

Needs a volunteer. It should be possible to merge these, but someone needs to look into the best way to do so.

@tdonohue tdonohue added code task Code cleanup task help wanted Needs a volunteer to claim to move forward and removed needs triage New issue needs triage and/or scheduling labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug code task Code cleanup task help wanted Needs a volunteer to claim to move forward
Projects
Status: 📋 To Do
Development

No branches or pull requests

2 participants