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

org.eclipse.jdt.core.prefs doesn't get updated with source and target version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.8
    • None
    • M2Eclipse support
    • None
    • Linux ia32, maven-eclipse-plugin-2.8-20100216.071109-292, Maven 2.2.1

    Description

      • Create a pom.xml that uses the <additionalConfig> tag to add a .settings/org.eclipse.jdt.core.prefs file to your project.
      • In the same pom.xml, set Java source and target versions to 1.4 and 1.6.
      • Do "mvn eclipse:eclipse"

      Now, notice how the source and target settings in .settings/org.eclipse.jdt.core.prefs has whatever was in the <additionalConfig> file.

      The source and target versions from your pom.xml are ignored.

      I would like to have correct values for source and target filled in for Eclipse, even if I add a settings file manually.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            walles Johan Walles
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: