You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexandre Garnier (JIRA)" <ji...@codehaus.org> on 2011/09/13 14:02:07 UTC

[jira] Created: (MECLIPSE-695) Problem of path for additionalConfig with sub-modules

Problem of path for additionalConfig with sub-modules
-----------------------------------------------------

                 Key: MECLIPSE-695
                 URL: https://jira.codehaus.org/browse/MECLIPSE-695
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Workspace settings
    Affects Versions: 2.8
            Reporter: Alexandre Garnier


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

{code:language=xml}
[...]
<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>
[...]
{code}

{code}
[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
{code}

It works fine in 2.7.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira