www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Hudson and Apache Releasing
Date Sat, 05 Mar 2011 14:55:19 GMT
2011/3/5 Niklas Gustavsson <niklas@protocol7.com>:
> On Sat, Mar 5, 2011 at 3:10 PM, Olivier Lamy <olamy@apache.org> wrote:
>> No it will be still possible but not anymore mandatory to provide
>> snapshots for early adopter users.
>
> Not sure I get it. It's currently not mandatory to deploy from your
> Maven build (i.e. running mvn install rather than mvn deploy).

Yup sure.
But some builds use the option "Deploy artifacts to Maven repository"
to publish snapshots to
https://repository.apache.org/content/repositories/snapshots/.
This has probably need some setup : adding a user in the nexus
instance , configuring some settings.xml with this user in
master/nodes.
With this new plugin this step will not be mandatory anymore to
provide snapshots for testing as Jenkins will serve Maven snapshots
natively.

>
>> This group https://repository.apache.org/content/groups/snapshots-group/
>> will serve the most "fresh" SNAPSHOT from thoses places :
>> * https://repository.apache.org/content/repositories/snapshots/
>> * https://hudson.apache.org/hudson/plugin/repository/everything
>
> So, for that to happen, this needs to be configured in Nexus first?
Yup.
>
>> But sure it will be usefull if people/users use the snapshots group
>> and not directly the snapshot repo where snapshots are actually
>> deployed.
>
> Don't get this part, could you expand a bit?

To test snapshot builds users add a repository in their setting or
pom, most of the time they have added
https://repository.apache.org/content/repositories/snapshots/.

So if we activate this new plugin and builds doesn't use anymore the
option "Deploy artifacts to Maven repository", snapshots will be
available only in
https://hudson.apache.org/hudson/plugin/repository/everything or/and
in the group https://repository.apache.org/content/groups/snapshots-group/

But using this new plugin will prevent having a user with karma able
to deploy to repository.apache.org (see first issue of this thread).

Makes sense ?

>
> /niklas
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

Mime
View raw message