I'm writing a plugin that I would like to be able to use the saxon
XPath 2.0 implementation. I've got it working perfectly fine in my
unit tests, but when I try to run it as a mojo, it reverts back to
using the jdk XPathFactory. I would assume that this has something to
do with the whole META-INF/services mechanism being screwed up by
classworlds, and that's fine, but I couldn't get
MAVEN_OPTS=-Djavax.xml.xpath.XPathFactory=net.sf.saxon.xpath.XPathFactoryImpl
or even System.setProperty("javax.xml.xpath.XPathFactory",
"net.sf.saxon.xpath.XPathFactoryImpl") to work either. (Not that I
really expected anything from System.setProperty()...)
Does anyone know how to either make maven respect META-INF/services or
set the system property and make it stick for mojos?
--
Gregory Kick
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]