SVN as Maven Repo

We use SVN to store maven dependencies (an organization limitation could not use the nexus or artifactory maven repository, as it is now). SVN runs on a https web server. Currently, if a new dependency is added, all developers need to manually update the local copy of maven repo. Is there a way to download \ update a new dependency automatically during the maven build cycle? I tried with wagon plugin no help. Any help would be appreciated.

+5
source share
3 answers

First try getting your Nexus as soon as possible. In addition, you use svn to replace the local user repository. Why not use SVN as a (temporary) replacement for the connection users use via Maven. If you configure the web server this way, everyone will automatically download dependencies via Maven and NOT via SVN in .m2 / repository.

+3
source

You can make the shared folder accessible to all developers and configure maven to use as a repository and create a script to update it in the assembly. Thus, each body will have the same updated repo.

But it’s better for you to get a connection ...

+1
source

, . , , - Maven - Apache Archiva ( ), , Archiva, , .

, , , ~/.m2.settings.xml ( , Maven Archiva ( , , ). Archiva , Archiva .

( , , , pom .., )

0

All Articles