[ 
https://issues.apache.org/jira/browse/CAMEL-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022225#comment-13022225
 ] 

Daniel Kulp commented on CAMEL-3799:
------------------------------------


There is an easy fix for this that would work today.   In the pom, change to:

{code:xml}
<resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>false</filtering>
      </resource> 
      <resource>
        <directory>src/main/resources-filtered</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
{code}

and just move the archetype-metadata.xml file into src/main/resources-filtered. 
 CXF does this in several places and actually has src/main/resources-filtered 
defined in the parent pom to make it easy.





> maven eclipse goal failure
> --------------------------
>
>                 Key: CAMEL-3799
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3799
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.7.0
>            Reporter: Hadrian Zbarcea
>            Priority: Minor
>
> The error is:
> {code}
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Request to merge when 'filtering' is not identical. Original=resource 
> src/main/resources: output=target/classes, include=[], exclude=[**/*.java], 
> test=false, filtering=false, merging with=resource src/main/resources: 
> output=target/classes, include=[**/archetype-metadata.xml], 
> exclude=[**/*.java], test=false, filtering=true
> {code}
> and it seems to be resolved in the upcoming maven-eclipse-plugin:2.9.0 (see 
> [MECLIPSE-576|http://jira.codehaus.org/browse/MECLIPSE-576]). An update to 
> the new release of the plugin, once available, should resolve this.

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

Reply via email to