The .m2/repository folder i a local Maven repository, which is local for one machine. What you want to do is to deploy (Maven lingo for publish) to a repository manager (such as Nexus och Artifactory for example). You deployment script/system can then download from the repo manager and perform the deployment.
/Anders On Wed, Nov 20, 2019 at 1:47 PM Kruse, Stephen S <stephen.kr...@gd-ms.com> wrote: > Hi, > > > > I am looking into possible deployment strategies with maven to support the > current project I’m working on. One strategy I am thinking about is to use > the .m2 for deployment as well as the development environment. I have not > seen anyone else talk of using the .m2 for deployment purposes and was > hoping that I could get a good understanding of why. One benefit I foresee > is having the same environment used for both the development and runtime > environment. Any thoughts are much appreciated. > > > > Thanks, > > Steve > > > > H Stephen Kruse > > General Dynamics (GD-MS) > > 12450 Fair Lakes Cir, Fairfax, VA 22033 > > BYG-1/TCS Software Lead > > Office: (703) 272-1774 > > > > >