You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Christian Grobmeier <gr...@gmail.com> on 2010/08/06 07:35:15 UTC
[compress] Snapshot for 1.1 using Nexus
Hello,
I just configured everything for Nexus and successfully created a snapshot:
https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-compress/1.1-SNAPSHOT/
The how to i followed:
http://wiki.apache.org/commons/UsingNexus
is very good, no objections.
I did it with signing the artifacts. This resulted in signed .asc
files like in the other release procedure as expected and I deleted
the unnecessary asc.md5 etc files
I would go ahead with the 1.1 release and create the SVN tag the next
days, check this one out and create a staging release.
So far Nexus is a real charme :-)
Does it distribute the artifacts to the dist folders also?
Unbelievable how easy it can be. :-)
Cheers,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Dennis Lundberg <de...@apache.org>.
On 2010-08-09 17:30, Christian Grobmeier wrote:
> Just looked at the site plugin. There is a chance we could use mvn
> site:stage for this task:
> http://maven.apache.org/plugins/maven-site-plugin/usage.html
>
> One can stage with:
> mvn site:stage-deploy -DstagingDirectory=C:\fullsite
> -DstagingSiteURL=scp://www.mycompany.com/www/project/
>
> or with:
>
> <site>
> <id>stagingSite </id>
> <name>Apache Staging Website</name>
> <url>scp://path_to_staging_area/compress/</url>
> </site>
>
> If no objections, I will try to use the commandline version of
> site:stage-deploy tomorrow. If that works we could add such a section
> in the project poms
This is what we currently do over in Maven land to stage the site for a
release. We use a specially crafted stagingSiteURL that is specified in
a parent, which causes the staged site to end up on the normal web
server, but in a versioned directory.
For your use case I'd just put the staged site in your home dir on
people.a.o
>
> Regards,
> Christian
>> But I still need to stage the site. I understand now that
>> release:perform should do it in the old way. Any ideas how we do it
>> now? I could build it with mvn site and upload it to my apache
>> webspace at people... but...
>>
>> Regards,
>> Christian
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Christian Grobmeier <gr...@gmail.com>.
Just looked at the site plugin. There is a chance we could use mvn
site:stage for this task:
http://maven.apache.org/plugins/maven-site-plugin/usage.html
One can stage with:
mvn site:stage-deploy -DstagingDirectory=C:\fullsite
-DstagingSiteURL=scp://www.mycompany.com/www/project/
or with:
<site>
<id>stagingSite </id>
<name>Apache Staging Website</name>
<url>scp://path_to_staging_area/compress/</url>
</site>
If no objections, I will try to use the commandline version of
site:stage-deploy tomorrow. If that works we could add such a section
in the project poms
Regards,
Christian
> But I still need to stage the site. I understand now that
> release:perform should do it in the old way. Any ideas how we do it
> now? I could build it with mvn site and upload it to my apache
> webspace at people... but...
>
> Regards,
> Christian
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Christian Grobmeier <gr...@gmail.com>.
>> 1) how can we stage a site to vote?
>> 2) how do we create tags in svn (mvn release:prepare is too much,
>> since its also staging build artifacts)
>
> No it doesn't. Here's what release:prepare does:
> http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html
Thanks Dennis. After some GPG trouble it worked for me too.
Now I have managed to create the tag with mvn release:prepare:
https://svn.apache.org/repos/asf/commons/proper/compress/tags/commons-compress-1.1/
And then there is the Nexus artifacts:
https://repository.apache.org/content/repositories/orgapachecommons-072/
But I still need to stage the site. I understand now that
release:perform should do it in the old way. Any ideas how we do it
now? I could build it with mvn site and upload it to my apache
webspace at people... but...
Regards,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Dennis Lundberg <de...@apache.org>.
On 2010-08-08 13:38, Christian Grobmeier wrote:
>>> Does it distribute the artifacts to the dist folders also?
>>
>> Unfortunately not.
>> Nexus currently only handles Maven artifacts.
>>
> http://markmail.org/message/wmhm556j56757xt3#query:%22[Nexus]%20Only%20for%20Maven%20snapshots%20%2F%20releases%22+page:1+mid:wmhm556j56757xt3+state:results
>
> thanks for the link.
> So we need solutions for the following problems:
>
> 1) how can we stage a site to vote?
> 2) how do we create tags in svn (mvn release:prepare is too much,
> since its also staging build artifacts)
No it doesn't. Here's what release:prepare does:
http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html
We have used it for ant based project because it so easy and helpful in
handling the whole tagging business.
> 3) how do we move the Nexus artifacts to the dist area when they
> succeed. Its also about security here
>
> Did I miss another discussion around these topics?
>
> Cheers
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Christian Grobmeier <gr...@gmail.com>.
>> Does it distribute the artifacts to the dist folders also?
>
> Unfortunately not.
> Nexus currently only handles Maven artifacts.
>
http://markmail.org/message/wmhm556j56757xt3#query:%22[Nexus]%20Only%20for%20Maven%20snapshots%20%2F%20releases%22+page:1+mid:wmhm556j56757xt3+state:results
thanks for the link.
So we need solutions for the following problems:
1) how can we stage a site to vote?
2) how do we create tags in svn (mvn release:prepare is too much,
since its also staging build artifacts)
3) how do we move the Nexus artifacts to the dist area when they
succeed. Its also about security here
Did I miss another discussion around these topics?
Cheers
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by sebb <se...@gmail.com>.
On 6 August 2010 06:35, Christian Grobmeier <gr...@gmail.com> wrote:
> Hello,
>
> I just configured everything for Nexus and successfully created a snapshot:
> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-compress/1.1-SNAPSHOT/
<snip/>
> Does it distribute the artifacts to the dist folders also?
Unfortunately not.
Nexus currently only handles Maven artifacts.
See:
http://markmail.org/message/wmhm556j56757xt3#query:%22[Nexus]%20Only%20for%20Maven%20snapshots%20%2F%20releases%22+page:1+mid:wmhm556j56757xt3+state:results
S///
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Christian Grobmeier <gr...@gmail.com>.
>> The how to i followed:
>> http://wiki.apache.org/commons/UsingNexus
>> is very good, no objections.
>
> Hate the stored passwords though :)
>
> <OT>
> Which is why I no longer use the release plugin for my personal projects.
> http://github.com/tcurdt/scripts
> </OT>
mvnrelease is actually intersting :-) Looks much more comfortable then
the "old" m2 release procedure.
I will check this out for my own projects too - thanks for the tipp.
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Torsten Curdt <tc...@vafer.org>.
>> Hate the stored passwords though :)
>
> I wondered always about this argument, since nobody cares that his private
> keys are kept in ".ssh" ;-)
The private keys are (at least) protected by the passphrase.
You are not seriously trying to argue about whether plain-text
passwords are a good idea, are you? :)
cheers
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Jörg Schaible <jo...@gmx.de>.
Hi Torsten,
Torsten Curdt wrote:
>> I just configured everything for Nexus and successfully created a
>> snapshot:
>>
https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-
compress/1.1-SNAPSHOT/
>
> Cool
>
>> The how to i followed:
>> http://wiki.apache.org/commons/UsingNexus
>> is very good, no objections.
>
> Hate the stored passwords though :)
I wondered always about this argument, since nobody cares that his private
keys are kept in ".ssh" ;-)
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [compress] Snapshot for 1.1 using Nexus
Posted by Torsten Curdt <tc...@vafer.org>.
> I just configured everything for Nexus and successfully created a snapshot:
> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-compress/1.1-SNAPSHOT/
Cool
> The how to i followed:
> http://wiki.apache.org/commons/UsingNexus
> is very good, no objections.
Hate the stored passwords though :)
<OT>
Which is why I no longer use the release plugin for my personal projects.
http://github.com/tcurdt/scripts
</OT>
> I would go ahead with the 1.1 release and create the SVN tag the next
> days, check this one out and create a staging release.
Looked OK on the first glance.
Did not do any further testing though.
> So far Nexus is a real charme :-)
Helps a lot.
> Does it distribute the artifacts to the dist folders also?
> Unbelievable how easy it can be. :-)
mvnrelease ;)
Thanks for looking into this.
cheers
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org