You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by Christian Grobmeier <gr...@gmail.com> on 2012/12/20 06:30:37 UTC
Re-releasing Onami Parent
Hi,
the policies require us to create a source artifact including LICENSE
and DISCLAIMER, not matter if it is just a pom file or not.
The first snippet I added helped, when you do when you do:
mvn package -Papache-release
I wanted to try it and after I liked it I did:
mvn deploy -Papache-release
Well, first I forgot to revert version number and to rename the tag.
But thats not my actual problem. It seem the profile doesn't deploy it
to the staging repo as I was used to it. It finally ended up here:
https://repository.apache.org/content/repositories/snapshots/org/apache/onami/org.apache.onami.parent/2-incubating-SNAPSHOT/
No idea why it didn't went "live" into snapshots without staging.
Well, I messed it up, sorry.
Then I removed the snipped, looked at ASF parent and added the plugin
to create a source artifact from there into our own release profile.
then:
mvn -Prelease deploy
It ended up in the snapshots repository too.
Now my assumption is it happens because of the (surprise) -SNAPSHOT
ending. Before I create more mess, I want to confirm the following
steps with you folks.
1) I am renaming this tag:
http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
to
http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating-RC1
2) I am doing:
mvn release:prepare
mvn release:perform
3) then I do:
svn co http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
cd parent-1-incubating
mvn deploy
I am not sure if I need -Prelease in the last mvn deploy.
If not, would it be better to move the maven-assembly-plugin I added
to the "standard" location outside the profile?
Some more eyes welcome!
Thanks
Christian
--
http://www.grobmeier.de
https://www.timeandbill.de
Re: Re-releasing Onami Parent
Posted by Simone Tripodi <si...@apache.org>.
Oh that's new to me :( I am not aware of any work-around, it always
worked out of the box...
thanks for the release followup!
-Simo
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/
On Fri, Dec 21, 2012 at 5:40 AM, Christian Grobmeier
<gr...@gmail.com> wrote:
> On Thu, Dec 20, 2012 at 9:29 PM, Simone Tripodi
> <si...@apache.org> wrote:
>>> 2) I am doing:
>>> mvn release:prepare
>>> mvn release:perform
>>>
>
> For the record, i needed to give maven my svn crednetials on sh:
>
> mvn release:prepare -Dusername=<username> -Dpassword=<password>
> http://jira.codehaus.org/browse/HAUS-1703
>
> If somebody knows how to bypass this, pls let me know. For now it worked.
>
> The rest worked exactly as you said, thanks!
> Cheers,
> Christian
>
>>
>>
>>> 3) then I do:
>>>
>>> svn co http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
>>> cd parent-1-incubating
>>> mvn deploy
>>
>> this extra step is not needed, it is performed by the `mvn release:perform` step
>>
>>> If not, would it be better to move the maven-assembly-plugin I added
>>> to the "standard" location outside the profile?
>>
>> I don't think so, we want to create the sources package just when
>> releasing, it is a "waste" of time having it included in the usual
>> development process.
>>
>> Thanks again for taking care of it, all the best!
>> -Simo
>>
>> PS That sources archive packaging included in the parent will save us
>> modules releases...
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>
>
>
> --
> http://www.grobmeier.de
> https://www.timeandbill.de
Re: Re-releasing Onami Parent
Posted by Christian Grobmeier <gr...@gmail.com>.
On Thu, Dec 20, 2012 at 9:29 PM, Simone Tripodi
<si...@apache.org> wrote:
>> 2) I am doing:
>> mvn release:prepare
>> mvn release:perform
>>
For the record, i needed to give maven my svn crednetials on sh:
mvn release:prepare -Dusername=<username> -Dpassword=<password>
http://jira.codehaus.org/browse/HAUS-1703
If somebody knows how to bypass this, pls let me know. For now it worked.
The rest worked exactly as you said, thanks!
Cheers,
Christian
>
>
>> 3) then I do:
>>
>> svn co http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
>> cd parent-1-incubating
>> mvn deploy
>
> this extra step is not needed, it is performed by the `mvn release:perform` step
>
>> If not, would it be better to move the maven-assembly-plugin I added
>> to the "standard" location outside the profile?
>
> I don't think so, we want to create the sources package just when
> releasing, it is a "waste" of time having it included in the usual
> development process.
>
> Thanks again for taking care of it, all the best!
> -Simo
>
> PS That sources archive packaging included in the parent will save us
> modules releases...
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
--
http://www.grobmeier.de
https://www.timeandbill.de
Re: Re-releasing Onami Parent
Posted by Christian Grobmeier <gr...@gmail.com>.
Very good, thank you for your guidance. I will give it a new try early
tomorrow.
Cheers
On Thu, Dec 20, 2012 at 9:29 PM, Simone Tripodi
<si...@apache.org> wrote:
> Hallo mate!
>
> thanks for taking care of it, much more than appreciated!
>
>> 1) I am renaming this tag:
>> http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
>> to
>> http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating-RC1
>>
>
> not needed, I think we could follow a more pragmatic approach that our
> fellows at Maven already follow: simply delete the tag that didn't
> pass the vote :)
>
>> 2) I am doing:
>> mvn release:prepare
>> mvn release:perform
>>
>
> OK
>
>> 3) then I do:
>>
>> svn co http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
>> cd parent-1-incubating
>> mvn deploy
>
> this extra step is not needed, it is performed by the `mvn release:perform` step
>
>> If not, would it be better to move the maven-assembly-plugin I added
>> to the "standard" location outside the profile?
>
> I don't think so, we want to create the sources package just when
> releasing, it is a "waste" of time having it included in the usual
> development process.
>
> Thanks again for taking care of it, all the best!
> -Simo
>
> PS That sources archive packaging included in the parent will save us
> modules releases...
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
--
http://www.grobmeier.de
https://www.timeandbill.de
Re: Re-releasing Onami Parent
Posted by Simone Tripodi <si...@apache.org>.
Hallo mate!
thanks for taking care of it, much more than appreciated!
> 1) I am renaming this tag:
> http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
> to
> http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating-RC1
>
not needed, I think we could follow a more pragmatic approach that our
fellows at Maven already follow: simply delete the tag that didn't
pass the vote :)
> 2) I am doing:
> mvn release:prepare
> mvn release:perform
>
OK
> 3) then I do:
>
> svn co http://svn.apache.org/repos/asf/incubator/onami/tags/parent-1-incubating/
> cd parent-1-incubating
> mvn deploy
this extra step is not needed, it is performed by the `mvn release:perform` step
> If not, would it be better to move the maven-assembly-plugin I added
> to the "standard" location outside the profile?
I don't think so, we want to create the sources package just when
releasing, it is a "waste" of time having it included in the usual
development process.
Thanks again for taking care of it, all the best!
-Simo
PS That sources archive packaging included in the parent will save us
modules releases...
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/