And yes, as a workaround I need not to define anything as <properties>, in
this case it works as expected. The problem with this approach is that POM
becomes very fragile, like in old Ant days: you forget the rule and add a
property that is overridden later .. Whops, but it's not.

I think this issue opens a wider one: does Maven treat properties like a
mutable variables thus allowing more dynamic behavior during the run-time or
it treats them them as a predefined constants, preferring static declarative
behavior and "repeatable builds". It is basically about "dynamicy" vs.
"staticness" or builds.

-----
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to