Hi,

I have the following section in a parent POM:

<pluginManagement>
        <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <configuration>  
                                
<debug>${systemScope.getProperty('build.debug')}</debug>
                                
<source>${systemScope.getProperty('build.jdk')}</source>
                                
<target>${systemScope.getProperty('build.jdk')}</target>
                        </configuration>
                </plugin>
        </plugins>
</pluginManagement>


When I run a Maven build on the child POM the system scope variables appear to 
have no effect.
If I replace them with fixed values then everything works.

The system variables are set when invoking Maven using -D option.

What have I done wrong?

Does the fact that this inherited have any bearing on the property evaluation?

Many Thanks
Dave

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

Reply via email to