Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-506

Property of parent project not resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.5.1
    • None
    • None
    • None
    • Maven version: 2.0.9
      Java version: 1.6.0_07
      OS name: "linux" version: "2.6.24-22-generic" arch: "i386" Family: "unix"

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dedoener Benjamin Voigt
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: