You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thiago Leão Moreira (JIRA)" <ji...@codehaus.org> on 2009/10/15 06:00:26 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=194792#action_194792 ] 

Thiago Leão Moreira commented on MCOMPILER-108:
-----------------------------------------------

Thank you Benjamin. I got it working correctly.

> 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
>            Assignee: Benjamin Bentmann
>         Attachments: MCOMPILER-108-reproducible.zip, MCOMPILER-108.zip, 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