It's not a secret anymore!*
The moose likes Ant, Maven and Other Build Tools and the fly likes maven subversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply locked New topic
Author

maven subversion

anjana jalodiya
Greenhorn

Joined: Mar 09, 2011
Posts: 14
i m doing work on maven and subversion
i have created a maven project now i want to point it to my repository(created by svn tortoise)

i read that for this i have to change in pom.xml file from this site
http://wiki.gxdeveloperweb.com/confluence/display/GXDEV/Maven+and+Source+Control+Management+in+Subversion

but by following this site when i have added scm and tag base like


<scm>
<connection>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</connection>
<developerConnection>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</developerConnection>
<url>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</url>
</scm>



<build>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>svn+ssh://file:///E:/my-app-reposs</tagBase>
</configuration>
</plugin>
</plugins>

</build>


then when i m trying to mvn release:prepare command i m getting error as
fail to execute goal org.apache.maven.plugins
and further more
Karl Heinz Marbaise
Greenhorn

Joined: Aug 12, 2007
Posts: 19
Hi,

first have you tested to access your repository via command line with this:

svn+ssh://file:///E:/my-app-reposs

Kind regards
Karl Heinz Marbaise


Software Configuration Management (Subversion, CVS, SVK etc.) http://www.skmwiki.de/
Subversion Repository Search Engine http://www.supose.org/
anjana jalodiya
Greenhorn

Joined: Mar 09, 2011
Posts: 14
Karl Heinz Marbaise wrote:Hi,

first have you tested to access your repository via command line with this:

svn+ssh://file:///E:/my-app-reposs

Kind regards
Karl Heinz Marbaise



after reading your instruction i have tried to run svn:scm://file:///E:/my-app-repos

but its not working error is
svn:scm not recognized as an internal or external command
anjana jalodiya
Greenhorn

Joined: Mar 09, 2011
Posts: 14
Karl Heinz Marbaise wrote:Hi,

first have you tested to access your repository via command line with this:

svn+ssh://file:///E:/my-app-reposs

Kind regards
Karl Heinz Marbaise



Sorry sir for late replying whenever i try to reply i get an error for some abbreviation problem but i have checked there was no such problem.....

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Locking this thread because the discussion has continued here:
http://www.coderanch.com/t/530272/tools/maven-subversion


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: maven subversion