Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.2.2
-
None
Description
In my Ivy repo, there exists the following directory with the following contents:
com/example/foo/bar/1.2.3/ bar-1.2.3.jar bar-1.2.3.ivy bar-qux-1.2.3.jar
In bar-1.2.3.ivy, the following conf and publication exist:
bar-1.2.3.ivy
... <configurations> <conf name="qux"/> ... </configurations> ... <publications> <artifact name="bar" type="jar" ext="jar" conf="apiElements,archives,runtime,runtimeElements"/> <artifact name="bar-qux" type="jar" ext="jar" conf="qux"/> ... </publications> ...
When I try to use Grape to resolve bar-qux-1.2.3.jar by setting
- org = com.example.foo
- module = bar
- version = 1.2.3
- conf = qux
bar-1.2.3.jar gets downloaded instead of bar-qux-1.2.3.jar.
This issue seems to be caused by GROOVY-6470. The correct jar (bar-qux-1.2.3.jar) gets downloaded when using groovy-all-2.2.1, but the wrong jar is downloaded when using groovy-all-2.2.2 and newer.
Attachments
Attachments
Issue Links
- is related to
-
GROOVY-6470 @Grab does not work if the same dependency is used with and without a classifier
- Closed
- links to