Someone else experienced this earlier on this list. I would try searching
http://appfuse.markmail.org. I believe changing the Eclipse plugin to
version 2.5.1 solves this problem.

Matt

On Sat, Nov 28, 2009 at 8:13 AM, lqhart <lqh...@126.com> wrote:

>
>
> Hi all,
>
> When I run mvn "eclipse:eclipse" create an eclipse project in myeclipse,
>
> but right now it's failing for me.
>
> Plese see the Details Error Message:
>
> Is anyone have good idea for Solving this problem?
>
> Thanks,
>
> Art Lingbo Liu.
>
> ----------------------------------------------------------------------
>
> ------
>
> D:\Source\myproject>mvn eclipse:eclipse
>
> [INFO] Scanning for projects...
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Building AppFuse Struts 2 Application
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Preparing eclipse:eclipse
>
> [INFO] [aspectj:compile {execution: default}]
> [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
> [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
> [INFO] [eclipse:eclipse {execution: default-cli}]
> [INFO] Adding support for WTP version 1.5.
> [INFO] Using Eclipse Workspace: D:\Source
> [INFO] Adding default classpath container:
>
> org.eclipse.jdt.launching.JRE_CONTAIN
> ER
>
> [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=[], exclude=
>
> [ApplicationResource
> s_de.properties|ApplicationResources_fr.properties|ApplicationResour
>
> ces_ko.prope
> rties|ApplicationResources_nl.properties|ApplicationResources_no.pro
>
> perties|Appl
> icationResources_pt*.properties|ApplicationResources_tr.properties|A
>
> pplicationRe
> sources_zh*.properties|applicationContext-
>
> resources.xml|struts.xml|**/*.java], t
> est=false, filtering=true, merging with=resource src/main/resources:
>
> output=targ
> et/classes, include=[applicationContext-resources.xml|struts.xml],
>
> exclude=[**/*
> .java], test=false, filtering=false
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] For more information, run Maven with the -e switch
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Sat Nov 28 22:06:51 CST 2009
> - Hide quoted text -
>
> [INFO] Final Memory: 26M/49M
> [INFO] --------------------------------------------------------------
>
> ----------
>
>
> Does anyone know why I can't create the eclipse project?
>
> Note: running it with the -e switch, as suggested above, really isn't
>
> that helpful. For the curious, you see:
>
>
>
>
> D:\Source\myproject>mvn eclipse:eclipse -e
> + Error stacktraces are turned on.
> - Hide quoted text -
>
> [INFO] Scanning for projects...
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Building AppFuse Struts 2 Application
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Preparing eclipse:eclipse
> [INFO] [aspectj:compile {execution: default}]
> [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
> [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
> [INFO] [eclipse:eclipse {execution: default-cli}]
> [INFO] Adding support for WTP version 1.5.
> [INFO] Using Eclipse Workspace: D:\Source
> [INFO] Adding default classpath container:
>
> org.eclipse.jdt.launching.JRE_CONTAIN
> ER
> [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=[], exclude=
>
> [ApplicationResource
> s_de.properties|ApplicationResources_fr.properties|ApplicationResour
>
> ces_ko.prope
> rties|ApplicationResources_nl.properties|ApplicationResources_no.pro
>
> perties|Appl
> icationResources_pt*.properties|ApplicationResources_tr.properties|A
>
> pplicationRe
> sources_zh*.properties|applicationContext-
>
> resources.xml|struts.xml|**/*.java], t
> est=false, filtering=true, merging with=resource src/main/resources:
>
> output=targ
> et/classes, include=[applicationContext-resources.xml|struts.xml],
>
> exclude=[**/*
> .java], test=false, filtering=false
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Request to
>
> merge when 'f
>
> iltering' is not identical. Original=resource src/main/resources:
>
> output=target/
> classes, include=[], exclude=
>
> [ApplicationResources_de.properties|ApplicationReso
> urces_fr.properties|ApplicationResources_ko.properties|ApplicationRe
>
> sources_nl.p
> roperties|ApplicationResources_no.properties|ApplicationResources_p
>
> t*.properties
>
> |ApplicationResources_tr.properties|ApplicationResources_zh*.proper
>
> ties|applicat
> ionContext-resources.xml|struts.xml|**/*.java], test=false,
>
> filtering=true, merg
> ing with=resource src/main/resources: output=target/classes,
>
> include=[applicatio
> nContext-resources.xml|struts.xml], exclude=[**/*.java], test=false,
>
> filtering=f
> alse
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>
> (Defa
> ultLifecycleExecutor.java:719)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalon
>
> e
> Goal(DefaultLifecycleExecutor.java:569)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>
> (Defau
> ltLifecycleExecutor.java:539)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH
>
> an
> dleFailures(DefaultLifecycleExecutor.java:387)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm
>
> en
> ts(DefaultLifecycleExecutor.java:348)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
>
> (DefaultLi
> fecycleExecutor.java:180)
>        at org.apache.maven.DefaultMaven.doExecute
>
> (DefaultMaven.java:328)
>        at org.apache.maven.DefaultMaven.execute
>
> (DefaultMaven.java:138)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>        at org.apache.maven.cli.compat.CompatibleMain.main
>
> (CompatibleMain.java:6
>
> 0)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke
>
> (NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
>
> (DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.codehaus.classworlds.Launcher.launchEnhanced
>
> (Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch
>
> (Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode
>
> (Launcher.java:430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException:
>
> Request to merge when
>
>  'filtering' is not identical. Original=resource src/main/resources:
>
> output=targ
> et/classes, include=[], exclude=
>
> [ApplicationResources_de.properties|ApplicationR
> esources_fr.properties|ApplicationResources_ko.properties|Applicatio
>
> nResources_n
> l.properties|ApplicationResources_no.properties|ApplicationResources
>
> _pt*.propert
> ies|ApplicationResources_tr.properties|ApplicationResources_zh*.pro
>
> perties|appli
> cationContext-resources.xml|struts.xml|**/*.java], test=false,
>
> filtering=true, m
> erging with=resource src/main/resources: output=target/classes,
>
> include=[applica
> tionContext-resources.xml|struts.xml], exclude=[**/*.java],
>
> test=false, filterin
> g=false
>        at org.apache.maven.plugin.eclipse.EclipseSourceDir.merge
>
> (EclipseSourceD
> ir.java:302)
>        at
>
> org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs(Ecl
> ipsePlugin.java:1605)
>        at
>
> org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList(Ecli
> psePlugin.java:1490)
>        at
>
> org.apache.maven.plugin.eclipse.EclipsePlugin.createEclipseWriterConf
> ig(EclipsePlugin.java:1180)
>        at
>
> org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(Ecli
> psePlugin.java:1043)
>        at
>
> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
>
> (AbstractId
> eSupportMojo.java:511)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
>
> (DefaultPlugi
> nManager.java:490)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>
> (Defa
> ultLifecycleExecutor.java:694)
>        ... 17 more
>
> [INFO] --------------------------------------------------------------
>
> ----------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Sat Nov 28 23:02:25 CST 2009
> - Hide quoted text -
>
> [INFO] Final Memory: 26M/49M
> [INFO] --------------------------------------------------
> --
> View this message in context:
> http://n4.nabble.com/eclipse-eclipse-failing-tp899993p899993.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to