Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.12
-
None
Description
the default Ivy settings file used is:
https://github.com/apache/groovy/blob/183b8fbf0248a2dceffbba684e50c3c2c060e46c/src/resources/groovy/grape/defaultGrapeConfig.xml#L29
it contains:
<ibiblio name="localm2" root="file:${user.home}/.m2/repository/"
which leads to this kind of error on windows when the file is available in the local m2 repo:
:: downloading artifacts ::
Preparing to download artifact org.apache.camel#camel-catalog-provider-karaf;2.19.2!camel-catalog-provider-karaf.jar
trying file:C:\Users\Aurelien Pupier/.m2/repository/org/apache/camel/camel-catalog-provider-karaf/2.19.2/camel-catalog-provider-karaf-2.19.2.jar
tried file:C:\Users\Aurelien Pupier/.m2/repository/org/apache/camel/camel-catalog-provider-karaf/2.19.2/camel-catalog-provider-karaf-2.19.2.jar
downloading file:C:/Users/Aurelien Pupier/.m2/repository/org/apache/camel/camel-catalog-provider-karaf/2.19.2/camel-catalog-provider-karaf-2.19.2.jar ...
localm2: downloading file:C:/Users/Aurelien Pupier/.m2/repository/org/apache/camel/camel-catalog-provider-karaf/2.19.2/camel-catalog-provider-karaf-2.19.2.jar
to C:\Users\Aurelien Pupier\.groovy\grapes\org.apache.camel\camel-catalog-provider-karaf\jars\camel-catalog-provider-karaf-2.19.2.jar.part
java.lang.IllegalArgumentException: Invalid uri 'file:C:/Users/Aurelien Pupier/.m2/repository/org/apache/camel/camel-catalog-provider-karaf/2.19.2/camel-catalog-provider-karaf-2.19.2.jar': incorrect path
Attachments
Attachments
Issue Links
- blocks
-
CAMEL-11727 Upgrade Groovy to version containing Ivy fixes for cache resolution
- Resolved
- relates to
-
IVY-1567 Error populating cache from local m2 repo
- Resolved
- links to