maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiessen, Todd (Todd)" <>
Subject RE: Can't specify distributionManagement in settings.xml
Date Mon, 04 Oct 2010 19:36:35 GMT
I don't think it is arbitary. Where you deploy your artifacts TO, I think should be fixed.
I think that is the intent. It is a one off thing that is applicable to the build at hand
and isn't something you will want to try and reproduce at a later date (like building from
a tag).

In this case it is good to know that if you run a mvn deploy, you'll know exactly where the
artifact will go. Using it as a property or variable in this case I think isn't a good thing.

Think of this way. You want to have complete control over the artifacts that your build produces.
Something fixed... predicatable. The artifacts that are produced by some other project that
you need as depedendencies; you should have control over where they will be found and that
may change over time. These are thus not fixed.

But that is my view. Fill your boots if you wish to define it as a property ;-). 

> -----Original Message-----
> From: Haszlakiewicz, Eric []
> Sent: Monday, October 04, 2010 3:24 PM
> To: Maven Users List
> Subject: RE: Can't specify distributionManagement in settings.xml
> >-----Original Message-----
> >From: Thiessen, Todd (Todd) []
> >
> >Hehe. Not so sure I'd say "wrong", but definitely unnecessary.
> >
> >Why are you opposed to putting this information in a the distribution
> >management section of a parent pom?
> See the email I wrote in the "Company-wide settings" thread (Message-ID:
> <>
> ).
> If you put this in a parent pom, it becomes very hard to change it, and
> this feels like arbitrary, mutable, local configuration that shouldn't
> get hard coded into the builds.
> Phillip's idea of using a property sounds pretty useful to me. (thanks!)
> eric
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message