This seems to be the problem
http://jira.codehaus.org/browse/MECLIPSE-551
The workaround is to use
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5.1:eclipse
or better still update the maven eclipse plugin version in the pom.xml
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<additionalProjectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
<additionalBuildcommands>
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
</additionalBuildcommands>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<wtpversion>1.5</wtpversion>
</configuration>
</plugin>
Regards,
Harps.
mraible wrote:
>
>
> Hmmm, that is strange. Can you enter an issue in JIRA?
>
> As a workaround, you could try using the m2eclipse plugin.
>
> On Nov 19, 2009, at 10:41 PM, harps <[email protected]> wrote:
>
>>
>> Hi Matt,
>>
>> It doesn't create the project. Here is the full log for mvn -e
>> eclipse:eclipse
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ---
>> ---------------------------------------------------------------------
>> [INFO] Building AppFuse JSF 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: C:\development\workspace
>> [INFO] no substring wtp server match.
>> [INFO] Using as WTP server : Apache Tomcat v6.0
>> [INFO] Adding default classpath container:
>> org.eclipse.jdt.launching.JRE_CONTAINER
>> [INFO] Resource directory's path matches an existing source directory.
>> Resources will be merged with the source director
>> y 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=[ApplicationResources_de.properties|
>> ApplicationResources_fr.properties|ApplicationResources_ko.prope
>> rties|ApplicationResources_nl.properties|
>> ApplicationResources_no.properties|
>> ApplicationResources_pt*.properties|Applicat
>> ionResources_tr.properties|ApplicationResources_zh*.properties|
>> applicationContext-resources.xml|**/*.java],
>> test=false,
>> filtering=true, merging with=resource src/main/resources:
>> output=target/classes, include=[applicationContext-resources.x
>> ml], exclude=[**/*.java], test=false, filtering=false
>> [INFO]
>> ---
>> ---------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Request to
>> merge
>> when 'filtering' is not identical. Original=res
>> ource src/main/resources: output=target/classes, include=[],
>> exclude=[ApplicationResources_de.properties|ApplicationReso
>> urces_fr.properties|ApplicationResources_ko.properties|
>> ApplicationResources_nl.properties|ApplicationResources_no.proper
>> ties|ApplicationResources_pt*.properties|
>> ApplicationResources_tr.properties|
>> ApplicationResources_zh*.properties|applicat
>> ionContext-resources.xml|**/*.java], test=false, filtering=true,
>> merging
>> with=resource src/main/resources: output=target
>> /classes, include=[applicationContext-resources.xml], exclude=[**/
>> *.java],
>> test=false, filtering=false
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>> (DefaultLifecycleExecutor.java:719)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
>> DefaultLifecycleExecutor.java:569)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>> (DefaultLifecycleExecutor.java:539)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
>>
>> DefaultLifecycleExecutor.jav
>> a:387)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>> DefaultLifecycleExecutor.java:348)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
>> (DefaultLifecycleExecutor.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:
>> 60)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> 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=target/classes, include=[],
>> exclude=[ApplicationResources_de.properties|ApplicationR
>> esources_fr.properties|ApplicationResources_ko.properties|
>> ApplicationResources_nl.properties|ApplicationResources_no.pro
>> perties|ApplicationResources_pt*.properties|
>> ApplicationResources_tr.properties|
>> ApplicationResources_zh*.properties|appli
>> cationContext-resources.xml|**/*.java], test=false, filtering=true,
>> merging
>> with=resource src/main/resources: output=tar
>> get/classes, include=[applicationContext-resources.xml],
>> exclude=[**/*.java], test=false, filtering=false
>> at
>> org.apache.maven.plugin.eclipse.EclipseSourceDir.merge
>> (EclipseSourceDir.java:302)
>> at
>> org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs
>> (EclipsePlugin.java:1605)
>> at
>> org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList
>> (EclipsePlugin.java:1490)
>> at
>> org.apache.maven.plugin.eclipse.EclipsePlugin.createEclipseWriterConfig(
>> EclipsePlugin.java:1180)
>> at
>> org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration
>> (EclipsePlugin.java:1043)
>> at
>> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
>> (AbstractIdeSupportMojo.java:511)
>> at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo
>> (DefaultPluginManager.java:490)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>> (DefaultLifecycleExecutor.java:694)
>> ... 17 more
>> [INFO]
>> ---
>> ---------------------------------------------------------------------
>> [INFO] Total time: 3 seconds
>> [INFO] Finished at: Fri Nov 20 16:36:39 EST 2009
>> [INFO] Final Memory: 29M/127M
>> [INFO]
>> ---
>> ---------------------------------------------------------------------
>>
>>
>>
>> mraible wrote:
>>>
>>> This is an INFO message, so I don't believe there's any reason for
>>> concern.
>>> Unless you see issues of course.
>>>
>>> On Fri, Nov 20, 2009 at 12:04 AM, Rahul Somasunderam
>>> <[email protected]>wrote:
>>>
>>>>
>>>> mvn eclipse:eclipse gives this:
>>>>
>>>> [INFO] Request to merge when 'filtering' is not identical.
>>>> Original=resource
>>>> src/main/resources: output=target/classes, include=[],
>>>>
>>>> exclude=[ApplicationResources_de.properties|
>>>> ApplicationResources_fr.properties|
>>>> ApplicationResources_ko.properties|
>>>> ApplicationResources_nl.properties|
>>>> ApplicationResources_no.properties|
>>>> ApplicationResources_pt*.properties|
>>>> ApplicationResources_tr.properties|
>>>> ApplicationResources_zh*.properties|applicationContext-
>>>> resources.xml|**/*.java],
>>>> test=false, filtering=true, merging with=resource src/main/
>>>> resources:
>>>> output=target/classes, include=[applicationContext-resources.xml],
>>>> exclude=[**/*.java], test=false, filtering=false
>>>>
>>>>
>>>> mraible wrote:
>>>>>
>>>>> The AppFuse Team is pleased to announce the first milestone
>>>>> release of
>>>>> AppFuse 2.1. This release includes upgrades to all dependencies to
>>>> bring
>>>>> them up-to-date with their latest releases. Most notable are
>>>>>
>>>> Hibernate<http://raibledesigns.com/rd/entry/upgrading_hibernate_to_3_4
>>>> >,
>>>>> Spring <http://raibledesigns.com/rd/entry/
>>>>> moving_from_spring_s_xml> and
>>>>> Tapestry 5.
>>>>>
>>>>> Archetypes <http://static.appfuse.org/archetypes.html> now
>>>>> include all
>>>> the
>>>>> source for the web modules so using jetty:run and your IDE will
>>>>> work
>>>> much
>>>>> smoother now. The backend is still embedded in JARs, enabling you
>>>>> to
>>>>> choose
>>>>> with persistence framework (Hibernate, iBATIS or JPA) you'd like to
>>>> use.
>>>>> If
>>>>> you want to modify the source for that, add the core classes to
>>>>> your
>>>>> project<http://appfuse.org/display/APF/AppFuse+Core+Classes>or run
>>>>> "appfuse:full-source".
>>>>>
>>>>> In addition, AppFuse Light has been converted to
>>>>>
>>>> Maven<http://raibledesigns.com/rd/entry/appfuse_light_converted_to_maven
>>>>> and
>>>>> has archetypes available too. AppFuse provides archetypes for JSF,
>>>>> Spring MVC, Struts 2 and Tapestry 5. The *light* archetypes are
>>>> available
>>>>> for these frameworks, as well as for Spring MVC + FreeMarker,
>>>>> Stripes
>>>> and
>>>>> Wicket.
>>>>>
>>>>> Other notable improvements:
>>>>>
>>>>> - Added Compass support <http://issues.appfuse.org/browse/
>>>>> APF-267>
>>>>> thanks
>>>>> to a patch from Shay Banon <http://www.kimchy.org/>.
>>>>> - Upgraded from XFire to CXF
>>>>> <http://issues.appfuse.org/browse/APF-1125>for Web Services.
>>>>> - Moved Maven repository to Sonatype's OSS Repository
>>>>> Hosting<https://docs.sonatype.com/display/NX/OSS+Repository
>>>>> +Hosting>for
>>>>> snapshots and releasing to Maven Central. There are no longer any
>>>>> AppFuse-specific artifacts, all are available in central.
>>>>> Thanks to
>>>>> Sonatype <http://sonatype.com/> for this great service and its
>>>>> excellent
>>>>> repository
>>>>> manager<http://raibledesigns.com/rd/entry/nexus_is_a_kick_ass>
>>>>> .
>>>>> - Upgraded to Canoo WebTest 3.0. *Now if we could just get its
>>>>> Maven
>>>>>
>>>>> Plugin<
>>>> http://people.apache.org/%7Esgoeschl/download/maven-plugins/webtest-maven-plugin/site/index.html
>>>>> moved
>>>>> to Codehaus.
>>>>> *
>>>>> - Added Ajaxified Body
>>>>> <http://raibledesigns.com/rd/entry/ajaxified_body>to AppFuse Light
>>>>> archetypes.
>>>>> - Infrastructure upgrades, including JIRA 4
>>>>> <http://issues.appfuse.org/>,
>>>>> Confluence 3 <http://appfuse.org/>, FishEye
>>>>> 2<http://source.appfuse.org/>,
>>>>> Bamboo 2 <http://builds.appfuse.org/> and Crowd
>>>>> 1.6<http://login.appfuse.org/>.
>>>>> Many thanks to Atlassian <http://www.atlassian.com/c/NPOS/
>>>>> 10160> and
>>>>> Contegix <http://contegix.com/> for their excellent products and
>>>>> services.
>>>>> - For more details on specific changes see the release
>>>>> notes<http://appfuse.org/display/APF/Release+Notes+2.1.0+M1>
>>>>> .
>>>>>
>>>>> Please note that this release does not contain updates to the
>>>>> documentation.
>>>>> Code generation will work, but it's likely that some content in the
>>>>> tutorials <http://appfuse.org/display/APF/Tutorials> won't match.
>>>>> For
>>>>> example, you can use annotations (vs. XML) for dependency
>>>>> injection and
>>>>> Tapestry is a whole new framework. I'll be working on documentation
>>>> over
>>>>> the
>>>>> next several weeks in preparation for Milestone 2.
>>>>>
>>>>> AppFuse is available as several Maven archetypes. For information
>>>>> on
>>>>> creating a new project, please see the QuickStart
>>>>> Guide<http://appfuse.org/display/APF/AppFuse+QuickStart>.
>>>>>
>>>>>
>>>>> The 2.x series of AppFuse has a minimum requirement of the
>>>>> following
>>>>> specification versions:
>>>>>
>>>>> - Java Servlet 2.4 and JSP 2.0 (2.1 for JSF)
>>>>> - Java 5+
>>>>>
>>>>> If you find bugs, please create an issue in
>>>>> JIRA<http://issues.appfuse.org/secure/CreateIssue%21default.jspa>
>>>>> .
>>>>>
>>>>> Thanks to everyone for their help contributing code, writing
>>>>> documentation,
>>>>> posting to the mailing lists, and logging issues.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Matt
>>>>>
>>>>> P.S. Also posted to AppFuse
>>>>> News<
>>>> http://appfuse.org/display/APF/2009/11/19/AppFuse+2.1.0+Milestone+1+Released
>>>>> and
>>>>> my
>>>>> blog <http://raibledesigns.com/rd/entry/appfuse_2_1_milestone_1>.
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n4.nabble.com/ANN-AppFuse-2-1-0-Milestone-1-Released-tp624033p624405.html
>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>
>>>> ---
>>>> ------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n4.nabble.com/ANN-AppFuse-2-1-0-Milestone-1-Released-tp624033p624416.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://n4.nabble.com/ANN-AppFuse-2-1-0-Milestone-1-Released-tp624033p634308.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]