directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: svn commit: r760096 - in /directory/skins/trunk: apacheds-skin/pom.xml pom.xml studio-skin/pom.xml triplesec-skin/pom.xml
Date Mon, 30 Mar 2009 20:20:09 GMT
Pierre-Arnaud Marcelot schrieb:
> I'm happy to hear that. :)
> 
> You had to use the workaround to get it right?

Right.

> 
> I dug a little more and found this issue [1] fixed in version 2.0-beta-9.
> 
> Looks like this configuration should fix the issue and should require
> the use of a workaround:
> 
>      <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-release-plugin</artifactId>
>         <version>2.0-beta-9-SNAPSHOT</version>
>         <configuration>
>           <remoteTagging>true</remoteTagging>
>         </configuration>
>       </plugin>
> 
> This is something we may have to test in a next release.

I wonder if this will work, because I used following explicitly in the skin-parent-pom:
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-9</version>
        <configuration>
          <tagBase>https://svn.apache.org/repos/asf/directory/skins/tags</tagBase>
        </configuration>
      </plugin>
    </plugins>
  </build>

This is already beta-9 release on 2009-03-28 and the jira entry says the commit 756209 from
2009-03-19 sets it by
default and it didn't worked without running twice using -Dresume the second time :(

I hope you're luckier than I. If it works for you it makes sense to fix the release-plugin
configuation in the directory
TLP pom.xml as well.

Felix

> 
> Regards,
> Pierre-Arnaud
> 
> [1] - http://jira.codehaus.org/browse/MRELEASE-427
> 
> On Mon, Mar 30, 2009 at 10:01 PM, Felix Knecht <felixk@apache.org
> <mailto:felixk@apache.org>> wrote:
> 
>     Pierre-Arnaud Marcelot schrieb:
>     > More information here [1].
>     >
>     > Here's the workaround I used:
>     >
>     > # mvn release:prepare
>     > => fails
>     > # svn up -r head
>     > # mvn release:prepare -Dresume
> 
>     Much thanks!
>     It's working now :-)
> 
>     Felix
> 
>     >
>     > Regards,
>     > Pierre-Arnaud
>     >
>     > [1] - http://jira.codehaus.org/browse/SCM-406
>     >
>     > On Mon, Mar 30, 2009 at 9:55 PM, Pierre-Arnaud Marcelot
>     <pa@marcelot.net <mailto:pa@marcelot.net>
>     > <mailto:pa@marcelot.net <mailto:pa@marcelot.net>>> wrote:
>     >
>     >     Hi Felix,
>     >
>     >     As far as I remember, I had the same issue when releasing Studio a
>     >     while back.
>     >
>     >     I think that was an issue with maven and the svn command in
>     >     "non-interactive" mode.
>     >
>     >     The workaround was to run, once again, the command after the
>     command.
>     >
>     >     Hope this helps,
>     >     Pierre-Arnaud
>     >
>     >
>     >     On Mon, Mar 30, 2009 at 8:36 PM, Felix Knecht
>     <felixk@apache.org <mailto:felixk@apache.org>
>     >     <mailto:felixk@apache.org <mailto:felixk@apache.org>>> wrote:
>     >
>     >         But I'm sure, this tag does not exists ...
>     >
>     >
>     >         [INFO] Executing: /bin/sh -c cd
>     >         /svn/apache/directory/skins/trunk && svn --non-interactive
>     copy
>     >         --file
>     >         /tmp/maven-scm-1572231756.commit .
>     >        
>     https://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0
>     >         [INFO] Working directory: /svn/apache/directory/skins/trunk
>     >         [INFO]
>     >        
>     ------------------------------------------------------------------------
>     >         [ERROR] BUILD FAILURE
>     >         [INFO]
>     >        
>     ------------------------------------------------------------------------
>     >         [INFO] Unable to tag SCM
>     >         Provider message:
>     >         The svn tag command failed.
>     >         Command output:
>     >         svn: Übertragen schlug fehl (Details folgen):
>     >         svn: Datei
>     >        
>     »/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0/apacheds-skin/pom.xml«
>     >         existiert bereits
>     >
>     >         [INFO]
>     >        
>     ------------------------------------------------------------------------
>     >         [INFO] For more information, run Maven with the -e switch
>     >
>     >
>     >
>     >         felixk@apache.org <mailto:felixk@apache.org>
>     <mailto:felixk@apache.org <mailto:felixk@apache.org>> schrieb:
>     >         > Author: felixk
>     >         > Date: Mon Mar 30 18:34:00 2009
>     >         > New Revision: 760096
>     >         >
>     >         > URL: http://svn.apache.org/viewvc?rev=760096&view=rev
>     <http://svn.apache.org/viewvc?rev=760096&view=rev>
>     >         <http://svn.apache.org/viewvc?rev=760096&view=rev
>     <http://svn.apache.org/viewvc?rev=760096&view=rev>>
>     >         > Log:
>     >         > [maven-release-plugin] rollback the release of
>     >         directory-parent-skin-1.0.0
>     >         >
>     >         > Modified:
>     >         >     directory/skins/trunk/apacheds-skin/pom.xml
>     >         >     directory/skins/trunk/pom.xml
>     >         >     directory/skins/trunk/studio-skin/pom.xml
>     >         >     directory/skins/trunk/triplesec-skin/pom.xml
>     >         >
>     >         > Modified: directory/skins/trunk/apacheds-skin/pom.xml
>     >         > URL:
>     >        
>     http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>
>     >        
>     <http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/apacheds-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>>
>     >         >
>     >        
>     ==============================================================================
>     >         > --- directory/skins/trunk/apacheds-skin/pom.xml (original)
>     >         > +++ directory/skins/trunk/apacheds-skin/pom.xml Mon Mar 30
>     >         18:34:00 2009
>     >         > @@ -25,7 +25,7 @@
>     >         >    <parent>
>     >         >      <groupId>org.apache.directory.skins</groupId>
>     >         >      <artifactId>directory-parent-skin</artifactId>
>     >         > -    <version>1.0.0</version>
>     >         > +    <version>1.0.0-SNAPSHOT</version>
>     >         >    </parent>
>     >         >
>     >         >    <artifactId>directory-skin</artifactId>
>     >         >
>     >         > Modified: directory/skins/trunk/pom.xml
>     >         > URL:
>     >        
>     http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>
>     >        
>     <http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>>
>     >         >
>     >        
>     ==============================================================================
>     >         > --- directory/skins/trunk/pom.xml (original)
>     >         > +++ directory/skins/trunk/pom.xml Mon Mar 30 18:34:00 2009
>     >         > @@ -30,7 +30,7 @@
>     >         >
>     >         >    <groupId>org.apache.directory.skins</groupId>
>     >         >    <artifactId>directory-parent-skin</artifactId>
>     >         > -  <version>1.0.0</version>
>     >         > +  <version>1.0.0-SNAPSHOT</version>
>     >         >    <name>Directory Skins</name>
>     >         >    <packaging>pom</packaging>
>     >         >    <description>Apache Directory Skins used by maven site
>     >         generation for the directory projects.</description>
>     >         > @@ -59,9 +59,9 @@
>     >         >    </modules>
>     >         >
>     >         >    <scm>
>     >         > -
>     >        
>      <connection>scm:svn:http://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0</connection>
>     >         > -
>     >        
>      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/skins/tags/directory-parent-skin-1.0.0</developerConnection>
>     >         > -
>     >        
>      <url>http://svn.apache.org/viewvc/directory/skins/tags/directory-parent-skin-1.0.0</url>
>     >         > +
>     >        
>      <connection>scm:svn:http://svn.apache.org/repos/asf/directory/skins/trunk</connection>
>     >         > +
>     >        
>      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/skins/trunk</developerConnection>
>     >         > +  
>      <url>http://svn.apache.org/viewvc/directory/skins/trunk</url>
>     >         >    </scm>
>     >         >
>     >         >  </project>
>     >         >
>     >         > Modified: directory/skins/trunk/studio-skin/pom.xml
>     >         > URL:
>     >        
>     http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>
>     >        
>     <http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/studio-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>>
>     >         >
>     >        
>     ==============================================================================
>     >         > --- directory/skins/trunk/studio-skin/pom.xml (original)
>     >         > +++ directory/skins/trunk/studio-skin/pom.xml Mon Mar 30
>     >         18:34:00 2009
>     >         > @@ -25,7 +25,7 @@
>     >         >    <parent>
>     >         >      <groupId>org.apache.directory.skins</groupId>
>     >         >      <artifactId>directory-parent-skin</artifactId>
>     >         > -    <version>1.0.0</version>
>     >         > +    <version>1.0.0-SNAPSHOT</version>
>     >         >    </parent>
>     >         >
>     >         >    <artifactId>directory-studio-skin</artifactId>
>     >         >
>     >         > Modified: directory/skins/trunk/triplesec-skin/pom.xml
>     >         > URL:
>     >        
>     http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>
>     >        
>     <http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff
>     <http://svn.apache.org/viewvc/directory/skins/trunk/triplesec-skin/pom.xml?rev=760096&r1=760095&r2=760096&view=diff>>
>     >         >
>     >        
>     ==============================================================================
>     >         > --- directory/skins/trunk/triplesec-skin/pom.xml (original)
>     >         > +++ directory/skins/trunk/triplesec-skin/pom.xml Mon Mar 30
>     >         18:34:00 2009
>     >         > @@ -25,7 +25,7 @@
>     >         >    <parent>
>     >         >      <groupId>org.apache.directory.skins</groupId>
>     >         >      <artifactId>directory-parent-skin</artifactId>
>     >         > -    <version>1.0.0</version>
>     >         > +    <version>1.0.0-SNAPSHOT</version>
>     >         >    </parent>
>     >         >
>     >         >    <artifactId>directory-triplesec-skin</artifactId>
>     >         >
>     >         >
>     >
>     >
>     >
> 
> 


Mime
View raw message