directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: Issues while releasing shared
Date Tue, 07 Apr 2009 09:00:31 GMT
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
> <mailto:felixk@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>
>     >
> 
> 


Mime
View raw message