Re: [jgroups-dev] JGroups build with ant+ivy
Alejandro Revilla <[email protected]> Thu, 26 Sep 2013 09:02:16 -0300
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <CAAgSK=mqAhj1xDQWpKvae-_ZsrWALxYrvxEiZMeOM_ZmUcFrJA@mail.gmail.com> |
--===============6723540754552924510==
Content-Type: multipart/alternative; boundary=047d7b66fc0f64207204e748254a
--047d7b66fc0f64207204e748254a
Content-Type: text/plain; charset=ISO-8859-1
Bela,
I know you just moved to Ant+Ivy, so this is not a good reply to your
questy, but have you considered Gradle?
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
On Thu, Sep 26, 2013 at 6:46 AM, Bela Ban <[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), 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
> _______________________________________________
> Javagroups-development mailing list
>
>
--047d7b66fc0f64207204e748254a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;font-size:small"></div><div class=3D"markdown-here-wrapper" id=
=3D"markdown-here-wrapper-807743" style><p style=3D"margin:1.2em 0px!import=
ant">Bela,</p>
<p style=3D"margin:1.2em 0px!important">I know you just moved to Ant+Ivy, =
so this is not a good reply to your questy, but have you considered Gradle?=
</p>
<p style=3D"margin:1.2em 0px!important">In our project, we moved from Ant t=
o 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 fo=
rward, look at this simple config:</p>
<pre style=3D"font-size:0.85em;font-family:Consolas,Inconsolata,Courier,mon=
ospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style=3D"fon=
t-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px=
0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234=
,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-t=
op-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radiu=
s:3px;display:inline;white-space:pre;overflow:auto;border-top-left-radius:3=
px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom=
-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;disp=
lay:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,25=
5);background-repeat:initial initial"> 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') - sam=
ple local repo
}
}
}</code></pre>
<p style=3D"margin:1.2em 0px!important">My 2c</p></div><div class=3D"gmail_=
default" style=3D"font-family:verdana,sans-serif;font-size:small"><br></div=
><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Thu, Sep 26, 2013=
at 6:46 AM, Bela Ban <span dir=3D"ltr"><<a href=3D"mailto:belaban@yahoo=
.com" target=3D"_blank">[email protected]</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Does anyone know how to publish artifact into Nexus (or th=
e local repo)<br>
using ant+ivy ?<br>
<br>
A beer for anyone who submits a PR that adds 2 targets to build.xml:<br>
publish and publish-local. The former should publish the 3 artifacts in<br>
dist (JAR, sources-jar and readme) to Nexus (or <a href=3D"http://repo2.mav=
en.org" target=3D"_blank">repo2.maven.org</a>), the<br>
latter should publish them locally.<br>
<br>
Read, set, go ! :-)<br>
<span class=3D""><font color=3D"#888888"><br>
--<br>
Bela Ban, JGroups lead (<a href=3D"http://www.jgroups.org" target=3D"_blank=
">http://www.jgroups.org</a>)<br>
<br>
---------------------------------------------------------------------------=
---<br>
October Webinars: Code for Performance<br>
Free Intel webinars can help you accelerate application performance.<br>
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most fr=
om<br>
the latest Intel processors and coprocessors. See abstracts and register &g=
t;<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D60133471&iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Javagroups-development mailing list<br>
<br>
</font></span></blockquote></div><br></div></div>
--047d7b66fc0f64207204e748254a--
--===============6723540754552924510==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
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
--===============6723540754552924510==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Javagroups-development mailing list
--===============6723540754552924510==--