Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
5.9 and Maven Repo
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Haw-Bin Chai  
View profile  
 More options Jun 4, 5:22 pm
From: Haw-Bin Chai <hbc...@gmail.com>
Date: Thu, 4 Jun 2009 17:22:06 -0400
Local: Thurs, Jun 4 2009 5:22 pm
Subject: 5.9 and Maven Repo

Hi all,

5.9 is still not available from the Apache Maven repository - any idea when
it will be deployed there?

Cheers,
Haw-Bin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Beust ♔  
View profile  
 More options Jun 4, 5:34 pm
From: Cédric Beust ♔ <cbe...@google.com>
Date: Thu, 4 Jun 2009 14:34:29 -0700
Local: Thurs, Jun 4 2009 5:34 pm
Subject: Re: [testng-users] 5.9 and Maven Repo

Hi Haw-Bin,

My bad, I dropped the ball.

I went through the older discussions we had on the topic but I couldn't find
the exact procedure to ask the Maven people to add
http://testng.org/maveninto repo1.

What's the procedure?

--
***Cédric
*


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stevo Slavić  
View profile  
 More options Jun 4, 7:53 pm
From: Stevo Slavić <ssla...@gmail.com>
Date: Fri, 5 Jun 2009 01:53:29 +0200
Local: Thurs, Jun 4 2009 7:53 pm
Subject: Re: [testng-users] Re: 5.9 and Maven Repo

Hello Cédric,

Procedure is described
here<http://maven.apache.org/guides/mini/guide-central-repository-upload.h...>
.

Regards,
Stevo.

2009/6/4 Cédric Beust ♔ <cbe...@google.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Beust ♔  
View profile  
 More options Jun 10, 8:57 pm
From: Cédric Beust ♔ <cbe...@google.com>
Date: Wed, 10 Jun 2009 17:57:58 -0700
Local: Wed, Jun 10 2009 8:57 pm
Subject: Re: [testng-users] Re: 5.9 and Maven Repo

On Thu, Jun 4, 2009 at 4:53 PM, Stevo Slavić <ssla...@gmail.com> wrote:
> Hello Cédric,

> Procedure is described here<http://maven.apache.org/guides/mini/guide-central-repository-upload.h...>
> .

That's a lot of work for something that sounds so simple, I thought somebody
mentioned that all I needed to do was send an email to a list and ask them
to copy the current repo (http://testng.org/maven) into repo1...  Did I
imagine this?

--
***Cédric
*


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Russel Winder  
View profile  
 More options Jun 11, 3:27 am
From: Russel Winder <russel.win...@concertant.com>
Date: Thu, 11 Jun 2009 08:27:49 +0100
Local: Thurs, Jun 11 2009 3:27 am
Subject: Re: [testng-users] Re: 5.9 and Maven Repo

On Wed, 2009-06-10 at 17:57 -0700, Cédric Beust ♔ wrote:

> On Thu, Jun 4, 2009 at 4:53 PM, Stevo Slavić <ssla...@gmail.com>
> wrote:
>         Hello Cédric,

>         Procedure is described here.

> That's a lot of work for something that sounds so simple, I thought
> somebody mentioned that all I needed to do was send an email to a list
> and ask them to copy the current repo (http://testng.org/maven) into
> repo1...  Did I imagine this?

Yes and no I'm afraid.  Much of it is one-off, not per release.

My experience from running a project at Codehaus is that once you have
set up to do the deploy to the Codehaus central repository everything
runs very smoothly, but doing that initial set up is a bit of a pain,
but a one off one.  The position for TestNG is that there will be an
extra one-off step of getting coordination with Maven Central.

Taking Gant as a example:  I do not use Maven, the build uses Gant
itself(*) (with an Ant bootstrap), all Maven interaction activity is
handled by the Maven Ant task (currently 2.0.10), the jar for which has
to be in the project (all other dependencies are then handled via the
usual Maven dependency system).  The task presents "install" and
"deploy" targets which basically do all the work of installing to the
local repository and deploying to the remote repository respectively.

So Step 1 is to make a Maven structure repository (at
http://repository.beust.com, say).  Actually you probably need to set up
a main repository and a snapshots repository
(http://snapshot-repository.beust.com, say) so that snapshots can be
handled as well as releases.  Step 2 is to amend the TestNG Ant build to
make use of the Maven Ant task to deploy to those repositories --
releases go to the main repository, snapshots go to the snapshots
repository (this is handled automatically by having -SNAPSHOTS appended
to the version number).  There is then a Step 3 but by now everyone can
use TestNG within the Maven and Ivy dependency handling by adding this
repository to their search list.  Step 3 is to get the release
repository on the automatic integration list -- this will be more
bureaucratic.

TestNG is sufficiently high-profile and important that it would be
unseemly for the Maven people to refuse a properly presented request for
automatic integration of the TestNG release repository with
repo1.maven.org.


An off-the-wall alternative is to switch TestNG to being a Codehaus
project and then you get all the repository infrastructure for free.
You still have to do Step 2 above but the analogue of Step 1 is already
done and there is no need for Step 3.

For Gant, I just do "gant deployMaven" and 10 mins later it is all done
with 3 different versions built and uploaded, ready for people to use.

Using Gradle for the build system makes things just as easy.  I am
assuming that switching TestNG to be a Maven built project is not an
option, but then that is no problem, the Maven Ant task suffices for use
with Ant, Gant or Gradle.  There does have to be a POM though.  Gradle
generates then automatically.  With Ant and Gant you need to have a
pom.xml.in that you stream edit for version numbers before doing the
install or deploy.  A one-off set up and then it Just Works (tm).

(*) Gant using Gant for the build is like TestNG using TestNG for its
unit tests, necessary :-)

--
Russel.
=========================================================================== ==
Dr Russel Winder      Partner
                                            xmpp: rus...@russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.win...@ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

  signature.asc
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Galder Zamarreno  
View profile  
 More options Jun 30, 7:11 am
From: Galder Zamarreno <market...@zamarreno.com>
Date: Tue, 30 Jun 2009 04:11:40 -0700 (PDT)
Local: Tues, Jun 30 2009 7:11 am
Subject: Re: 5.9 and Maven Repo
testng 5.9 has been uploaded to the jboss maven2 repo in
http://repository.jboss.org/maven2/

On Jun 11, 9:27 am, Russel Winder <russel.win...@concertant.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Beust ♔  
View profile  
 More options Jun 30, 9:40 am
From: Cédric Beust ♔ <cbe...@google.com>
Date: Tue, 30 Jun 2009 06:40:46 -0700
Local: Tues, Jun 30 2009 9:40 am
Subject: Re: [testng-users] Re: 5.9 and Maven Repo

That's good to know, thanks Galder!

--
Cedric

On Tue, Jun 30, 2009 at 4:11 AM, Galder Zamarreno
<market...@zamarreno.com>wrote:

--
***Cédric
*

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google