[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:
Bug Description
mvn clean
ondspace-parent
returns a warningIt is caused by the duplicate declaration of
maven-dependency-plugin
indspace/modules/server/pom.xml
:https://github.com/DSpace/DSpace/blob/50aaec1ee223991e2a777e3da1186aaf301db11d/dspace/modules/server/pom.xml#L27
https://github.com/DSpace/DSpace/blob/50aaec1ee223991e2a777e3da1186aaf301db11d/dspace/modules/server/pom.xml#L73
Is it possible to merge both declarations in
dspace/modules/server/pom.xml
?