Mark Hobson wrote:
I've just tried to build the xml-maven-plugin under Java5 and noticed
that TransformMojo uses a method introduced in JDK6:

    TransformerFactory.newInstance(String factoryClassName,
ClassLoader classLoader)

This was added to fix MOJO-777.  What's the consensus on the minimum
JDK requirements for mojos?  The vast majority seem to be written for
JDK1.4 and slowly moving to JDK5.  Is JDK6 acceptable, or should
reflection be used in the above case?  In the very least the compiler
plugin should be configured for 1.6.

It should definitely be support 1.5 and unless there are technical reasons to 1.4 too.

--
Trygve



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to