Hi,
I'm trying to contribute the checkstyle eclipse plugin to support m2eclipse
configuration.

(
https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk
)

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() ?


Thanks

Nicolas.

Reply via email to