Reputation: 137
I am new to Maven world, so help me out please. I have a normal Maven project that uses SVN for version control. What i want to do is have Maven automatically fetch some scripts from a SVN folder and place them inside the project.This should be done when i order maven to build the application WAR file. Here is the catch: the folder i want to pick up from SVN is not on the same SVN folder as the current project. It is on a different SVN folder. Ex.: httxx://svnprd/svn/project/here and httxx://svnprd/svn/scripts/here
I have read about the scm plugin, but i have not been able to set it up correctly, or to find a decent tutorial on it.
Any help is appreciated, thanks.
Upvotes: 1
Views: 323
Reputation: 137
Turned out it was my own mistake, i was trying to use scm:update instead of scm:export. thanks for the help guys.
Upvotes: 1
Reputation: 12440
Antrun plugin could help you. Hook it in generate-sources
phase and write ant script that checks out the SVN folder and moves the files where needed.
Upvotes: 0