Extension parameter for the transform mojo
------------------------------------------

                 Key: MOJO-631
                 URL: http://jira.codehaus.org/browse/MOJO-631
             Project: Mojo
          Issue Type: New Feature
          Components: xml
         Environment: Fedora Core 6, Java 1.5, Maven 2.0.4
            Reporter: Petar Tahchiev
         Attachments: maven-xml-plugin-extension.patch

Hello gyus, 

I was working on making the cactus build with maven2 these days, and I stuck on 
the place where we have to generate our site. We have our news in RDF 
(ResourceDescription Framework), and we convert them to xdoc with a xslt 
transformation, and then maven turns the xdocs to html. The problem I 
encountered 
while doing this is that the xml-maven-plugin, which I use to convert the rdf 
to xml keeps the name of the file with the .rdf extension. So even generated in 
xdoc format the file is never turned into html by maven. So I made a patch to 
the plugin which allows to specify the extension of the files that are being 
produced.
I use it in my pom like this:

                        <configuration>
                                <transformationSets>
                                <transformationSet>
                                        <dir>src/site/news</dir>
                                        
<stylesheet>src/site/stylesheets/rdf2document.xsl</stylesheet>
                                        <outputDir>src/site/xdoc/</outputDir>
                                </transformationSet>
                                </transformationSets>
                                <extension>xml</extension>   <!------- NEW  TAG 
--------> 
                        </configuration>

and It works perfect. I was wondering if you could include the patch I am 
supplying and also to tell me when is the next release of the plugin is 
expected, just to see if we could use it in cactus. Thank you very much

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