nicolas de loof-3 wrote: > > I'm trying to contribute the checkstyle eclipse plugin to support > m2eclipse > configuration. > https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk >
That sounds cool. Please keep us posted. nicolas de loof-3 wrote: > > As a proof of concept, I'd like to support as a basic configuration the > simplier use case : > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > <configuration> > <configLocation>checkstyle.xml</configLocation> > </configuration> > </plugin> > > > To configure the eclipse plugin from the m2eclispe extension, I need > to get the absolute path of the configLocation parameter. > > Is there any way using the MavenBmbedder / MavenProject APIs to > retrieve a plugin ClassLoader, so I can use cl.getResource() ? > I suppose you could get resolved dependencies from MavenProject instance passed to you from configurator, so you could create your own URLClassLoader from those jars. Also, Peter Hayes implemented project configurator for m2eclipse and its source code is attached to jira issue at http://jira.codehaus.org/browse/MNGECLIPSE-900 regards, Eugene -- View this message in context: http://www.nabble.com/m2eclipse-checkstyle-support-tp20357992p20363420.html Sent from the Maven Developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
