edbras wrote: > >> Let me rephrase it. If exclude won't be added there, then Eclipse will >> copy >> unfiltered files into the target folder. Assuming that there was some >> meaning in filtering resources in the first place, such copying won't be > > I didn't mention the exluded yet, but yes it's there, it appears as > 'excluding="**/*.java"' > But I am a bit confused now as I don't see how Eclipse will include other > resource files like something.properties when it has the above exclude > attribute and the 'including="**/application.properties"'... >
If you mean that 'excluding="**/*.java" is added to folders like src/main/resources, then it is also done to match Maven behavior from the command line. edbras wrote: > >> That is the beauty of IDE integration, you don't need to update >> .classpath. >> Basically, you edit pom.xml in the IDE and classpath is updated for you > > That sounds nice. I will have a closer look at it. But still, my super pom > contains all the version definitions and that isn't contained in eclipse > (just the sub projects), as such > that the changes I make to the pom, I make outside eclipse and aren't > detected by m2eclipse I suppose... > Any idea how to solve that ? > Like I already mentioned, m2eclipse will be able to resolve your parent pom if it is either in Eclipse workspace, installed to your local Maven repository and even if it is deployed to one of remote repositories. That also include all property interpolation, unless you used some unsupported things, like using property substitution in elements like <parent><version>. Though even then it may work if you have specified <relativePath> element for the <parent> in your project's poms. regards, Eugene -- View this message in context: http://www.nabble.com/eclipse%3Aeclipse-resource-filtering---tp19344600p19364846.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
