Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-31 Thread Marc Rohlfs
I'll watch this issue as I'm really interested in how it might be handled. Personally I don't have a clear position here. Sometimes I'd like the property interpolation to be a little more dynamic. It would e.g. be great if I could activate a profile by the existence of a file whose path

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-31 Thread Evgeny Goldin
-in-Maven-2-static-in-Maven-3-tp3360336p3364531.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-31 Thread lukewpatterson
? -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3364574.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Marc Rohlfs
I'd say properties should be static - otherwise predefining them using the command line switch '-D' wouldn't work properly. BTW: With this Maven 3 show the same behaviour like Ant (I know, I shouldn't compare them), where properties are always immutable. I just checked it with the the

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
*. Created an issue: http://jira.codehaus.org/browse/MNG-4998 - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3361789.html Sent from the Maven - Users

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
. - Best regards, Evgeny http://evgeny-goldin.com/ evgeny-goldin.com -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3361809.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread lukewpatterson
.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3361880.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3361967.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Hilco Wijbenga
On 28 January 2011 11:10, Evgeny Goldin evge...@gmail.com wrote: lukewpatterson wrote: The general argument against dynamic properties is that they make the build configuration less declarative, right? It makes builds more dynamic and less repeatable and that could be the reason Maven 3 was

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
of its philosophies a little. - Best regards, Evgeny http://evgeny-goldin.com/ evgeny-goldin.com -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3362266.html Sent from the Maven - Users mailing list

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread lukewpatterson
furthers traditional builds or batch processing builds, legitimate use-cases for dynamic interpolation have been identified -- View this message in context: http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3362278.html Sent from the Maven

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Hilco Wijbenga
On 28 January 2011 15:22, lukewpatterson lukewpatter...@gmail.com wrote: * Maven 2 and 3 have different interpolation behavior, and the behavior isn't documented in the compatibility notes * dynamic variable interpolation doesn't affect determinism, i.e. same input yields same output *

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-28 Thread Evgeny Goldin
://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3362337.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
Hi, I see a different behavior in Maven 2.2.1 and Maven 3.0.2. Suppose I have properties propertyDirdir/propertyDir /properties Later, it is used in expression to configure some plugin: configuration targetPathpl-290-4/${propertyDir}/1/targetPath ... /configuration *Before* this

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread lukewpatterson
/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3360344.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: Variables interpolation: dynamic in Maven 2, static in Maven 3 ?

2011-01-27 Thread Evgeny Goldin
-dynamic-in-Maven-2-static-in-Maven-3-tp3360336p3360350.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h