You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Pierre-Arnaud Marcelot <pa...@marcelot.net> on 2009/04/07 10:34:19 UTC

Issues while releasing shared

Hi Guys,
Once again I have some issues using the release plugin to release shared.

Here's my Maven output:
MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Directory Shared
[INFO]   Apache Directory ASN.1 Shared
[INFO]   Apache Directory Protocol Ldap Shared Constants
[INFO]   Apache Directory Protocol Ldap Shared
[INFO]   Apache Directory JNDI Shared
[INFO]   Apache Directory MINA ASN.1 Codec Shared
[INFO]   Apache Directory Protocol Ldap Converters
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Shared
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO]
------------------------------------------------------------------------

[...]

[INFO] [INFO]
[INFO] [INFO]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Apache Directory Shared ...............................
SUCCESS [31.207s]
[INFO] [INFO] Apache Directory ASN.1 Shared .........................
SUCCESS [8.090s]
[INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
SUCCESS [2.553s]
[INFO] [INFO] Apache Directory Protocol Ldap Shared .................
SUCCESS [1:03.631s]
[INFO] [INFO] Apache Directory JNDI Shared ..........................
SUCCESS [2.208s]
[INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
SUCCESS [2.302s]
[INFO] [INFO] Apache Directory Protocol Ldap Converters .............
SUCCESS [3.700s]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESSFUL
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 1 minute 54 seconds
[INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
[INFO] [INFO] Final Memory: 35M/63M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
--non-interactive commit --file /tmp/maven-scm-342570281.commit --targets
/tmp/maven-scm-35142-targets
[INFO] Working directory:
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
[INFO] Tagging release with the label 0.9.14...
[INFO] Executing: /bin/sh -c cd
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
--non-interactive copy --file /tmp/maven-scm-1418570103.commit .
https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
[INFO] Working directory:
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: The specified baseline is not the latest baseline, so it may not be
checked out.

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 47 seconds
[INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
[INFO] Final Memory: 12M/23M
[INFO]
------------------------------------------------------------------------


If anyone has a clue what to do...

Thanks,
Pierre-Arnaud

PS:
<rant>
    Grr.... Why is the Maven release plugin always giving us headaches when
releasing???
</rant>

Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Oh... and I successfully released 0.9.14 on our private SVN server without
any issue last week, when I was testing and preparing for this release...
P-A

On Tue, Apr 7, 2009 at 10:41 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Yep, of course.
> Fresh checkout in a new folder for the release.
> Fresh M2 repository.
>
> Everything builds fine and runs fine in dryrun mode.
>
> The modifications have been commited. The tag didn't...
>
> I also tried the workaround I already used on previous releases ('svn up -r
> head'), but as it was not the same issue I was dealing with, it didn't work
> out...
>
> P-A
>
> On Tue, Apr 7, 2009 at 10:36 AM, Emmanuel Lecharny <el...@apache.org>wrote:
>
>> Have you svn up shared before ?
>>
>> (just to be sure ...)
>>
>> On Tue, Apr 7, 2009 at 10:34 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>
>> wrote:
>> > Hi Guys,
>> > Once again I have some issues using the release plugin to release
>> shared.
>> > Here's my Maven output:
>> > MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
>> > [INFO] Scanning for projects...
>> > [INFO] Reactor build order:
>> > [INFO]   Apache Directory Shared
>> > [INFO]   Apache Directory ASN.1 Shared
>> > [INFO]   Apache Directory Protocol Ldap Shared Constants
>> > [INFO]   Apache Directory Protocol Ldap Shared
>> > [INFO]   Apache Directory JNDI Shared
>> > [INFO]   Apache Directory MINA ASN.1 Codec Shared
>> > [INFO]   Apache Directory Protocol Ldap Converters
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Building Apache Directory Shared
>> > [INFO]    task-segment: [release:prepare] (aggregator-style)
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [...]
>> > [INFO] [INFO]
>> > [INFO] [INFO]
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO] Reactor Summary:
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO] Apache Directory Shared ...............................
>> > SUCCESS [31.207s]
>> > [INFO] [INFO] Apache Directory ASN.1 Shared .........................
>> > SUCCESS [8.090s]
>> > [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
>> > SUCCESS [2.553s]
>> > [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
>> > SUCCESS [1:03.631s]
>> > [INFO] [INFO] Apache Directory JNDI Shared ..........................
>> > SUCCESS [2.208s]
>> > [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
>> > SUCCESS [2.302s]
>> > [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
>> > SUCCESS [3.700s]
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO] BUILD SUCCESSFUL
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [INFO] Total time: 1 minute 54 seconds
>> > [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
>> > [INFO] [INFO] Final Memory: 35M/63M
>> > [INFO] [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Checking in modified POMs...
>> > [INFO] Executing: /bin/sh -c cd
>> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
>> > --non-interactive commit --file /tmp/maven-scm-342570281.commit
>> --targets
>> > /tmp/maven-scm-35142-targets
>> > [INFO] Working directory:
>> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
>> > [INFO] Tagging release with the label 0.9.14...
>> > [INFO] Executing: /bin/sh -c cd
>> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
>> > --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
>> > https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
>> > [INFO] Working directory:
>> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Unable to tag SCM
>> > Provider message:
>> > The svn tag command failed.
>> > Command output:
>> > svn: The specified baseline is not the latest baseline, so it may not be
>> > checked out.
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] For more information, run Maven with the -e switch
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 3 minutes 47 seconds
>> > [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
>> > [INFO] Final Memory: 12M/23M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> >
>> > If anyone has a clue what to do...
>> > Thanks,
>> > Pierre-Arnaud
>> > PS:
>> > <rant>
>> >     Grr.... Why is the Maven release plugin always giving us headaches
>> when
>> > releasing???
>> > </rant>
>> >
>>
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>
>

Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Yep, of course.
Fresh checkout in a new folder for the release.
Fresh M2 repository.

Everything builds fine and runs fine in dryrun mode.

The modifications have been commited. The tag didn't...

I also tried the workaround I already used on previous releases ('svn up -r
head'), but as it was not the same issue I was dealing with, it didn't work
out...

P-A

On Tue, Apr 7, 2009 at 10:36 AM, Emmanuel Lecharny <el...@apache.org>wrote:

> Have you svn up shared before ?
>
> (just to be sure ...)
>
> On Tue, Apr 7, 2009 at 10:34 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>
> wrote:
> > Hi Guys,
> > Once again I have some issues using the release plugin to release shared.
> > Here's my Maven output:
> > MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Apache Directory Shared
> > [INFO]   Apache Directory ASN.1 Shared
> > [INFO]   Apache Directory Protocol Ldap Shared Constants
> > [INFO]   Apache Directory Protocol Ldap Shared
> > [INFO]   Apache Directory JNDI Shared
> > [INFO]   Apache Directory MINA ASN.1 Codec Shared
> > [INFO]   Apache Directory Protocol Ldap Converters
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Apache Directory Shared
> > [INFO]    task-segment: [release:prepare] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> > [...]
> > [INFO] [INFO]
> > [INFO] [INFO]
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Reactor Summary:
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Apache Directory Shared ...............................
> > SUCCESS [31.207s]
> > [INFO] [INFO] Apache Directory ASN.1 Shared .........................
> > SUCCESS [8.090s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
> > SUCCESS [2.553s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
> > SUCCESS [1:03.631s]
> > [INFO] [INFO] Apache Directory JNDI Shared ..........................
> > SUCCESS [2.208s]
> > [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
> > SUCCESS [2.302s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
> > SUCCESS [3.700s]
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] BUILD SUCCESSFUL
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Total time: 1 minute 54 seconds
> > [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
> > [INFO] [INFO] Final Memory: 35M/63M
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Checking in modified POMs...
> > [INFO] Executing: /bin/sh -c cd
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> > --non-interactive commit --file /tmp/maven-scm-342570281.commit --targets
> > /tmp/maven-scm-35142-targets
> > [INFO] Working directory:
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> > [INFO] Tagging release with the label 0.9.14...
> > [INFO] Executing: /bin/sh -c cd
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> > --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
> > https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
> > [INFO] Working directory:
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Unable to tag SCM
> > Provider message:
> > The svn tag command failed.
> > Command output:
> > svn: The specified baseline is not the latest baseline, so it may not be
> > checked out.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 3 minutes 47 seconds
> > [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
> > [INFO] Final Memory: 12M/23M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > If anyone has a clue what to do...
> > Thanks,
> > Pierre-Arnaud
> > PS:
> > <rant>
> >     Grr.... Why is the Maven release plugin always giving us headaches
> when
> > releasing???
> > </rant>
> >
>
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>

Re: Issues while releasing shared

Posted by Emmanuel Lecharny <el...@apache.org>.
Have you svn up shared before ?

(just to be sure ...)

On Tue, Apr 7, 2009 at 10:34 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> Hi Guys,
> Once again I have some issues using the release plugin to release shared.
> Here's my Maven output:
> MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Apache Directory Shared
> [INFO]   Apache Directory ASN.1 Shared
> [INFO]   Apache Directory Protocol Ldap Shared Constants
> [INFO]   Apache Directory Protocol Ldap Shared
> [INFO]   Apache Directory JNDI Shared
> [INFO]   Apache Directory MINA ASN.1 Codec Shared
> [INFO]   Apache Directory Protocol Ldap Converters
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Directory Shared
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [...]
> [INFO] [INFO]
> [INFO] [INFO]
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Apache Directory Shared ...............................
> SUCCESS [31.207s]
> [INFO] [INFO] Apache Directory ASN.1 Shared .........................
> SUCCESS [8.090s]
> [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
> SUCCESS [2.553s]
> [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
> SUCCESS [1:03.631s]
> [INFO] [INFO] Apache Directory JNDI Shared ..........................
> SUCCESS [2.208s]
> [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
> SUCCESS [2.302s]
> [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
> SUCCESS [3.700s]
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESSFUL
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 1 minute 54 seconds
> [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
> [INFO] [INFO] Final Memory: 35M/63M
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> --non-interactive commit --file /tmp/maven-scm-342570281.commit --targets
> /tmp/maven-scm-35142-targets
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> [INFO] Tagging release with the label 0.9.14...
> [INFO] Executing: /bin/sh -c cd
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
> https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: The specified baseline is not the latest baseline, so it may not be
> checked out.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 47 seconds
> [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
> [INFO] Final Memory: 12M/23M
> [INFO]
> ------------------------------------------------------------------------
>
> If anyone has a clue what to do...
> Thanks,
> Pierre-Arnaud
> PS:
> <rant>
>     Grr.... Why is the Maven release plugin always giving us headaches when
> releasing???
> </rant>
>



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: Issues while releasing shared

Posted by Alex Karasulu <ak...@gmail.com>.
Let's then go ahead and do that.

Alex

On Wed, Apr 8, 2009 at 4:17 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Hi Jörg,
> Indeed, I have Subversion 1.5.4.
>
> As you pointed out, I think we need to move to version 2.0-beta-9 of the
> release plug inthe Directory project pom.
> This way, the workaround will be activated for our future releases.
>
> Thanks,
> Pierre-Arnaud
>
>
> On Tue, Apr 7, 2009 at 12:52 PM, Jörg Schaible <jo...@gmx.de>wrote:
>
>> Pierre-Arnaud Marcelot wrote at Dienstag, 7. April 2009 10:34:
>>
>> > Hi Guys,
>> > Once again I have some issues using the release plugin to release
>> shared.
>>
>> [snip]
>>
>> This is normal using a Subversion client >= 1.5.1 with webdav protocol (as
>> long as the svn client uses neon) releasing a multi project due to changed
>> behavior of svn. See parameter "remoteTagging" in
>> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.htmland
>> linked issues (SCM-262 and MRELEASE-427).
>>
>> - Jörg
>>
>>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org
Apache Felix :: http://felix.apache.org

Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Jörg,
Indeed, I have Subversion 1.5.4.

As you pointed out, I think we need to move to version 2.0-beta-9 of the
release plug inthe Directory project pom.
This way, the workaround will be activated for our future releases.

Thanks,
Pierre-Arnaud

On Tue, Apr 7, 2009 at 12:52 PM, Jörg Schaible <jo...@gmx.de>wrote:

> Pierre-Arnaud Marcelot wrote at Dienstag, 7. April 2009 10:34:
>
> > Hi Guys,
> > Once again I have some issues using the release plugin to release shared.
>
> [snip]
>
> This is normal using a Subversion client >= 1.5.1 with webdav protocol (as
> long as the svn client uses neon) releasing a multi project due to changed
> behavior of svn. See parameter "remoteTagging" in
> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html and
> linked issues (SCM-262 and MRELEASE-427).
>
> - Jörg
>
>

Re: Issues while releasing shared

Posted by Jörg Schaible <jo...@gmx.de>.
Pierre-Arnaud Marcelot wrote at Dienstag, 7. April 2009 10:34:

> Hi Guys,
> Once again I have some issues using the release plugin to release shared.

[snip]

This is normal using a Subversion client >= 1.5.1 with webdav protocol (as
long as the svn client uses neon) releasing a multi project due to changed
behavior of svn. See parameter "remoteTagging" in
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html and
linked issues (SCM-262 and MRELEASE-427).

- Jörg


Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hopefully for me... :D

On Tue, Apr 7, 2009 at 11:23 AM, Felix Knecht <fe...@apache.org> wrote:
>
> It'll still be synced like before as probably many of the ASF projects
> using maven haven't switched to the latest TLP pom 5.

Re: Issues while releasing shared

Posted by Felix Knecht <fe...@apache.org>.
Pierre-Arnaud Marcelot schrieb:
> Thanks Felix,
> 
> I will try that...
> 
> But this means it will be uploaded to 
> scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> <http://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository>
> while I thought we should now release to 
> https://repository.apache.org/service/local/staging/deploy/maven2

It'll still be synced like before as probably many of the ASF projects using maven haven't switched to the latest TLP pom 5.

> 
> Anyway, it does not matter...
> If it works... I'm OK with releasing at this location.
> 
> Regards,
> Pierre-Arnaud
> 
> On Tue, Apr 7, 2009 at 11:10 AM, Felix Knecht <felixk@apache.org
> <ma...@apache.org>> wrote:
> 
>     Pierre-Arnaud Marcelot schrieb:
>     > I followed everything...
>     >
>     > Here's my settings.xml file:
> 
>     <Snip>
>     >     <!-- Profile for to use for the release -->
>     >     <profile>
>     >       <id>release</id>
>     >       <properties>
>     >         <!--
>     >           Configuration for artifacts signature
>     >         -->
>     >         <gpg.passphrase>**********</gpg.passphrase>
>     >         <!--
>     >           If you want to use another key than the default one,
>     uncomment
>     > the
>     >           following line.
>     >         -->
>     >         <!--<gpg.keyname>keyname</gpg.keyname>-->
>     >
>     >         <!--
>     >           Configuration for jars signature
>     >         -->
>     >
>     >
>      <jarsign.keystore>/Users/pajbam/Development/Apache/Documents/keystore</jarsign.keystore>
>     >         <jarsign.alias>studio</jarsign.alias>
>     >         <jarsign.storepass>*******</jarsign.storepass>
>     >
>     >         <!--
>     >           This is an alternative URL for a deployment repository when
>     > doing a release
>     >           mvn release:perform -Prelease
>     >         -->
>     >
>     >
>      <!--<release.altDeploymentRepository>-DaltDeploymentRepository=test.release::default::file:///Users/pajbam/Development/Apache/FakeRepository/</release.altDeploymentRepository>-->
> 
>     </Snip>
> 
>     This is commented, IMO it should be
>     <release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
>     <http://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository></release.altDeploymentRepository>
> 
> 


Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Thanks Felix,
I will try that...

But this means it will be uploaded to
scpexe://
people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
while I thought we should now release to
https://repository.apache.org/service/local/staging/deploy/maven2

Anyway, it does not matter...
If it works... I'm OK with releasing at this location.

Regards,
Pierre-Arnaud

On Tue, Apr 7, 2009 at 11:10 AM, Felix Knecht <fe...@apache.org> wrote:

> Pierre-Arnaud Marcelot schrieb:
> > I followed everything...
> >
> > Here's my settings.xml file:
>
> <Snip>
> >     <!-- Profile for to use for the release -->
> >     <profile>
> >       <id>release</id>
> >       <properties>
> >         <!--
> >           Configuration for artifacts signature
> >         -->
> >         <gpg.passphrase>**********</gpg.passphrase>
> >         <!--
> >           If you want to use another key than the default one, uncomment
> > the
> >           following line.
> >         -->
> >         <!--<gpg.keyname>keyname</gpg.keyname>-->
> >
> >         <!--
> >           Configuration for jars signature
> >         -->
> >
> >
>  <jarsign.keystore>/Users/pajbam/Development/Apache/Documents/keystore</jarsign.keystore>
> >         <jarsign.alias>studio</jarsign.alias>
> >         <jarsign.storepass>*******</jarsign.storepass>
> >
> >         <!--
> >           This is an alternative URL for a deployment repository when
> > doing a release
> >           mvn release:perform -Prelease
> >         -->
> >
> >
>  <!--<release.altDeploymentRepository>-DaltDeploymentRepository=test.release::default::file:///Users/pajbam/Development/Apache/FakeRepository/</release.altDeploymentRepository>-->
>
> </Snip>
>
> This is commented, IMO it should be
>
> <release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://
> people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> </release.altDeploymentRepository>
>

Re: Issues while releasing shared

Posted by Felix Knecht <fe...@apache.org>.
Pierre-Arnaud Marcelot schrieb:
> I followed everything...
> 
> Here's my settings.xml file:

<Snip>
>     <!-- Profile for to use for the release -->
>     <profile>
>       <id>release</id>
>       <properties>
>         <!--
>           Configuration for artifacts signature
>         -->
>         <gpg.passphrase>**********</gpg.passphrase>
>         <!--
>           If you want to use another key than the default one, uncomment
> the 
>           following line.
>         -->
>         <!--<gpg.keyname>keyname</gpg.keyname>-->
>         
>         <!--
>           Configuration for jars signature
>         -->
>       
>  <jarsign.keystore>/Users/pajbam/Development/Apache/Documents/keystore</jarsign.keystore>
>         <jarsign.alias>studio</jarsign.alias>
>         <jarsign.storepass>*******</jarsign.storepass>
>         
>         <!--
>           This is an alternative URL for a deployment repository when
> doing a release
>           mvn release:perform -Prelease 
>         -->
>       
>  <!--<release.altDeploymentRepository>-DaltDeploymentRepository=test.release::default::file:///Users/pajbam/Development/Apache/FakeRepository/</release.altDeploymentRepository>-->

</Snip>

This is commented, IMO it should be
<release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</release.altDeploymentRepository>

Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Indeed...
I was also thinking at something like that.

Sometimes the doco, really sucks...
For things as important as releases, it should really be more documented...
:'(

Anyway, I'm currently deploying now... Thanks to your help. :)

Thanks a lot,
P-A

On Tue, Apr 7, 2009 at 11:22 AM, Felix Knecht <fe...@apache.org> wrote:

> The new Apache TLP pom is *well* documented :-/
>
> You'll probably need an account to be able to deploy there (via https). ATM
> we're only able to use this in CI to deploy
> snapshots, as CI uses it's own account. To deploy released stuff we still
> need to go the 'old' way, which is done by
> using an alternative url. For me this worked to deploy the skins.Hope
> you'll succeed as well.
> It's somehow related with the use of the new repository manager NEXUS the
> introduce
> (https://repository.apache.org/index.html)
>
> Felix
>
> PS:
> I haven't found any documentation about what shall/must be done when using
> TLP pom 5.
>
>
> > Looking at the apache-5.pom file, looks like the release server as been
> > changed since apache-4.pom...
> > apache-5.pom:
> > ==============
> >    <repository>
> >       <id>apache.releases.https</id>
> >       <name>Apache Release Distribution Repository</name>
> >
> >  <url>https://repository.apache.org/service/local/staging/deploy/maven2
> </url>
> >     </repository>
> > ==============
> > apache-4.pom:
> >     <repository>
> >       <id>apache.releases</id>
> >       <name>Apache Release Distribution Repository</name>
> >
> >  <url>scp://
> people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> > <
> http://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> ></url>
> >     </repository>
> >
>

Re: Issues while releasing shared

Posted by Felix Knecht <fe...@apache.org>.
The new Apache TLP pom is *well* documented :-/

You'll probably need an account to be able to deploy there (via https). ATM we're only able to use this in CI to deploy
snapshots, as CI uses it's own account. To deploy released stuff we still need to go the 'old' way, which is done by
using an alternative url. For me this worked to deploy the skins.Hope you'll succeed as well.
It's somehow related with the use of the new repository manager NEXUS the introduce
(https://repository.apache.org/index.html)

Felix

PS:
I haven't found any documentation about what shall/must be done when using TLP pom 5.


> Looking at the apache-5.pom file, looks like the release server as been
> changed since apache-4.pom...
> apache-5.pom:
> ==============
>    <repository>
>       <id>apache.releases.https</id>
>       <name>Apache Release Distribution Repository</name>
>     
>  <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
>     </repository>
> ==============
> apache-4.pom:
>     <repository>
>       <id>apache.releases</id>
>       <name>Apache Release Distribution Repository</name>
>     
>  <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> <http://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository></url>
>     </repository>
> 

Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
I followed everything...
Here's my settings.xml file:

====================================================
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

<!--
  Sample for settings.xml configuration to use to release Apache Directory
Studio
-->
<settings xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <servers>
    <!-- Server configuration for 'people.apache.org' -->
    <server>
      <id>apache.releases</id>
      <username>pamarcelot</username>
      <!--
        Authentication can be done via private key or password.
        Uncomment the line corresponding to your authentication method.
      -->
      <!--<privateKey>/Users/pajbam/.ssh/id_dsa</privateKey>-->
      <password>***********</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>

      <!--
        My latest permission problems when deploying solved the following
configuration addition,
        see also
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.htmlquite
        in the middle of the page "If you are deploying from Unix or have
Cygwin ..." - I needed the configuration
        in contradiction what the doc says ...
      -->
      <configuration>
        <sshExecutable>ssh</sshExecutable>
        <scpExecutable>scp</scpExecutable>
      </configuration>
    </server>
  </servers>

  <profiles>

    <!-- Profile for to use for the release -->
    <profile>
      <id>release</id>
      <properties>
        <!--
          Configuration for artifacts signature
        -->
        <gpg.passphrase>**********</gpg.passphrase>
        <!--
          If you want to use another key than the default one, uncomment
the
          following line.
        -->
        <!--<gpg.keyname>keyname</gpg.keyname>-->

        <!--
          Configuration for jars signature
        -->

 <jarsign.keystore>/Users/pajbam/Development/Apache/Documents/keystore</jarsign.keystore>
        <jarsign.alias>studio</jarsign.alias>
        <jarsign.storepass>*******</jarsign.storepass>

        <!--
          This is an alternative URL for a deployment repository when doing
a release
          mvn release:perform -Prelease
        -->

 <!--<release.altDeploymentRepository>-DaltDeploymentRepository=test.release::default::file:///Users/pajbam/Development/Apache/FakeRepository/</release.altDeploymentRepository>-->

        <!--
          This is the URL built distributions (*.tar.gz and *.zip) of the
studio
          will be deployed.
        -->

 <!--<studio.dist.url>file:///Users/pajbam/Development/Apache/FakeRepository/</studio.dist.url>-->

        <!--
          This is the URL built sites of the studio will be copied to
        -->

 <!--<distributionManagement.site.url>file:///Users/pajbam/Development/Apache/FakeRepository/</distributionManagement.site.url>-->
      </properties>
    </profile>

    <!-- Profile for Windows -->
    <!--<profile>
      <id>win32</id>
    </profile>-->

    <!-- Profile for Mac OS X -->
    <!--<profile>
      <id>macosx</id>
    </profile>-->

    <!-- Profile for Linux x86 -->
    <!--<profile>
      <id>linux-x86</id>
    </profile>-->

    <!-- Profile for x86_64 -->
    <!--<profile>
      <id>linux-x86_64</id>
    </profile>-->

    <!-- Profile for Linux PPC -->
    <!--<profile>
      <id>linux-ppc</id>
    </profile>-->
  </profiles>

  <!--
    We need to activate these OS specific profiles, so all the distributions
    are generated and deployed to the repository.
  -->
  <activeProfiles><!--
    <activeProfile>win32</activeProfile>
    <activeProfile>macosx</activeProfile>
    <activeProfile>linux-x86</activeProfile>
    <activeProfile>linux-x86_64</activeProfile>
    <activeProfile>linux-ppc</activeProfile>-->
  </activeProfiles>

</settings>
====================================================

Looking at the apache-5.pom file, looks like the release server as been
changed since apache-4.pom...
apache-5.pom:
==============
   <repository>
      <id>apache.releases.https</id>
      <name>Apache Release Distribution Repository</name>
      <url>https://repository.apache.org/service/local/staging/deploy/maven2
</url>
    </repository>
==============
apache-4.pom:
    <repository>
      <id>apache.releases</id>
      <name>Apache Release Distribution Repository</name>
      <url>scp://
people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
</url>
    </repository>

Thanks,
Pierre-Arnaud

On Tue, Apr 7, 2009 at 11:00 AM, Felix Knecht <fe...@apache.org> wrote:

> It looks like your deploying to the wrong repository, IMO this should go to
> people.apache.org and not to
> repository.apache.org.
>
> Do you have set something like
>
>    <profile>
>      <id>release</id>
>      <properties>
>        <gpg.passphrase></gpg.passphrase>
>
>
> <release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://
> people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> </release.altDeploymentRepository>
>      </properties>
>    </profile>
>
> in your .m2/settings.xml and you are using the -Prelease profile?
> See also
> http://cwiki.apache.org/confluence/display/DIRxDEV/Guide+to+Directory+Releases
>
> Felix
>
> Pierre-Arnaud Marcelot schrieb:
> > Thanks Felix,
> >
> > Looks like it worked this time.
> >
> > I still got the issue at the first shot.
> >
> > I waited a bit... then svn up.... and finally re-run the command with
> > -Dresume option and it seems it worked...
> >
> > Now I have another problem... :) :( :( :(
> >
> > [INFO] [INFO] [install:install]
> > [INFO] [INFO] Installing
> >
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/pom-transformed.xml
> > to
> >
> /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
> > [INFO] [INFO] Installing
> >
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/shared-parent-0.9.14.pom.asc
> > to
> >
> /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom.asc
> > [INFO] [INFO] [deploy:deploy]
> > [INFO] Uploading:
> >
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
> > [INFO] 4/7K
> > [INFO] 7/7K
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [ERROR] BUILD ERROR
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Error deploying artifact: Failed to transfer file:
> >
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
> .
> > Return code is: 401
> > [INFO]
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] For more information, run Maven with the -e switch
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Total time: 11 seconds
> > [INFO] [INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
> > [INFO] [INFO] Final Memory: 28M/50M
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Maven execution failed, exit code: '1'
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 55 seconds
> > [INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
> > [INFO] Final Memory: 11M/21M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > Regards,
> > P-A
> >
> > On Tue, Apr 7, 2009 at 10:49 AM, Felix Knecht <felixk@apache.org
> > <ma...@apache.org>> wrote:
> >
> >     I don't have an idea so far, but as I managed it lately for the
> >     skins module I could give it a try ...
> >
> >     Felix
> >
> >     Pierre-Arnaud Marcelot schrieb:
> >     > Hi Guys,
> >     >
> >     > Once again I have some issues using the release plugin to release
> >     shared.
> >     >
> >     > Here's my Maven output:
> >     > MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
> >     > [INFO] Scanning for projects...
> >     > [INFO] Reactor build order:
> >     > [INFO]   Apache Directory Shared
> >     > [INFO]   Apache Directory ASN.1 Shared
> >     > [INFO]   Apache Directory Protocol Ldap Shared Constants
> >     > [INFO]   Apache Directory Protocol Ldap Shared
> >     > [INFO]   Apache Directory JNDI Shared
> >     > [INFO]   Apache Directory MINA ASN.1 Codec Shared
> >     > [INFO]   Apache Directory Protocol Ldap Converters
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] Building Apache Directory Shared
> >     > [INFO]    task-segment: [release:prepare] (aggregator-style)
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > [...]
> >     >
> >     > [INFO] [INFO]
> >     > [INFO] [INFO]
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] [INFO] Reactor Summary:
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] [INFO] Apache Directory Shared
> ...............................
> >     > SUCCESS [31.207s]
> >     > [INFO] [INFO] Apache Directory ASN.1 Shared
> .........................
> >     > SUCCESS [8.090s]
> >     > [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants
> .......
> >     > SUCCESS [2.553s]
> >     > [INFO] [INFO] Apache Directory Protocol Ldap Shared
> .................
> >     > SUCCESS [1:03.631s]
> >     > [INFO] [INFO] Apache Directory JNDI Shared
> ..........................
> >     > SUCCESS [2.208s]
> >     > [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared
> ..............
> >     > SUCCESS [2.302s]
> >     > [INFO] [INFO] Apache Directory Protocol Ldap Converters
> .............
> >     > SUCCESS [3.700s]
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] [INFO] BUILD SUCCESSFUL
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] [INFO] Total time: 1 minute 54 seconds
> >     > [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
> >     > [INFO] [INFO] Final Memory: 35M/63M
> >     > [INFO] [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] Checking in modified POMs...
> >     > [INFO] Executing: /bin/sh -c cd
> >     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> >     > --non-interactive commit --file /tmp/maven-scm-342570281.commit
> >     > --targets /tmp/maven-scm-35142-targets
> >     > [INFO] Working directory:
> >     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> >     > [INFO] Tagging release with the label 0.9.14...
> >     > [INFO] Executing: /bin/sh -c cd
> >     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> >     > --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
> >     > https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
> >     > [INFO] Working directory:
> >     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [ERROR] BUILD FAILURE
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] Unable to tag SCM
> >     > Provider message:
> >     > The svn tag command failed.
> >     > Command output:
> >     > svn: The specified baseline is not the latest baseline, so it may
> >     not be
> >     > checked out.
> >     >
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] For more information, run Maven with the -e switch
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     > [INFO] Total time: 3 minutes 47 seconds
> >     > [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
> >     > [INFO] Final Memory: 12M/23M
> >     > [INFO]
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     >
> >     > If anyone has a clue what to do...
> >     >
> >     > Thanks,
> >     > Pierre-Arnaud
> >     >
> >     > PS:
> >     > <rant>
> >     >     Grr.... Why is the Maven release plugin always giving us
> headaches
> >     > when releasing???
> >     > </rant>
> >     >
> >
> >
>
>

Re: Issues while releasing shared

Posted by Felix Knecht <fe...@apache.org>.
It looks like your deploying to the wrong repository, IMO this should go to people.apache.org and not to
repository.apache.org.

Do you have set something like

    <profile>
      <id>release</id>
      <properties>
        <gpg.passphrase></gpg.passphrase>

<release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</release.altDeploymentRepository>
      </properties>
    </profile>

in your .m2/settings.xml and you are using the -Prelease profile?
See also http://cwiki.apache.org/confluence/display/DIRxDEV/Guide+to+Directory+Releases

Felix

Pierre-Arnaud Marcelot schrieb:
> Thanks Felix,
> 
> Looks like it worked this time.
> 
> I still got the issue at the first shot.
> 
> I waited a bit... then svn up.... and finally re-run the command with
> -Dresume option and it seems it worked...
> 
> Now I have another problem... :) :( :( :(
> 
> [INFO] [INFO] [install:install]
> [INFO] [INFO] Installing
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/pom-transformed.xml
> to
> /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
> [INFO] [INFO] Installing
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/shared-parent-0.9.14.pom.asc
> to
> /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom.asc
> [INFO] [INFO] [deploy:deploy]
> [INFO] Uploading:
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
> [INFO] 4/7K
> [INFO] 7/7K
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Error deploying artifact: Failed to transfer file:
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom.
> Return code is: 401
> [INFO] 
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] For more information, run Maven with the -e switch
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 11 seconds
> [INFO] [INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
> [INFO] [INFO] Final Memory: 28M/50M
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Maven execution failed, exit code: '1'
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 55 seconds
> [INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
> [INFO] Final Memory: 11M/21M
> [INFO]
> ------------------------------------------------------------------------
> 
> Regards,
> P-A
> 
> On Tue, Apr 7, 2009 at 10:49 AM, Felix Knecht <felixk@apache.org
> <ma...@apache.org>> wrote:
> 
>     I don't have an idea so far, but as I managed it lately for the
>     skins module I could give it a try ...
> 
>     Felix
> 
>     Pierre-Arnaud Marcelot schrieb:
>     > Hi Guys,
>     >
>     > Once again I have some issues using the release plugin to release
>     shared.
>     >
>     > Here's my Maven output:
>     > MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
>     > [INFO] Scanning for projects...
>     > [INFO] Reactor build order:
>     > [INFO]   Apache Directory Shared
>     > [INFO]   Apache Directory ASN.1 Shared
>     > [INFO]   Apache Directory Protocol Ldap Shared Constants
>     > [INFO]   Apache Directory Protocol Ldap Shared
>     > [INFO]   Apache Directory JNDI Shared
>     > [INFO]   Apache Directory MINA ASN.1 Codec Shared
>     > [INFO]   Apache Directory Protocol Ldap Converters
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] Building Apache Directory Shared
>     > [INFO]    task-segment: [release:prepare] (aggregator-style)
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     >
>     > [...]
>     >
>     > [INFO] [INFO]
>     > [INFO] [INFO]
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] [INFO] Reactor Summary:
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] [INFO] Apache Directory Shared ...............................
>     > SUCCESS [31.207s]
>     > [INFO] [INFO] Apache Directory ASN.1 Shared .........................
>     > SUCCESS [8.090s]
>     > [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
>     > SUCCESS [2.553s]
>     > [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
>     > SUCCESS [1:03.631s]
>     > [INFO] [INFO] Apache Directory JNDI Shared ..........................
>     > SUCCESS [2.208s]
>     > [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
>     > SUCCESS [2.302s]
>     > [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
>     > SUCCESS [3.700s]
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] [INFO] BUILD SUCCESSFUL
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] [INFO] Total time: 1 minute 54 seconds
>     > [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
>     > [INFO] [INFO] Final Memory: 35M/63M
>     > [INFO] [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] Checking in modified POMs...
>     > [INFO] Executing: /bin/sh -c cd
>     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
>     > --non-interactive commit --file /tmp/maven-scm-342570281.commit
>     > --targets /tmp/maven-scm-35142-targets
>     > [INFO] Working directory:
>     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
>     > [INFO] Tagging release with the label 0.9.14...
>     > [INFO] Executing: /bin/sh -c cd
>     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
>     > --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
>     > https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
>     > [INFO] Working directory:
>     > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [ERROR] BUILD FAILURE
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] Unable to tag SCM
>     > Provider message:
>     > The svn tag command failed.
>     > Command output:
>     > svn: The specified baseline is not the latest baseline, so it may
>     not be
>     > checked out.
>     >
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] For more information, run Maven with the -e switch
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     > [INFO] Total time: 3 minutes 47 seconds
>     > [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
>     > [INFO] Final Memory: 12M/23M
>     > [INFO]
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     > If anyone has a clue what to do...
>     >
>     > Thanks,
>     > Pierre-Arnaud
>     >
>     > PS:
>     > <rant>
>     >     Grr.... Why is the Maven release plugin always giving us headaches
>     > when releasing???
>     > </rant>
>     >
> 
> 


Re: Issues while releasing shared

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Thanks Felix,
Looks like it worked this time.

I still got the issue at the first shot.

I waited a bit... then svn up.... and finally re-run the command with
-Dresume option and it seems it worked...

Now I have another problem... :) :( :( :(

[INFO] [INFO] [install:install]
[INFO] [INFO] Installing
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/pom-transformed.xml
to
/Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
[INFO] [INFO] Installing
/Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk/target/checkout/target/shared-parent-0.9.14.pom.asc
to
/Users/pajbam/.m2/repository/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom.asc
[INFO] [INFO] [deploy:deploy]
[INFO] Uploading:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom
[INFO] 4/7K
[INFO] 7/7K
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Error deploying artifact: Failed to transfer file:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/directory/shared/shared-parent/0.9.14/shared-parent-0.9.14.pom.
Return code is: 401
[INFO]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 11 seconds
[INFO] [INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
[INFO] [INFO] Final Memory: 28M/50M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 55 seconds
[INFO] Finished at: Tue Apr 07 10:53:30 CEST 2009
[INFO] Final Memory: 11M/21M
[INFO]
------------------------------------------------------------------------

Regards,
P-A

On Tue, Apr 7, 2009 at 10:49 AM, Felix Knecht <fe...@apache.org> wrote:

> I don't have an idea so far, but as I managed it lately for the skins
> module I could give it a try ...
>
> Felix
>
> Pierre-Arnaud Marcelot schrieb:
> > Hi Guys,
> >
> > Once again I have some issues using the release plugin to release shared.
> >
> > Here's my Maven output:
> > MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Apache Directory Shared
> > [INFO]   Apache Directory ASN.1 Shared
> > [INFO]   Apache Directory Protocol Ldap Shared Constants
> > [INFO]   Apache Directory Protocol Ldap Shared
> > [INFO]   Apache Directory JNDI Shared
> > [INFO]   Apache Directory MINA ASN.1 Codec Shared
> > [INFO]   Apache Directory Protocol Ldap Converters
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Apache Directory Shared
> > [INFO]    task-segment: [release:prepare] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [...]
> >
> > [INFO] [INFO]
> > [INFO] [INFO]
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Reactor Summary:
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Apache Directory Shared ...............................
> > SUCCESS [31.207s]
> > [INFO] [INFO] Apache Directory ASN.1 Shared .........................
> > SUCCESS [8.090s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
> > SUCCESS [2.553s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
> > SUCCESS [1:03.631s]
> > [INFO] [INFO] Apache Directory JNDI Shared ..........................
> > SUCCESS [2.208s]
> > [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
> > SUCCESS [2.302s]
> > [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
> > SUCCESS [3.700s]
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] BUILD SUCCESSFUL
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [INFO] Total time: 1 minute 54 seconds
> > [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
> > [INFO] [INFO] Final Memory: 35M/63M
> > [INFO] [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Checking in modified POMs...
> > [INFO] Executing: /bin/sh -c cd
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> > --non-interactive commit --file /tmp/maven-scm-342570281.commit
> > --targets /tmp/maven-scm-35142-targets
> > [INFO] Working directory:
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> > [INFO] Tagging release with the label 0.9.14...
> > [INFO] Executing: /bin/sh -c cd
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> > --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
> > https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
> > [INFO] Working directory:
> > /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Unable to tag SCM
> > Provider message:
> > The svn tag command failed.
> > Command output:
> > svn: The specified baseline is not the latest baseline, so it may not be
> > checked out.
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 3 minutes 47 seconds
> > [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
> > [INFO] Final Memory: 12M/23M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > If anyone has a clue what to do...
> >
> > Thanks,
> > Pierre-Arnaud
> >
> > PS:
> > <rant>
> >     Grr.... Why is the Maven release plugin always giving us headaches
> > when releasing???
> > </rant>
> >
>
>

Re: Issues while releasing shared

Posted by Felix Knecht <fe...@apache.org>.
I don't have an idea so far, but as I managed it lately for the skins module I could give it a try ...

Felix

Pierre-Arnaud Marcelot schrieb:
> Hi Guys,
> 
> Once again I have some issues using the release plugin to release shared.
> 
> Here's my Maven output:
> MacBookPro:shared-trunk pajbam$ mvn -Prelease release:prepare
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Apache Directory Shared
> [INFO]   Apache Directory ASN.1 Shared
> [INFO]   Apache Directory Protocol Ldap Shared Constants
> [INFO]   Apache Directory Protocol Ldap Shared
> [INFO]   Apache Directory JNDI Shared
> [INFO]   Apache Directory MINA ASN.1 Codec Shared
> [INFO]   Apache Directory Protocol Ldap Converters
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Directory Shared
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> 
> [...]
> 
> [INFO] [INFO] 
> [INFO] [INFO] 
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Apache Directory Shared ...............................
> SUCCESS [31.207s]
> [INFO] [INFO] Apache Directory ASN.1 Shared .........................
> SUCCESS [8.090s]
> [INFO] [INFO] Apache Directory Protocol Ldap Shared Constants .......
> SUCCESS [2.553s]
> [INFO] [INFO] Apache Directory Protocol Ldap Shared .................
> SUCCESS [1:03.631s]
> [INFO] [INFO] Apache Directory JNDI Shared ..........................
> SUCCESS [2.208s]
> [INFO] [INFO] Apache Directory MINA ASN.1 Codec Shared ..............
> SUCCESS [2.302s]
> [INFO] [INFO] Apache Directory Protocol Ldap Converters .............
> SUCCESS [3.700s]
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESSFUL
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 1 minute 54 seconds
> [INFO] [INFO] Finished at: Tue Apr 07 10:26:54 CEST 2009
> [INFO] [INFO] Final Memory: 35M/63M
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> --non-interactive commit --file /tmp/maven-scm-342570281.commit
> --targets /tmp/maven-scm-35142-targets
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> [INFO] Tagging release with the label 0.9.14...
> [INFO] Executing: /bin/sh -c cd
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk && svn
> --non-interactive copy --file /tmp/maven-scm-1418570103.commit .
> https://svn.apache.org/repos/asf/directory/shared/tags/0.9.14
> [INFO] Working directory:
> /Users/pajbam/Development/Apache/Release_1.4.0/shared-trunk
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: The specified baseline is not the latest baseline, so it may not be
> checked out.
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 47 seconds
> [INFO] Finished at: Tue Apr 07 10:27:28 CEST 2009
> [INFO] Final Memory: 12M/23M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> If anyone has a clue what to do...
> 
> Thanks,
> Pierre-Arnaud
> 
> PS: 
> <rant>
>     Grr.... Why is the Maven release plugin always giving us headaches
> when releasing???
> </rant>
>