ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teknokrat <>
Subject Re: How do I get dependecies out of a maven repo?
Date Fri, 23 Sep 2011 07:32:37 GMT
On 22/09/2011 15:17, Geoff Clitheroe wrote:
> You most probably need to set your resolvers to be Maven compatible
> (in your settings file) e.g.,
> 	<property name="ivy.shared.m2.ivy.pattern"
> 		value="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
> 		override="false"/>
> 	<property name="ivy.shared.m2.artifact.pattern"
> 		value="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
> 		override="false"/>
> 		<url name="" m2compatible="true">
> 			<ivy pattern="${ivy.shared.m2.ivy.pattern}"/>
> 			<artifact pattern="${ivy.shared.m2.artifact.pattern}"/>
> 		</url>
> There is a complete settings file here

Thanks but I am using the ibiblio resolvers and everything else works 
perfectly. I do not publish the Ivy file however, instead I create a POM 
and publish that. My publications element is of the form:

    <artifact type="pom" ext="pom" />
    <artifact type="config" conf="config" ext="jar" e:classifier="config"/>

It seems to me that Ivy for some reason is looking for module-config.pom 
and when it cannot find it refuses to download the updated config jar. 
Yet it downloads the sources and javadoc fine.

The log always shows the config jar as NOT REQUIRED, in spite of showing 
the correct url where the jar resides.

View raw message