Re: [m2e-users] !RE: M2Eclipse not handling generated sources properly

2019-12-14 Thread Simon Niederberger
My understanding is that with m2e * Eclipse handles compiling Java files * Resource handling is delegated to maven which is what you see in your .classpath. Eclipse takes ownership of **/*.java, but leaves resources/** to Maven. In your project -> Maven -> Lifecycle mappings you should find the co

[m2e-users] !RE: M2Eclipse not handling generated sources properly

2019-12-14 Thread Michael Moser
I am confused about some eclipse .classpath files that are generated from a couple of pom files that I inherited for a medium sized project (about 10 projects, most inheriting from a "...-common" project). When I look at the m2e-generated .classpath file, it reads:

Re: [m2e-users] M2Eclipse not handling generated sources properly

2019-12-14 Thread Michael Moser
Bingo! That seems to have fixed it! Thanks a lot! Hadn't spottet this - I inherited the pom's. Michael From: m2e-users-boun...@eclipse.org On Behalf Of Gayan Perera Sent: Saturday, December 14, 2019 10:24 PM To: michael.mo...@freesurf.ch; Maven Integration for Eclipse users mailing li

Re: [m2e-users] M2Eclipse not handling generated sources properly

2019-12-14 Thread Gayan Perera
You should remove "add-test-source" from your goal list. On Sat, Dec 14, 2019 at 10:20 PM Michael Moser wrote: > Im my pom.xml there is a section re. generated resources (these are > generated using the hibernate3-maven-plugin / v2.2). > > > > org.codehaus.mojo > >

[m2e-users] M2Eclipse not handling generated sources properly

2019-12-14 Thread Michael Moser
Im my pom.xml there is a section re. generated resources (these are generated using the hibernate3-maven-plugin / v2.2). org.codehaus.mojo build-helper-maven-plugin 1.7 add-source