I disabled filtering on resources plugin, but I guess this is a temp
solution :) for me.

@@ -396,7 +396,7 @@
         <resources>
             <resource>

<directory>${project.basedir}/src/main/resources</directory>
-                <filtering>false</filtering>
+
                 <includes>
                     <include>org/**</include>
                 </includes>
@@ -407,7 +407,7 @@
             <resource>
                 <!-- ensure version and persistence files get substitions
-->

<directory>${project.basedir}/src/main/resources</directory>
-                <filtering>true</filtering>
+
                 <includes>
                     <include>roller-version.properties</include>
                     <include>META-INF/**</include>
@@ -418,13 +418,13 @@


2011/3/10 Juan Carlos Picado <[email protected]>

> Hi,
>
> I can't generate my .classpath and .project with mvn eclipse:eclipse .
> Seems problem with resource plugin configurations, I'm not sure. I wanna
> each module as project on eclipse, this worked on previous revisions.
>
> I have the last svn revision
>
> [jpicado@localhost roller]$ svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/roller/trunk
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1080116
> Node Kind: directory
> Schedule: normal
> Last Changed Author: snoopdave
> Last Changed Rev: 1078520
> Last Changed Date: 2011-03-06 11:31:44 -0600 (Sun, 06 Mar 2011)
>
>
> Error maven trace.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Roller Weblogger Business Module
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd
> /home/jpicado/workspace/roller/weblogger-business && svn --non-interactive
> info
> [INFO] Working directory: /home/jpicado/workspace/roller/weblogger-business
> [INFO] Storing buildNumber: 1080116 at timestamp: 1299765597354
> [INFO] [eclipse:eclipse {execution: default-cli}]
> [INFO] Using Eclipse Workspace: /home/jpicado/workspace
> [INFO] no substring wtp server match.
> [INFO] Using as WTP server : Apache Tomcat v5.5
> [INFO] Adding default classpath container:
> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> [INFO] Resource directory's path matches an existing source directory.
> Resources will be merged with the source directory src/main/resources
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Request to merge when 'filtering' is not identical.
> Original=resource src/main/resources: output=target/classes,
> include=[org/**], exclude=[**/sql/**|**/*.java], test=false,
> filtering=false, merging with=resource src/main/resources:
> output=target/classes, include=[roller-version.properties|META-INF/**],
> exclude=[**/*.java], test=false, filtering=true
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Thu Mar 10 07:59:57 CST 2011
> [INFO] Final Memory: 24M/245M
> [INFO]
> ------------------------------------------------------------------------
> [jpicado@localhost roller]$
>
>


-- 
Att,

Juan Picado
Java/PHP Developer
http://blog.jotadeveloper.com/

Reply via email to