Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Igor Fedorenko <igor <at> ifedorenko.com>
Subject: Re: M2Eclipse not copying resources
Newsgroups: gmane.comp.ide.eclipse.plugins.m2eclipse.user
Date: Wednesday 14th April 2010 18:59:40 UTC (over 7 years ago)
Sounds like https://issues.sonatype.org/browse/MNGECLIPSE-823
. Custom
lifecycle mapping [1] is the current suggested solution .

[1] https://docs.sonatype.org/pages/viewpage.action?pageId=2949459

--
Regards,
Igor

Chris wrote:
> For some unknown reason, my Maven project in Eclipse isn't copying 
> resources to target/classes when the project is rebuilt.
> 
> Here's the story:
> I recently got a new computer, went from XP to Windows 7, and 
> reinstalled everything with new versions -- eclipse, m2eclipse, java, 
> etc. I copied over my old projects folder. Everything in projects folder 
> is identical to what it was when it was working on the old computer.
> 
> When I do a Project/Clean, the project compiles fine, but the resources 
> in src/main/resources do not end up in target/classes. When I turn on 
> Debug Output in debugging in Window/Preferences/Maven, it says in the 
> output "Copying 5 resources" and it looks like it copies them correctly. 
> It also does so for test resources. The final line of the output, though 
> is this:
> 
> 4/14/10 1:02:43 PM CDT: Maven compilation participant: clean starting
> 
> It looks like it's zapping the files it just copied.
> 
> My pom does not have entries for the maven-clean-plugin (2.3) or the 
> maven-resources-plugin (2.4.1).
> 
> What could be going on?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
>
 
CD: 3ms