Re: [jgroups-dev] JGroups build with ant+ivy
Bela Ban <[email protected]> Thu, 26 Sep 2013 17:13:17 +0200
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
Yes, I'm familiar with the upload; there's a script [1] which currently uses Maven to upload the artifacts. The goal of using ivy publish would be to remove the need for the script. Yes, -1 on the manual intervention needed with sonatype... [1] https://github.com/belaban/JGroups/blob/master/bin/release_to_nexus.sh On 9/26/13 5:06 PM, Alejandro Revilla wrote: > Sure. This is definitely not a half-day move, it took me a full weekend > to get started, and then a couple weeks to stabilize and evolve the > build. Anyway, I believe you'll need to create an account at > https://oss.sonatype.org - your upload will go to their staging area and > then you have to manually 'close' the staging upload to move to the > public repo. It's a complex world they have invented there... > > > > On Thu, Sep 26, 2013 at 11:57 AM, Bela Ban <[email protected] > <mailto:[email protected]>> wrote: > > Hi Alejandro, > > On 9/26/13 2:02 PM, Alejandro Revilla wrote: > > Bela, > > I know you just moved to Ant+Ivy, so this is not a good reply to > your > questy, but have you considered Gradle? > > > Yes, but I don't have the time for a detailed look right now. It > seems to be more 'mavenish' than ant though, afaics. The move from > ant to ant+ivy took me half a day... > > In our project, we moved from Ant to Maven but couldn't bear > with it, so > we quickly went to Gradle and we are very very happy with it. > Uploading > and signing artifacts is straight forward, look at this simple > config: > > | uploadArchives { > repositories { > mavenDeployer { > pom.project pomConfig > beforeDeployment { MavenDeployment deployment > -> signing.signPom(deployment) } > repository(url: mavenCentralRepo) { > > authentication(userName: > mavenCentralUsername, password: mavenCentralPassword) > } > // repository(url: 'file:///opt/local/maven') > - sample local repo > > } > } > }| > > My 2c > > > > Unfortunately, I don't think moving to gradle is an option for me > now: as the build works perfectly with ant+ivy, I don't see what > could improve (except publishing to the maven repo). > But thanks for the input anyway, always appreciated ! > > > On Thu, Sep 26, 2013 at 6:46 AM, Bela Ban <[email protected] > <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > Does anyone know how to publish artifact into Nexus (or the > local repo) > using ant+ivy ? > > A beer for anyone who submits a PR that adds 2 targets to > build.xml: > publish and publish-local. The former should publish the 3 > artifacts in > dist (JAR, sources-jar and readme) to Nexus (or > repo2.maven.org <http://repo2.maven.org> > <http://repo2.maven.org>), the > latter should publish them locally. > > Read, set, go ! :-) > > -- > Bela Ban, JGroups lead (http://www.jgroups.org) > > > ------------------------------__------------------------------__------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application > performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. > Get the > most from > the latest Intel processors and coprocessors. See abstracts and > register > > http://pubads.g.doubleclick.__net/gampad/clk?id=60133471&iu=__/4140/ostg.clktrk > <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk> > _________________________________________________ > Javagroups-development mailing list > > > > -- > Bela Ban, JGroups lead (http://www.jgroups.org) > > -- Bela Ban, JGroups lead (http://www.jgroups.org) ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Javagroups-development mailing list