thanks julian for your replying...

if I make

svn copy . ../tags/tapestry4-playroom-0_1

I obtain the same error, but if I make...

svn copy -m "comment..."
https://localhost/svn/repos/tapestry4-playroom/trunk
https://localhost/svn/repos/tags/0_1

I works perfectly

tapestry4-playroom is a svn working copy, I checkout it with eclipse.

I try without the tag directory and, after that, creating it first. No way.

Yesterday, I try using mvn release:prepare from another machine, and I
works!! Then, It can't be a problem in the server I think

Searching in google, I've found some pages with people with the same
problem, like this:
http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]


It's very strange, isn't it?

Thanks

On 2/8/06, Julian Wood <[EMAIL PROTECTED]> wrote:
>
> It looks right to me. Did you delete the release.properties file and
> try again? tapestry4-playroom is an svn working copy? The tags
> directory exists in your svn repo?
>
> Maven is trying to copy everything in trunk to tags/tapestry4-
> playroom-0_1. So try on the command line (there should be a trunk and
> tags directory locally and in the svn repo below the tapestry4-
> playroom dir) :
>
> tapestry4-playroom $ svn copy trunk tags/tapestry4-playroom-0_1
> tapestry4-playroom $ svn commit -m "Released version 0_1"
>
> Get it working there first, and it should work with maven.
>
> J
>
> On 8-Feb-06, at 2:29 PM, German de la Cruz wrote:
>
> > After some hours of trial an error, I wasn't able to make scm with
> > subversion work
> >
> > svn: Cannot copy path '.' into its own child '../tags/0_1'
> >
> >
> > Every time I run maven release:prepare, I obtain the next error
> >
> > I'm running it in linux
> >
> > Thanks guys!
> >
> > [DEBUG] Configuring mojo '
> > org.apache.maven.plugins:maven-release-plugin:2.0-beta-3:prepare' -->
> > [DEBUG]   (f) basedir = /home/gdelacruz/develop/workspace/tapestry4-
> > playroom
> > [DEBUG]   (f) generateReleasePoms = false
> > [DEBUG]   (f) interactive = true
> > [DEBUG]   (f) localRepository = [local] ->
> > file:///home/gdelacruz/.m2/repository
> > [DEBUG]   (f) password =
> > [DEBUG]   (f) reactorProjects = [
> > [EMAIL PROTECTED]
> > [DEBUG]   (f) resume = false
> > [DEBUG]   (f) settings = [EMAIL PROTECTED]
> > [DEBUG]   (f) tagBase = https://localhost/svn/repos/tapestry4-
> > playroom/tags
> > [DEBUG]   (f) urlScm = scm:svn:
> > https://localhost/svn/repos/tapestry4-playroom/trunk
> > [DEBUG]   (f) username = ger
> > [DEBUG] -- end configuration --
> > [INFO] [release:prepare]
> > [INFO] Verifying there are no local modifications ...
> > [INFO] Checking lineage for snapshots ...
> > [INFO] Checking dependencies for snapshots ...
> > [INFO] Checking plugins for snapshots ...
> > [INFO] What is the release version for 'tests:tapestry4-playroom'?
> > [0.1]
> > 0_1
> > [INFO] What tag name should be used?
> > 0_1
> > [INFO] Checking in modified POMs
> > [INFO] Tagging release with the label 0_1.
> > Provider message:
> > The svn tag command failed.
> > Command output:
> > svn: No se puede copiar la ruta '.' a su propio descendiente '../
> > tags/0_1'
> > (it means svn: Cannot copy path '.' into its own child '../tags/0_1'
> > [INFO]
> > ----------------------------------------------------------------------
> > ------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ----------------------------------------------------------------------
> > ------
> > [INFO] An error is occurred in the tag process.
> >
> > Embedded error: Error!
> > [INFO]
> > ----------------------------------------------------------------------
> > ------
> > [DEBUG] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: An error is
> > occurred
> > in the tag process.
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:556)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneG
> > oal(
> > DefaultLifecycleExecutor.java:485)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:455)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> > leFailures
> > (DefaultLifecycleExecutor.java:303)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> > s(
> > DefaultLifecycleExecutor.java:216)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > DefaultLifecycleExecutor.java:139)
> >         at org.apache.maven.DefaultMaven.doExecute
> > (DefaultMaven.java:322)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
> > 115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.codehaus.classworlds.Launcher.launchEnhanced
> > (Launcher.java
> > :315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at org.codehaus.classworlds.Launcher.mainWithExitCode
> > (Launcher.java
> > :430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.plugin.MojoExecutionException: An error is
> > occurred in the tag process.
> >         at
> > org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(
> > PrepareReleaseMojo.java:1414)
> >         at
> > org.apache.maven.plugins.release.PrepareReleaseMojo.execute(
> > PrepareReleaseMojo.java:246)
> >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > DefaultPluginManager.java:415)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:531)
> >         ... 16 more
> > Caused by: org.apache.maven.scm.ScmException: Error!
> >         at
> > org.apache.maven.plugins.release.helpers.ScmHelper.checkResult(
> > ScmHelper.java:124)
> >         at org.apache.maven.plugins.release.helpers.ScmHelper.tag(
> > ScmHelper.java:226)
> >         at
> > org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(
> > PrepareReleaseMojo.java:1410)
> >         ... 19 more
> > [INFO]
> > ----------------------------------------------------------------------
> > ------
> > [INFO] Total time: 10 seconds
> > [INFO] Finished at: Wed Feb 08 17:59:22 ART 2006
> > [INFO] Final Memory: 4M/8M
> > [INFO]
> > ----------------------------------------------------------------------
> > ------
> >
> >
> > My pom...
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?><project>
> >   <modelVersion>4.0.0</modelVersion>
> >   <groupId>tests</groupId>
> >   <artifactId>tapestry4-playroom</artifactId>
> >   <name>Maven Quick Start Archetype</name>
> >   <version>0.1-SNAPSHOT</version>
> >   <description>tapestry4-playroom</description>
> >   <url>http://maven.apache.org</url>
> >   <scm>
> >     <connection>scm:svn:https://localhost/svn/repos/tapestry4-
> > playroom/trunk
> > </connection>
> >     <developerConnection>scm:svn:
> > https://localhost/svn/repos/tapestry4-playroom/trunk</
> > developerConnection>
> >   </scm>
> >   <build>
> >     <plugins>
> >       <plugin>
> >         <artifactId>maven-release-plugin</artifactId>
> >         <configuration>
> >           <resume>false</resume>
> >           <tagBase>https://localhost/svn/repos/tapestry4-playroom/tags
> > </tagBase>
> >         </configuration>
> >       </plugin>
> >       <plugin>
> >         <artifactId>maven-compiler-plugin</artifactId>
> >         <configuration>
> >           <source>1.5</source>
> >           <target>1.5</target>
> >         </configuration>
> >       </plugin>
> >       <plugin>
> >         <artifactId>maven-eclipse-plugin</artifactId>
> >         <configuration></configuration>
> >       </plugin>
> >       <plugin>
> >         <artifactId>maven-scm-plugin</artifactId>
> >         <configuration>
> >           <username>${username}</username>
> >           <password>${password}</password>
> >         </configuration>
> >       </plugin>
> >     </plugins>
> >   </build>
> >   <dependencies>
> >
> >    .....
> >
> >   </dependencies>
> > </project>
>
> --
> Julian Wood <[EMAIL PROTECTED]>
>
> Programmer/Analyst
> University of Calgary
>
> http://commons.ucalgary.ca
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to