Completed
Details
Assignee
Alex MillerAlex MillerReporter
importimportPriority
Major
Details
Details
Assignee
Alex Miller
Alex MillerReporter
import
importPriority

Created January 18, 2018 at 10:13 PM
Updated January 19, 2018 at 12:58 PM
Resolved January 19, 2018 at 12:58 PM
Context
I'd like to leverage
mvn dependency:tree
plugin to figure out the conflicts in transitive dependencies, asclj
currently doesn't provide a feature equivalent tolein deps :tree
.Problem
pom.xml
generated byclj -Spom
doesn't convey exclusions defined indeps.edn
. Here is a snippet ofpom.xml
generated in
tools.deps
project itself.deps.edn
{:deps { ... org.apache.maven/maven-aether-provider {:mvn/version "3.3.9" :exclusions [org.eclipse.aether/aether-api org.eclipse.aether/aether-spi org.eclipse.aether/aether-util org.eclips.aether/aether-impl]} ...}}
pom.xml
... <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-aether-provider</artifactId> <version>3.3.9</version> </dependency> ...
I expect dependency exclusion directive is generated in
<dependency>
tag.... <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-aether-provider</artifactId> <version>3.3.9</version> <exclusions> <exclusion> <groupId>org.eclipse.aether</groupId> <artifactId>aether-api</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.aether</groupId> <artifactId>aether-spi</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.aether</groupId> <artifactId>aether-util</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.aether</groupId> <artifactId>aether-impl</artifactId> </exclusion> </exclusions> </dependency> ...