Can Maven download from various repositories (SVN) in one execution?

Im using maven to build a multi module project. But some projects are in a different svn server. I know it is not a good practice, but that choice was made following some considerations.

Anyway, everything works fine, but I'm not able to find a way to checkout projects from an alternate repository location.

Is this possible?

Thanks!

Answers


I'm still not sure to understand everything (things might be obvious for you but believe me, they aren't for the readers) but this looks more like a Subversion issue than a Maven issue. Maybe Externals Definitions could help here:

Sometimes it is useful to construct a working copy that is made out of a number of different checkouts. For example, you may want different subdirectories to come from different locations in a repository or perhaps from different repositories altogether. You could certainly set up such a scenario by hand—using svn checkout to create the sort of nested working copy structure you are trying to achieve. But if this layout is important for everyone who uses your repository, every other user will need to perform the same checkout operations that you did.

By setting svn:externals properly, it should be possible to fetch everything from various repositories with a single checkout.

For more guidance, post a more precise question :)


Need Your Help

"Access is denied" message while deploying spring app in tomcat 6

java tomcat access-denied filenotfoundexception

While trying to deploy my spring app on tomcat 6 I get an error saying