mirror of https://github.com/apache/maven.git
[MNG-6240] Duplicate components in plugin extension realm when plugin depends on maven-aether-resolver
Maven Core needs to export the maven-aether-provider artifact so that its components do not get added twice in plugin realm. This happens if the build uses an extension plugin depending on maven-aether-provider, before it was renamed to maven-resolver-provider
This commit is contained in:
parent
12d6471337
commit
a1fe421995
|
@ -134,6 +134,11 @@ under the License.
|
|||
<exportedArtifact>org.sonatype.sisu:sisu-inject-plexus</exportedArtifact>
|
||||
<exportedArtifact>org.eclipse.sisu:org.eclipse.sisu.plexus</exportedArtifact>
|
||||
<exportedArtifact>org.apache.maven:maven-artifact</exportedArtifact>
|
||||
<!--
|
||||
| MNG-6240: Plugins might depend on maven-aether-provider <= 3.3.9 before the rename to maven-resolver-provider.
|
||||
| Since backwards-compatibility was kept, Maven Core also provides this artifact.
|
||||
-->
|
||||
<exportedArtifact>org.apache.maven:maven-aether-provider</exportedArtifact>
|
||||
<exportedArtifact>org.apache.maven:maven-resolver-provider</exportedArtifact>
|
||||
<exportedArtifact>org.apache.maven:maven-artifact-manager</exportedArtifact>
|
||||
<exportedArtifact>org.apache.maven:maven-compat</exportedArtifact>
|
||||
|
|
Loading…
Reference in New Issue