[ 
http://jira.codehaus.org/browse/MOJO-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Hobson closed MOJO-1151.
-----------------------------

      Assignee: Mark Hobson  (was: Jochen Wiedmann)
    Resolution: Fixed

This was fixed in r7244 by using reflection to access the JAXP1.4 method.  The 
plugin will now compile under JDK5 but requires JDK6 to run the tests, since 
this feature is tested.

> Problem with building xml-maven-plugin from source due to way of using 
> TransformerFactory class
> -----------------------------------------------------------------------------------------------
>
>                 Key: MOJO-1151
>                 URL: http://jira.codehaus.org/browse/MOJO-1151
>             Project: Mojo
>          Issue Type: Bug
>          Components: xml
>         Environment: Maven 2.0.9, Eclipse 3.3.1.1, Java 6_03, Windows XP SP3
>            Reporter: Piotr Kubowicz
>            Assignee: Mark Hobson
>            Priority: Minor
>
> I have checked out version 6745 of xml-maven-plugin from Mojo repository and 
> run "mvn eclipse:eclipse" to create Eclipse project. However, I got some 
> compiler errors. The cause of the error was line 185 of TransformMojo.java 
> (getTransformerFactory( ) method). My Eclipse is configured to run on Java 5 
> and you invoke method TransformerFactory.newInstance(String, ClassLoader), 
> which is present in JDK 6, but not in JDK 5. I also think that line 182 from 
> TransformMojoTest depends on JDK 6 and won't run on JDK 5.
> If you use Java 6, you should declare this explicitly in your POM; otherwise 
> people may have problems building your application.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to