Hi Marc,

Marc Rohlfs wrote:
> 
> What about introducing something like property scopes and/or types?
>    <properties>
>      <my-prop scope="..." type="...">foo</my-prop>
>      <!-- 'scope' = 'global|pom' -->
>      <!-- 'type' = 'mutable|immutable' -->
>    </properties>
> This was just a spontaneous idea, not really well-thought (yet).
> 

Like it, can work really well. Default behavior (no additional attributes)
can be more conservative Ant-like static interpolation but with additional
attributes dynamic interpolation can be turned on. I suggest
interpolation="static|dynamic" attribute.

I checked Maven 2 compatibility now, it works Ok, it ignores additional
attributes:
<properties>
    <propName a="aaaaa" b="cccccc">propValue</propName>



-----
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-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...@maven.apache.org

Reply via email to