We are using SVN to store maven dependencies (organization restriction couldn't use nexus or artifactory maven repository as now). SVN runs on a webserver with https protocol. Currently if a new dependency is added all developers have to update their local copy of maven repo manually. Is there a way to download\update new dependency automatically during maven build cycle itself? tried with wagon plugin no help. Any helps will be appreciated.
First try to get a Nexus as soon as possible. Furthermore you are using svn as a replacement for the local user repository. Why not using SVN as a (temporary) replacement for a nexus which users are using via Maven. If you configure the Web-Server that way everyone will download the dependencies automatically via Maven and NOT via SVN into the .m2/repository.
You can make a shared folder accessible to all developers and configure maven to use it as repository and create a script to update it on a build. So every body will have the same updated repo.
But its better for you to force getting nexus...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With