You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roland Kofler <ro...@systemone.at> on 2006/02/12 22:13:06 UTC

snapshot commit to SVN

Hi, I need to commit the generated snapshot to a SVN URL,

I setted the server in settings.xml

 <server>
      <id>deploymentRepo</id>
      <username>roland.kofler</username>
      <password>********</password>
    </server>

and in pom.xml:

....
<extension>
        <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-scm</artifactId>
         <version>1.0-alpha-3</version>
      </extension>
    </extensions> 
 </build>
 
    <distributionManagement>
        <repository>
            <id>deploymentRepo</id>
            <url>scm:svn:http://*********</url>
        </repository>
  </distributionManagement>


now he trys do upload a complete directorypath, with a timestamped *.jar
ok, this works for m2 repositories, but how can i simply deploy 
core-1.0-SNAPSHOT.jar ????
Its needed for the web developers haveing fresh JARs in SVN

Thanks!!! Roland

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from deploymentRepo
[INFO] Working directory: c:\Dokumente und 
Einstellungen\roland.kofler\systemone\core\${user.home}\.m2\repository\at\systemone\core\1.0-SNAPSHOT
[INFO] Command line: svn --username roland.kofler --password ******** 
--non-interactive checkout 
http://*********************/lib/at/systemone/core/1.
0-SNAPSHOT 1.0-SNAPSHOT
Uploading: 
scm:svn:http://saturn.intern.systemone.at/svn/projects/s1jcr-helma/trunk/helma-apps/lib/at/systemone/core/1.0-SNAPSHOT/core-1.0-20060212.204507-1.jar
[INFO] 
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] org/apache/maven/wagon/util/FileUtils
[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/maven/wagon/util/FileUtils
        at 
org.apache.maven.wagon.providers.scm.ScmWagon.put(ScmWagon.java:148)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: snapshot commit to SVN

Posted by Emmanuel Venisse <em...@venisse.net>.
wagon-scm isn't ready yet for production, it's an experimental component that will be improve later.

You can file an issue for your problem and we'll fix it when we'll work on this component.

Emmanuel

Roland Kofler a écrit :
> Hi, I need to commit the generated snapshot to a SVN URL,
> 
> I setted the server in settings.xml
> 
> <server>
>      <id>deploymentRepo</id>
>      <username>roland.kofler</username>
>      <password>********</password>
>    </server>
> 
> and in pom.xml:
> 
> ....
> <extension>
>        <groupId>org.apache.maven.wagon</groupId>
>         <artifactId>wagon-scm</artifactId>
>         <version>1.0-alpha-3</version>
>      </extension>
>    </extensions> </build>
> 
>    <distributionManagement>
>        <repository>
>            <id>deploymentRepo</id>
>            <url>scm:svn:http://*********</url>
>        </repository>
>  </distributionManagement>
> 
> 
> now he trys do upload a complete directorypath, with a timestamped *.jar
> ok, this works for m2 repositories, but how can i simply deploy 
> core-1.0-SNAPSHOT.jar ????
> Its needed for the web developers haveing fresh JARs in SVN
> 
> Thanks!!! Roland
> 
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from deploymentRepo
> [INFO] Working directory: c:\Dokumente und 
> Einstellungen\roland.kofler\systemone\core\${user.home}\.m2\repository\at\systemone\core\1.0-SNAPSHOT 
> 
> [INFO] Command line: svn --username roland.kofler --password ******** 
> --non-interactive checkout 
> http://*********************/lib/at/systemone/core/1.
> 0-SNAPSHOT 1.0-SNAPSHOT
> Uploading: 
> scm:svn:http://saturn.intern.systemone.at/svn/projects/s1jcr-helma/trunk/helma-apps/lib/at/systemone/core/1.0-SNAPSHOT/core-1.0-20060212.204507-1.jar 
> 
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [ERROR] FATAL ERROR
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] org/apache/maven/wagon/util/FileUtils
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/maven/wagon/util/FileUtils
>        at 
> org.apache.maven.wagon.providers.scm.ScmWagon.put(ScmWagon.java:148)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org