You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nivea <ni...@gmail.com> on 2012/07/10 22:01:44 UTC
maven release plugin uses "git add" instead of svn commit
In the parent pom.xml I have specified the scm url that points to the svn
location. How do I force release plugin to use svn as the scm and not git.
My configuration for release plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Prelease</arguments>
<pushChanges>false</pushChanges>
<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.3</version>
</dependency>
</dependencies>
</plugin>
--
View this message in context: http://maven.40175.n5.nabble.com/maven-release-plugin-uses-git-add-instead-of-svn-commit-tp5713686.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: maven release plugin uses "git add" instead of svn commit
Posted by Amir Gheibi <ag...@fmep.ag.gov.bc.ca>.
I guess Maven "conventionally" uses Git.
This is what I have in my parent POM. Change connections to point to your SVN's trunk or release branch.
<project>
<scm>
<connection>scm:git:ssh://git@xxxxx/usr/local/git_repos/projectXYZ.git</connection>
<developerConnection>scm:git:ssh://git@xxxxx/usr/local/git_repos/projectXYZ.git</developerConnection>
<tag>HEAD</tag>
</scm>
</project>
-----Original Message-----
From: nivea
Sent: July-10-12 1:02 PM
Subject: maven release plugin uses "git add" instead of svn commit
In the parent pom.xml I have specified the scm url that points to the svn location. How do I force release plugin to use svn as the scm and not git.
My configuration for release plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Prelease</arguments>
<pushChanges>false</pushChanges>
<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.3</version>
</dependency>
</dependencies>
</plugin>
--
View this message in context: http://maven.40175.n5.nabble.com/maven-release-plugin-uses-git-add-instead-of-svn-commit-tp5713686.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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