RE: Using the .m2 directory for deployment

2019-11-20 Thread Kruse, Stephen S
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


Using the .m2 directory for deployment

2019-11-20 Thread Kruse, Stephen S
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


Issues resolving environment variables

2019-11-20 Thread Kruse, Stephen S
Hi,

 

I have a maven project setup with subprojects and I am using environment
variables in the pom files.  Everything seems to work well when going from
the top down (parent->child) but the environment varables don't seem to be
set when going up (child->parent) when I try to build a child that depends
on a parent.  Any information is 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