maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Garnier (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MECLIPSE-695) Problem of path for additionalConfig with sub-modules
Date Tue, 13 Sep 2011 12:02:07 GMT
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

        

Mime
View raw message