Re: [jgroups-dev] JGroups build with ant+ivy

Alejandro Revilla <[email protected]> Thu, 26 Sep 2013 12:06:35 -0300
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <CAAgSK==r=Tw5mDeA+eHcESrB2cWWN3gyK22ggAyoPg_jR9bwhQ@mail.gmail.com>
--===============4816259211678160838==
Content-Type: multipart/alternative; boundary=001a1132f5a87b2e3e04e74ab887

--001a1132f5a87b2e3e04e74ab887
Content-Type: text/plain; charset=ISO-8859-1

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]> 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]>> 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>), 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)
>

--001a1132f5a87b2e3e04e74ab887
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">Sure. This is definitely not a half-day move, i=
t took me a full weekend to get started, and then a couple weeks to stabili=
ze and evolve the build. Anyway, I believe you&#39;ll need to create an acc=
ount at=A0<a href=3D"https://oss.sonatype.org">https://oss.sonatype.org</a>=
 - your upload will go to their staging area and then you have to manually =
&#39;close&#39; the staging upload to move to the public repo. It&#39;s a c=
omplex world they have invented there...</div>

<div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-s=
ize:small"><br></div></div><div class=3D"gmail_extra"><br><br><div class=3D=
"gmail_quote">On Thu, Sep 26, 2013 at 11:57 AM, Bela Ban <span dir=3D"ltr">=
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
m</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Alejandro,<br>
<br>
On 9/26/13 2:02 PM, Alejandro Revilla wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Bela,<br>
<br>
I know you just moved to Ant+Ivy, so this is not a good reply to your<br>
questy, but have you considered Gradle?<br>
</blockquote>
<br>
Yes, but I don&#39;t have the time for a detailed look right now. It seems =
to be more &#39;mavenish&#39; than ant though, afaics. The move from ant to=
 ant+ivy took me half a day...<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In our project, we moved from Ant to Maven but couldn&#39;t bear with it, s=
o<br>
we quickly went to Gradle and we are very very happy with it. Uploading<br>
and signing artifacts is straight forward, look at this simple config:<br>
<br>
| =A0 =A0 uploadArchives {<br>
=A0 =A0 =A0 =A0 =A0repositories {<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0mavenDeployer {<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0pom.project pomConfig<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0beforeDeployment { MavenDeployment deplo=
yment -&gt; signing.signPom(deployment) }<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0repository(url: mavenCentralRepo) {<br>
<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0authentication(userName: mavenCe=
ntralUsername, password: mavenCentralPassword)<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0// repository(url: &#39;file:///opt/loca=
l/maven&#39;) - sample local repo<br>
<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0}<br>
=A0 =A0 =A0 =A0 =A0}<br>
=A0 =A0 =A0}|<br>
<br>
My 2c<br>
</blockquote>
<br>
<br>
Unfortunately, I don&#39;t think moving to gradle is an option for me now: =
as the build works perfectly with ant+ivy, I don&#39;t see what could impro=
ve (except publishing to the maven repo).<br>
But thanks for the input anyway, always appreciated !<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Thu, Sep 26, 2013 at 6:46 AM, Bela Ban &lt;<a href=3D"mailto:belaban@yah=
oo.com" target=3D"_blank">[email protected]</a><br>
&lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">belaban@y=
ahoo.com</a>&gt;&gt; wrote:<br>
<br>
=A0 =A0 Does anyone know how to publish artifact into Nexus (or the local r=
epo)<br>
=A0 =A0 using ant+ivy ?<br>
<br>
=A0 =A0 A beer for anyone who submits a PR that adds 2 targets to build.xml=
:<br>
=A0 =A0 publish and publish-local. The former should publish the 3 artifact=
s in<br>
=A0 =A0 dist (JAR, sources-jar and readme) to Nexus (or <a href=3D"http://r=
epo2.maven.org" target=3D"_blank">repo2.maven.org</a><br>
=A0 =A0 &lt;<a href=3D"http://repo2.maven.org" target=3D"_blank">http://rep=
o2.maven.org</a>&gt;), the<br>
=A0 =A0 latter should publish them locally.<br>
<br>
=A0 =A0 Read, set, go ! :-)<br>
<br>
=A0 =A0 --<br>
=A0 =A0 Bela Ban, JGroups lead (<a href=3D"http://www.jgroups.org" target=
=3D"_blank">http://www.jgroups.org</a>)<br>
<br>
=A0 =A0 ------------------------------<u></u>------------------------------=
<u></u>------------------<br>
=A0 =A0 October Webinars: Code for Performance<br>
=A0 =A0 Free Intel webinars can help you accelerate application performance=
.<br>
=A0 =A0 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the=
<br>
=A0 =A0 most from<br>
=A0 =A0 the latest Intel processors and coprocessors. See abstracts and<br>
=A0 =A0 register &gt;<br>
=A0 =A0 <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D60133471=
&amp;iu=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.=
<u></u>net/gampad/clk?id=3D60133471&amp;iu=3D<u></u>/4140/ostg.clktrk</a><b=
r>
=A0 =A0 ______________________________<u></u>_________________<br>
=A0 =A0 Javagroups-development mailing list<br>
<br>
<br><span class=3D"HOEnZb"><font color=3D"#888888">
</font></span></blockquote><span class=3D"HOEnZb"><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>
</font></span></blockquote></div><br></div>

--001a1132f5a87b2e3e04e74ab887--


--===============4816259211678160838==
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
--===============4816259211678160838==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Javagroups-development mailing list


--===============4816259211678160838==--