Overwriting configurations does not take affect in a POM child project 
-----------------------------------------------------------------------

                 Key: MCOMPILER-108
                 URL: http://jira.codehaus.org/browse/MCOMPILER-108
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: Thiago Leão Moreira


If you define a parent project with this compiler configuration

                        <plugin>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <inherited>true</inherited>
                                <configuration>
                                        <source>1.3</source>
                                        <target>1.3</target>
                                </configuration>
                        </plugin>

And a child project with this

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.3</source>
                                        <target>1.1</target>
                                        <fork>true</fork>
                                        
<compilerArgument>-g:none</compilerArgument>
                                        <compilerArguments>
                                                <bootclasspath>
                                                        
${settings.localRepository}/org/microemu/midpapi20/2.0.3/midpapi20-2.0.3.jar
                                                </bootclasspath>
                                        </compilerArguments>
                                </configuration>
                        </plugin>

the configurations in the child project will not take affect!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to