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 Voigt (JIRA)" <ji...@codehaus.org> on 2008/12/05 15:19:19 UTC

[jira] Created: (MECLIPSE-506) Property of parent project not resolved

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

        

[jira] Commented: (MECLIPSE-506) Property of parent project not resolved

Posted by "Jerome Lacoste (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MECLIPSE-506) Property of parent project not resolved

Posted by "Gilles Scokart (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235310#action_235310 ] 

Gilles Scokart commented on MECLIPSE-506:
-----------------------------------------

I had the same issue with 2.0.10.  I just switched to 2.2.1 and it is indeed fixed. (like all the others duplicates)

> 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