On 12/14/06, ekio <[EMAIL PROTECTED]> wrote:

Is it intended that system properties don't work with things within
<parent>?
Let say I have the following in the POM, and I call mvn help:effective-pom
-Dsomething=-dev
It seems like ${something} is not getting filtered...

<parent>
        <groupId>group</groupId>
        <artifactId>artifact</artifactId>
        <version>1.0.0${something}</version>
</parent>

I don't think this can work.  One of the first things Maven does is
figure out the pom hierarchy, so if it can't find its parent pom, it
stops.  Replacing expressions with values comes later.

Without knowing more about your project, I would suggest inheriting
from one parent pom, and using profiles to configure the different
setup you need. (Maybe development, test and live environments?)

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to