-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Affected version
4.0.0-rc3, 4.0.0-rc4
Bug description
I face the issue when trying to upgrade Maven 4 for Spark apache/spark#51230
Maven 4.0.0-rc-2 works, but it starts to fail since RC3 with
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.4:install (default-install) on project spark-tags_2.13: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:3.1.4:install failed: Duplicate dependency: Dependency {groupId=org.scalatest, artifactId=scalatest_2.13, version=3.2.19, type=jar} -> [Help 1]
Looks like the issue is related to maven-shade-plugin, I created a minimal project to reproduce it, mvn clean install works with 4.0.0-rc-2 but fails with rc-3 and the rc-4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working