This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes How to add a multi module maven project to SVN through eclipse Indigo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to add a multi module maven project to SVN through eclipse Indigo" Watch "How to add a multi module maven project to SVN through eclipse Indigo" New topic
Author

How to add a multi module maven project to SVN through eclipse Indigo

shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
I have created a multi-module maven project. How should i add it to my assembla SVN repository? do i need to add only the Parent Module or i also need to add the Child projects that are separately created in eclipse?

Since it is a multi-module project so eclipse creates a separate project for each module within the parent project. I have added the parent project to the repository. But i dont know if i have to add the child projects also separately. Where exactly would i need to add files or make changes, i.e. in the folders within the parent module or the seperate child projects created by Eclipse ?


[Thumbnail for MavenMulti.png]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Yes, you need to add the master module and all of the submodules to subversion. I suspect that in the directory structure (not in Eclipse) that the submodules are subdirectories under the master module - you will want to maintain that same directory structure in Subversion.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add a multi module maven project to SVN through eclipse Indigo
 
Similar Threads
Multi-module Maven project with Flat or Hierarchical structure?
Maven : How to have Modular project structure based on Business Functions
Libraries not visible under projects java build path in eclipse
Maven site reports (developer activity) and SCM configuration
how to make the plugin jar to take the specified version from the pom.