ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: fixing dependency errors
Date Fri, 24 Oct 2008 06:58:30 GMT
On Fri, 2008-10-24 at 02:43 -0400, Ryan McKinley wrote:
> Hi-

Hi Ryan

> I'm new to ivy and trying to make it work for a new apache project:
> I'm trying to add a module that depends on apache solr.  When I add:
> <dependency org="org.apache.solr" name="solr-core" rev="1.3.0"/>
> Then i get the error:
> java.text.ParseException: inconsistent module descriptor file found in  
> ''

> : bad organisation: expected='org.apache.commons' found='commons-io';
> When I check out that pom, it has:
> <modelVersion>4.0.0</modelVersion>
> <groupId>commons-io</groupId>
> <artifactId>commons-io</artifactId>
> <name>Commons IO</name>
> <version>1.3.2</version>
> Any pointers on how to fix this?  

I am as well very interested in the best practice since now I always
worked around such problems.

You can do 'mkdir commons-io' and add an ivy-commons-io-1.3.2.xml file. 

<ivy-module version="1.0">
  <info organisation="commons-io" module="commons-io"
    <conf name="core" visibility="public" />
    <artifact name="commons-io" type="jar" ext="jar" conf="core"

That should work fine but I am not sure whether that is the best

Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

View raw message