Hi,
I've been developing a maven plugin for the Java Plugin Framework
(http://jpf.sf.net).
Its a plugin system similar to the one used by eclipse.
A jpf-plugin is a jar file containing the compiled classes in a
subdirectory and a plugin descriptor. A plugin can export certain
classes and hide others. A dependant plugin just sees the exported
classes of the plugin.
What I would like to add to maven (and my plugin respectively) is
someting like this:
Someone develops a jpf-plugin using maven. This jpf-plugin depends on
another jpf-plugin (which is a custom artifact type like "jpf-plugin").
On compiling maven should resolve the artifact, read the enclosed plugin
descriptor and just add the exported classes to the classpath for the
compiler.
But I'm totally stuck. I think the way to go would be a custom
classloader for the "jpf-plugin" artifact type, but I can't figure out
how to do that.
Currently my maven-plugin for jpf creates two artifacts. The
"jpf-plugin" artifact and a simple "jar" artifact, which just contains
the exported classes and is used as compile time dependency.
Any comments, or suggestions?
Regards,
Jens Köcke
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]