Thanks for the response Anders! My question is would you ever use your local
.m2/repository for you deployment since that in theory should contain all of
your dependencies? Do you foresee any issues with doing this?
Thanks,
Steve
-Original Message-
From: Anders Hammar
Sent: Wednesday, November 20, 2019 8:23 AM
To: Maven Users List
Subject: Re: Using the .m2 directory for deployment
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
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
>
>
>
>
>
smime.p7s
Description: S/MIME cryptographic signature