ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Young Matthew (4004)" <>
Subject SV: ivy url against zip with necessary jars
Date Mon, 12 Jul 2010 20:36:23 GMT
Just a quick follow-up

Unzipping the Resteasy 2.0-beta4 to:

There I create a ivy.xml file:
     <ivy-module version="2.0">
          <info organisation="org.jboss.resteasy" module="resteasy-example"/>
               <artifact name="resteasy-jaxb-provider" type="jar" ext="jar"/>

A seperate Ivy settings to do the publishing:
          <property name="repo.dir" value=".../repo"/>
           <settings defaultResolver="internal"/>
                <filesystem name="internal">
                     <ivy pattern="${repo.dir}/[module]/ivy-[revision].xml" />
                     <artifact pattern="${repo.dir}/[module]/[artifact]-[revision].[ext]"

Then standing in the C:\workshop\downloads\resteasy-jaxrs-2.0-beta-4 directory publish to
java -jar $IVY -settings ivysettings.xml \
        -ivy lib/ivy.xml \
        -publish internal \
        -publishpattern "lib/[artifact].[ext]" \
        -revision 2.0-beta-4 \
        -status release \

About right?  Using the same organisation as the Resteasy project just a totally difference
module name.

/ matthew

-----Ursprungligt meddelande-----
Från: [] För Archie Cobbs
Skickat: den 12 juli 2010 16:33
Ämne: Re: ivy url against zip with necessary jars

One common strategy is to create your own local repository with exactly what you want (creating
ivy.xml files as necessary).

Alternately if you are feeling open-sourcey then submit bug requests to Ivy RoundUp <>
with the modules/revisions you need that are not already in there and wait for us to add them
(usually pretty quick).


On Mon, Jul 12, 2010 at 7:42 AM, Young Matthew (4004) <>

> Using latest IvyDE in Eclipse....
> (Used Ivy for about 2 hours now)  How do people pull in dependencies 
> to non-repo artifats?  Say I need to define a dependency to DB2 JDBC 
> drivers (2 jar files) that are located in a ZIP file.  Similar thing 
> with dependencies to RestEasy.  The latest revision isn't accessable 
> via the maven2 repo (
> but the code is packaged off the 
> sourceforge site ( 
>  Everything I need is in a zip and the individual jars contain pom.xml
> (maven) descriptors.
> 2 different problems.  The JDBC drivers don't ship with maven/ivy 
> descriptors.  The RestEasy zip does (for some reason the beta 4 isn't 
> in the latest).
> thanks / Matthew Young

Archie L. Cobbs

View raw message