On Thu, Nov 26, 2009 at 5:57 PM, Martin Seebach <[email protected]> wrote: > Hi, > > Thanks for the response. > > 2009/11/26 Barrie Treloar <[email protected]> >> 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> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-eclipse-plugin</artifactId> > <version>2.6</version> > <configuration> > <downloadSources>true</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.
Hmm. I dont know. mvn -X eclipse:eclipse wont print out that it is including/excluding these values as I can see no debugs, but they should be listed in the configuration details of the plugin. Actually, I think 2.6 didn't support this feature. Yes, http://jira.codehaus.org/browse/MECLIPSE-104 was added in 2.7 - which is the latest release. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
