Hi,

I am working on an enhanced version of the maven-jdepend-plugin. The plugin currently contains the following code:

    <ant:java classname="jdepend.xmlui.JDepend"
      fork="true" failonerror="true">
<ant:arg line="-file '${maven.build.dir}/jdepend-raw-report.xml' '${maven.build.dest}'"/>
      <ant:classpath>
        <ant:path refid="maven-classpath"/>
        <ant:path refid="maven.dependency.classpath"/>
        <ant:pathelement path="${plugin.getDependencyPath('jdepend')}"/>
      </ant:classpath>
    </ant:java>

For several reasons, I would replace the actual JDepend class with a wrapper class (org.apache.maven.plugins.jdepend.Runner), which would support additional options and the like. Getting that class into maven-depend-plugin.jar is straightforward. However, the class is not found, when the plugin is executed.

How do I need to change the above example for adding the plugins jar file into the classpath?


Regards,

Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to