maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Lacoste (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-506) Property of parent project not resolved
Date Tue, 03 Nov 2009 17:24:55 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197047#action_197047
] 

Jerome Lacoste commented on MECLIPSE-506:
-----------------------------------------

Note I tested this on a project with maven 2.2.1 and the problem disappeared. So I guess the
problem is related to maven not properly interpolating the values.

Can someone test also with maven 2.2.1 ?

> Property of parent project not resolved
> ---------------------------------------
>
>                 Key: MECLIPSE-506
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-506
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.24-22-generic" arch: "i386" Family: "unix"
>            Reporter: Benjamin Voigt
>
> We have a corporate pom in our company which set various properties, on of them is the
source and target for the compiler plugin. It does this by defining a property "project.build.jdk"
which is then referenced in the configuration section of the compiler plugin (under build/pluginManagement/plugins/).
Our default value for this property is "1.5".
> Now there's a single module project which inherits from this corporate pom. At compilation,
the project.build.jdk ist properly resolved to 1.5, but when eclipse:eclipse is called, the
following is put into the .settings/org.eclipse.jdt.core.prefs :
> org.eclipse.jdt.core.compiler.codegen.targetPlatform=${project.build.jdk}
> eclipse.preferences.version=1
> org.eclipse.jdt.core.compiler.source=${project.build.jdk}
> org.eclipse.jdt.core.compiler.compliance=${project.build.jdk}
> It seems that this property (an maybe others) aren't resolved.

-- 
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

        

Mime
View raw message