Re: Artifactory / Nexus and Ivy

2011-07-18 Thread Chris Marks
Since Ivy can and does use standard Maven repositories, you should be able to use Nexus or any other Maven repository manager you like. Thanks, topher On Mon, Jul 18, 2011 at 9:28 AM, Not Zippy wrote: > We use apaches archiva (http://archiva.apache.org/) > > On Mon, Jul 18, 2011 at 10:10 AM, Ma

Re: Publishing...

2011-03-24 Thread Chris Marks
While that may certainly be the case, it appears you are attempting to use a cache as a private Maven repository, of which there are some very good free solutions. If you have not done so, I would suggest you take a look at some and see if they fit the needs you are trying to portray here. Two th

Re: Just the artifact I want...

2011-03-23 Thread Chris Marks
I don't regularly wipe our cache, but it's certainly possible. When I reference one of my own modules, I generally add 'changing=true' to the dependency definition. This always checks the repository for an updated module. Topher On Mar 23, 2011 8:52 AM, "Richard_Senior" wrote: > > > topher1120 wr

Re: Just the artifact I want...

2011-03-23 Thread Chris Marks
I believe it does the same, just in a different scope. I personally use the attribute on "dependency" so I can pick and choose. Thanks, Topher On Mar 23, 2011 8:25 AM, "Richard_Senior" wrote: > > > Archie Cobbs wrote: >> >> Try adding transitive="false" to your definition. >> >> I use this often

Re: IvyDE - GWT projects in Eclipse

2010-10-06 Thread Chris Marks
This is actually a problem in how your dependency is built. In the dependency you are using, you need to include both the class files and the java files in the jar. This is especially important if you are using a build script outside of Eclipse (say in a continuous build environment). It doesn't

Re: Ivy housekeeping, repository cleaning

2010-09-06 Thread Chris Marks
Not sure what Maven repository you're using, but Artifactory provides the ability to remove jars after a certain time of not being requested. We keep all of our internal builds, but we use this for third party binaries. Hope this helps Thanks On Sep 6, 2010 8:18 AM, "Steve Miller" wrote: Hi Ge

Re: Suggestions for publishing to Ivy repo from Hudson using ssh

2010-06-16 Thread Chris Marks
Although I don't know a direct way to do what you are asking, I thought I'd mention that if you have some flexibility in your Ivy repository, you might look into Artifactory (http://www.jfrog.org/index.php) which manages a Maven/Ivy repository and provides a way for users to generate an encrypted v

Re: example ivy & build.xml file for spring/jsf/hibernate project

2010-04-29 Thread Chris Marks
It looks like you're on the right track with (2). On the ant target, use the pattern attribute and the conf attribute to get things in the right directory. Here's an example of what I use: The pattern attribute tells ivy where to copy the files to. In my case, I download all the dependencies sp

Re: Publish the source jar - the jar file is the binary

2010-01-27 Thread Chris Marks
My ivy.xml and publish target are slightly different. I also have a maven classifier on my artifacts. First, in ivy.xml, I added xmlns:m="* http://ant.apache.org/ivy/maven*"; to the ivy-module definition. My artifact definitions are such: In ant, I separated the files by type into their

Re: Issue with maven snapshot pull strategy

2010-01-15 Thread Chris Marks
I'm not sure, but I think the feature you're looking for is controlled by ivy.xml for the project, not the settings file. We have some projects that rely on snapshot versions of some internal libraries. On the dependency element in ivy.xml add 'changing="true"'. Thanks, topher On Fri, Jan 15, 2

Re: Finding dependent projects

2009-11-02 Thread Chris Marks
I've started looking into the Ivy plugin for Hudson to do this, but haven't implemented it into my build process yet. See http://wiki.hudson-ci.org/display/HUDSON/Ivy+Plugin for more info on the plugin. Thanks, topher On Mon, Nov 2, 2009 at 1:51 PM, Craig Setera wrote: > Has anyone used Ivy t

Re: IvyDE Source Attachments?

2009-10-30 Thread Chris Marks
I got this to work in a bit of a different way. Not sure if it's really correct, but it publishes to our Maven repo correctly (also have it publishing javadoc this way). Let's take my project for some additional unit test functions called unit-test-utils After my base build, but before my publish

Re: Is there a real(!) advantage of Ivy over placing the depends in the VCS

2009-09-10 Thread Chris Marks
To me, there are a couple advantages of using Ivy over VCS stored dependencies. - faster checkouts from VCS, as mentioned previously. - a descriptive list of exactly what jars and versions of those jars are required for your project. - simpler Ant scripts - easier inter-project dependency manag

Re: Design Library Folder Structure

2009-08-12 Thread Chris Marks
Hi Kumar, To me, it depends on if you are talking about a structure in your build, or in the ivy cache. If in the ivy cache, I'm not sure it's possible. If you want that structure in your build, I think it's possible using different configurations and the Ant task. In my ivy.xml, I have a few d

publish and maintain maven-metadata.xml

2009-08-11 Thread Chris Marks
Hi all, I'm trying to use the "latest.integration" feature with an Artifactory repository. Artifactory doesn't currently support listing a private repository, so I would like to publish a maven-metadata.xml file for Ivy to use in determining the latest version. Does someone have an example Ant sc

Re: Help with resolver pattern for publishing

2009-08-11 Thread Chris Marks
pattern="${geonet.repo}/enterprise/${ivy.shared.m2.artifact.pattern}"/> > > ... > > ... > > ivy.xml > > > > conf="master"/> > conf="sources" m:classifier="sources&qu

Help with resolver pattern for publishing

2009-08-10 Thread Chris Marks
Hi all, I've been using Ivy for dependency resolution for a couple months now and I love it. Now I have a project (called data-collector) that I want to publish to a private repository to be consumed by other Ivy and Maven projects. My problem is that I want to publish the jar, sources and javado

Newbie credentials problems

2009-04-12 Thread Chris Marks
Hi all, I'm having some issues trying to publish an artifact to a local Artifactory repository and need a bit of help understanding how to apply credentials for deployment. I've set up Artifactory to allow anonymous retrieve, but requires a user account to deploy an artifact. The result of my publ

Newbie credentials problems

2009-04-11 Thread Chris Marks
Hi all, I'm having some issues trying to publish an artifact to a local Artifactory repository and need a bit of help understanding how to apply credentials for deployment. I've set up Artifactory to allow anonymous retrieve, but requires a user account to deploy an artifact. The result of my publ