[ 
http://jira.codehaus.org/browse/MOJO-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186456#action_186456
 ] 

Jochen Wiedmann commented on MOJO-735:
--------------------------------------

Mark, due to the number of votes, I am now basically ready to add the requested 
feature.

I have studied your patch, but there is one detail I'd like to see changed: 
IMO, the locator should be used within the Resolver, for several reasons:

- Enables support for classpath resources in the ValidateMojo as well as in the 
TransformMojo.
- Enables support for classpath resources even indirectly. (For example, a 
local file might refer
  to a schema, which is in the classpath.)

Are you ready to change your patch in that sense?
 

> Allow XSL to be obtained from classloader resources
> ---------------------------------------------------
>
>                 Key: MOJO-735
>                 URL: http://jira.codehaus.org/browse/MOJO-735
>             Project: Mojo
>          Issue Type: Improvement
>          Components: xml
>            Reporter: Mark Hobson
>            Assignee: Jochen Wiedmann
>         Attachments: MOJO-735.patch, MOJO-735b.patch, MOJO-735b.patch
>
>
> It'd be handy to be able to use classloader resources when specifying the 
> XSL.  This would work in the same way as the maven-checkstyle-plugin's 
> configLocation param, which I believe utilises the plexus ResourceManager.
> This would allow XSLs to be brought in from external resource jars by 
> specifying an appropriate plugin dependency.

-- 
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