This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 5772
    
    7

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


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maven subversion
 
Similar Threads
Problems in making an executable jar file thru Maven
Maven site reports (developer activity) and SCM configuration
maven subversion
Funny exception with StringBuffer with jsf
Unable to find mojo 'validate'