On 05/02/2009, at 12:39 AM, Vincent Siveton wrote:

Hi guys,

The good news is that using the shade plugin, I was able to run a the
latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
site-plugin 2.0-beta-7.
The bad news, I don't know what are the potential side effects.

For what you are trying to do, there'll be no negative side effects to this or the PDF plugin.

Think of it this way, you are "self containing" the plugins' doxia dependencies - they won't interact with Maven or other plugins. That's fine here - these are standard mojos that get executed that way anyway. But if you try it on project-info-reports, you get this:

[INFO] Error configuring: org.apache.maven.plugins:maven-project-info- reports-plugin. Reason: java.lang.LinkageError: Class org/codehaus/ doxia/sink/Sink violates loader constraints

This is because it is trying to pass the "self contained" sink through to the site plugin as if it were a "core" sink, and they no longer match up (even if they were to be the same). I'll take a closer look at whether we can get this reference out easily.

- Brett

--
Brett Porter
[email protected]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to