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] (MECLIPSE-695) Problem of path for additionalConfig with sub-modules
Date Wed, 26 Nov 2014 07:18:11 GMT

     [ https://jira.codehaus.org/browse/MECLIPSE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexandre Garnier updated MECLIPSE-695:
---------------------------------------

    Attachment: MECLIPSE-695.zip

> Problem of path for additionalConfig with sub-modules
> -----------------------------------------------------
>
>                 Key: MECLIPSE-695
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-695
>             Project: Maven Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Workspace settings
>    Affects Versions: 2.8
>            Reporter: Alexandre Garnier
>         Attachments: MECLIPSE-695.zip
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message