Re: Resources in source folder
Hi, Thanks for the response. 2009/11/26 Barrie Treloar baerr...@gmail.com Did you check the plugin's documentation? http://maven.apache.org/plugins/maven-eclipse-plugin/ I tried to look for it, but I guess I focused too much on the resources plugin, rather than the eclipse plugin. See the example on specifying source path inclusions and exclusions for more details on how to change this behavior. I tried that, but I can't get it to change. My plugin section looks like this now: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.6/version configuration downloadSourcestrue/downloadSources sourceExcludes sourceExclude**/.svn/**/sourceExclude /sourceExcludes sourceIncludes sourceInclude**/*.html/sourceInclude sourceInclude**/*.css/sourceInclude sourceInclude**/*.png/sourceInclude sourceInclude**/*.gif/sourceInclude /sourceIncludes /configuration /plugin but the classpathentry remains the same. I tried to run it with -X, but couldn't find any references to this in the output. Thanks, Martin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Resources in source folder
Hi, I have an Eclipse-project that are managed with Maven2. This project depends on resource-files in the source-folders (HTML-files, it's a Wicket project), but recently Eclipse stopped copying those files to the target automatically. Project properties-build path-source folders for the relevant source folder is set to Included: **/*.java and Excluded: (None), and if I clear included to (all) it works -- however, this is overwritten when I run mvn eclipse:eclipse. The change corresponds to classpathentry kind=src path=src/main/java including=**/*.java/ to classpathentry kind=src path=src/main/java/ I've tried various manglings of the resources section of the pom.xml file, but I can't get it to do anything different. Also, mvn resources:resource works as expected, so I'm suspecting that I'm looking in the wrong place. How do I get Maven to output the right classpathentry ? Thanks, Martin Seebach