Carlos Sanchez-4 wrote:
>
> i have used wagon-scm (only implemented with subversion) although I'd
> say is alpha/beta quality, never tried wagon-webdav for svn
thank's for the hint. My first attempts to configure wagon-scm were not
successful.
I added the following to the pom.xml:
...
<distributionManagement>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<name>My SVN Snapshot Repo</name>
<id>svnrepo</id>
<url>scm:svn:file:///H:/MySvnRepository/Playground/m2-repo</url>
</snapshotRepository>
</distributionManagement>
...
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>1.0-beta-2-SNAPSHOT</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.0-SNAPSHOT</version>
</extension>
</extensions>
The logs:
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from svnrepo
[INFO] Executing: svn --non-interactive checkout
file:///H:/MySvnRepository/Playground/m2-repo/net/sf/jgabl2/net.sf.jgabl2.core/0.8.0-SNAPSHOT
0.8.0-SNAPSHOT
[INFO] Working directory:
e:\JavaDev\EclipseWorkspaces\workspace_3.2\net.sf.jgabl5\modules\core\target\checkout\net\sf\jgabl2\net.sf.jgabl2.core
Uploading:
scm:svn:file:///H:/MySvnRepository/Playground/m2-repo/net/sf/jgabl2/net.sf.jgabl2.core/0.8.0-SNAPSHOT/net.sf.jgabl2.core-0.8.0-SNAPSHOT.jar
[INFO] Executing: svn --non-interactive list
file:///H:/MySvnRepository/Playground/m2-repo/.
[INFO] Working directory: f:\tmp
[INFO] Executing: svn --non-interactive checkout
file:///H:/MySvnRepository/Playground/m2-repo checkout
[INFO] Working directory:
e:\JavaDev\EclipseWorkspaces\workspace_3.2\net.sf.jgabl5\modules\core\target
[INFO] Executing: svn add --non-recursive
net.sf.jgabl2.core-0.8.0-SNAPSHOT.jar
[INFO] Working directory:
e:\JavaDev\EclipseWorkspaces\workspace_3.2\net.sf.jgabl5\modules\core\target\checkout
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Unable to add file to SCM:
target\checkout\net\sf\jgabl2\net.sf.jgabl2.core\0.8.0-SNAPSHOT\net.sf.jgabl2.core-0.8.0-SNAPSHOT.jar;
see error messages above for more information
I assume I did not configured it correctly, or there is a bug in wagon-scm.
-- Alex
--
View this message in context:
http://www.nabble.com/-m2--subversion-repository-upload-using-webdav-tf3039813s177.html#a8457694
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]