[ https://issues.apache.org/jira/browse/MENFORCER-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550224#comment-17550224 ]
T. Mohme commented on MENFORCER-401: ------------------------------------ Unfortunately I no longer have access to the project were I found the behavior in question. > DependencyConvergence ignores exclusions > ---------------------------------------- > > Key: MENFORCER-401 > URL: https://issues.apache.org/jira/browse/MENFORCER-401 > Project: Maven Enforcer Plugin > Issue Type: Bug > Components: Plugin, Standard Rules > Affects Versions: 3.0.0 > Reporter: T. Mohme > Priority: Critical > Fix For: waiting-for-feedback > > > In my project there is a transitive dependency on an artifact ("idlj-idl") > with scope=provided that cannot be resolved (this probably is a different > problem) - so far, so good (bad). > {noformat} > ... > Caused by: org.eclipse.aether.collection.DependencyCollectionException: > Failed to collect dependencies at com.acme:my-project:jar:1.0.0 -> > io.quarkus:quarkus-flyway:jar:2.2.3.Final -> > io.quarkus:quarkus-agroal:jar:2.2.3.Final -> > io.quarkus:quarkus-narayana-jta:jar:2.2.3.Final -> > org.jboss.narayana.jts:narayana-jts-integration:jar:5.12.0.Final -> > org.jboss.narayana.jts:idlj-idl:jar:5.12.0.Final > ...{noformat} > Interestingly, `./mvnw dependency:tree` doesn't show this dependency. > The tree descends only down to "narayana-jts-integration". > When I exclude the unresolvable dependency ("idle-idl") from an artifact > before it in the chain shown by the exception cause, this has no impact: > {noformat} > <dependency> > <groupId>io.quarkus</groupId> > <artifactId>quarkus-agroal</artifactId> > <exclusions> > <exclusion> > <groupId>org.jboss.narayana.jts</groupId> > <artifactId>idlj-idl</artifactId> > </exclusion> > </dependency> > {noformat} -- This message was sent by Atlassian Jira (v8.20.7#820007)