I want to update local project from remote SVN with Maven (without to have SVN command installed) I`m trying to use alternate scm provider in maven-scm-publish-plugin following the example plugin config looks like:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<providerImplementations>
<svn>javasvn</svn>
</providerImplementations>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.code.maven-scm-provider-svnjava</groupId>
<artifactId>maven-scm-provider-svnjava</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>org.tmatesoft.svnkit</groupId>
<artifactId>svnkit</artifactId>
<version>1.7.11</version>
</dependency>
</dependencies>
</plugin>
source: http://maven.apache.org/plugins/maven-scm-publish-plugin/various-tips.html
But after execute mvn scm:update
it`s have in Maven log
[INFO] --- maven-scm-plugin:1.9.5:update (default-cli) @ testscm ---
[INFO] Executing: /bin/sh -c cd /home/stanimir/ProjectSvnTest && svn --non-interactive update /home/stanimir/ProjectSvnTest
and error: svn not found
- I know.. it is not installed on system. I want to use svnkit instead but how this plugin to use javasvn?
mvn scm:update
– sytolksvn upd
? Why so compilcated via Maven? – khmarbaisesvn update
will fail with the same errorsvn not found
there is not svn cli installed on the server and I cannot change this :) – sytolk