Looks reasonable... if it works, it works :-) -Archie
On Mon, Jul 12, 2010 at 3:36 PM, Young Matthew (4004) < [email protected]> wrote: > Just a quick follow-up > > Unzipping the Resteasy 2.0-beta4 to: > C:\workshop\downloads\resteasy-jaxrs-2.0-beta-4 > > There I create a ivy.xml file: > <ivy-module version="2.0"> > <info organisation="org.jboss.resteasy" > module="resteasy-example"/> > <publications> > <artifact name="resteasy-jaxb-provider" type="jar" > ext="jar"/> > ..... > </publications> > </ivy-module> > > A seperate Ivy settings to do the publishing: > <ivysettings> > <property name="repo.dir" value=".../repo"/> > <settings defaultResolver="internal"/> > <resolvers> > <filesystem name="internal"> > <ivy pattern="${repo.dir}/[module]/ivy-[revision].xml" > /> > <artifact > pattern="${repo.dir}/[module]/[artifact]-[revision].[ext]" /> > </filesystem> > </resolvers> > </ivysettings> > > > 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 \ > -overwrite > > About right? Using the same organisation as the Resteasy project just a > totally difference module name. > > > / matthew > > -----Ursprungligt meddelande----- > Från: [email protected] [mailto:[email protected]] För Archie > Cobbs > Skickat: den 12 juli 2010 16:33 > Till: [email protected] > Ä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 <http://code.google.com/p/ivyroundup/wiki/HowToContribute> with > the modules/revisions you need that are not already in there and wait for us > to add them (usually pretty quick). > > -Archie > > On Mon, Jul 12, 2010 at 7:42 AM, Young Matthew (4004) < > [email protected]> wrote: > > > 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 ( > > http://repository.jboss.org/maven2) but the code is packaged off the > > sourceforge site ( > > http://sourceforge.net/projects/resteasy/files/Resteasy%20JAX-RS/). > > 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 > -- Archie L. Cobbs
