Ondrej Zizka created MOJO-1812:
----------------------------------

             Summary: xml:transform - Option to warn/fail if the resulting file 
is same as the original.
                 Key: MOJO-1812
                 URL: https://jira.codehaus.org/browse/MOJO-1812
             Project: Mojo
          Issue Type: Improvement
          Components: xml
            Reporter: Ondrej Zizka
            Assignee: Jochen Wiedmann


XSLT transformations have one negative trait - it's hard to say when it goes 
wrong by not matching something. It happens quite often that the transformed 
XML changes, and the template stops matching some elements.

In maven, XSLT is likely to be used for alteration of configuration XMLs. Which 
means, these are usually copied, only a part is changed. When the above 
scenario happens, it leads to the configuration change not being applied.

For this use case, it would be nice to have an option in xml-maven-plugin to 
warn/fail/ignore when the resulting file is the same as the original.

{code}
   <onIdenticalResult>fail</onIdenticalResult>
{code}

Thanks for considering, it would help a lot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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