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

Problem of path for additionalConfig with sub-modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.8
    • None
    • None

    Description

      When defining path to additionalConfig files in parent pom (relative to pom.xml location), sub-modules did not find them.

      [...]
      <modules>
        <module>module</module>
      </module>
      [...]
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-eclipse-plugin</artifactId>
              <additionalConfig>
                <file>
                  <name>.settings/org.eclipse.core.resources.prefs</name>
                  <location>settings/org.eclipse.core.resources.prefs</location>
                </file>
              </additionalConfig>
            </configuration>
          </plugin>
        </plugins>
      </pluginManagement>
      [...]
      
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project module: Unable to resolve resource location: settings/org.eclipse.core.resources.prefs
      

      It works fine in 2.7.

      Attachments

        1. MECLIPSE-695.patch
          0.8 kB
          Alexandre Garnier
        2. MECLIPSE-695.zip
          2 kB
          Alexandre Garnier
        3. MECLIPSE-695-multi-modules.zip
          3 kB
          Alexandre Garnier

        Activity

          People

            rfscholte Robert Scholte
            zigarn Alexandre Garnier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: