Search code examples
maven-2version-controlmaven-pluginmaven-scm

maven build execute svn get


I have a project build that needs to include files from another svn location during the build. I want to execute an svn get and then copy these files to the appropriate folder for the build. Researching this issue it seems I could use ant tasks but I wanted to find out what might be the best approach to take for this build.


Solution

  • You can use the maven-scm-plugin. According to the scm matrix both checkout and update are allowed.