Closed luigigubello closed 1 year ago
@luigigubello Thanks for your reporting! I could reproduce the problem. It's a bug.
I'll fix it later :)
@luigigubello I fix the bug in bugfix/pom-exclusions branch. Could you try?
@liquidz running antq@da6f5af9a3cd474a3703d0fdcaac5d5dc179550b
, the bug seems to be fixed, thank you 🤗
@luigigubello Thanks for your confirmation! Just released v2.4.1070 :)
Problem:
Under certain conditions,
antq
crashes when it tries to update dependencies inpom.xml
.Error:
How to reproduce:
This bug is interesting because it happens for
pom.xml
but not fordeps.edn
.deps.edn
, it needs to have this condition:We are excluding
com.bar/bar
fromcom.foo/foo
, but we are addingcom.bar/bar
in our dependency on the same level ofcom.foo/foo
.antq
works like a charm.deps.edn
into an equivalentpom.xml
by running the commandclojure -X:deps mvn-pom
. In thepom.xml
file we should have:pom.xml
usingantq
antq
crashes, and it return the initial error:Removing the exclusion from
pom.xml
, it doesn't crash.Is this a bug? Might it be possible to align
antq
behavior fordeps.edn
and generatedpom.xml
? Thanks in advace