You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/13 11:26:26 UTC

[jira] Updated: (MCOMPILER-108) Overwriting configurations does not take affect in a POM child project

     [ http://jira.codehaus.org/browse/MCOMPILER-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MCOMPILER-108:
----------------------------------------

    Attachment: MCOMPILER-108.zip

The attached demo project uses different source/target options in the parent and child modules and works just fine.

> 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
>         Attachments: MCOMPILER-108.zip
>
>
> 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