Re: xml validation plugin against xsd

2018-11-30 Thread Mirko Friedenhagen
Hello Aitor, https://www.mojohaus.org/xml-maven-plugin/examples/validate-schema.html might be what you are looking for as you said _x_html which is xml. Best Regards Mirko Friedenhagen — Sent from my mobile Am 30.11.18 um 19:01 schrieb Aitor Iturriondobeitia > hello > do you know any maven

xml validation plugin against xsd

2018-11-30 Thread Aitor Iturriondobeitia
hello do you know any maven plugin for validating xml against xsd? thanks

pugin for validae xhtml

2018-11-30 Thread Aitor Iturriondobeitia
hello do you know any plugin for validating xhtml? i need if one xhtml does't validate the compilation fails thnaks

Re: How to rewrite POMs retaining the XML structure

2018-11-30 Thread Matthieu BROUILLARD
You say you do modification in the POM to add/remove dependencies & properties. Do you really need to modify the pom.xml of your project for that? You could also do those additions using a plugin/extension and work on the POM and just deploy a materialized pom.xml from the POM for publication

Re: How to rewrite POMs retaining the XML structure

2018-11-30 Thread Matthieu BROUILLARD
@Marc Rohlfs : AFAIK if you do a modification in the POM (as project object model) in memory (via a plugin probably) then the pom.xml file is already behind you and comments are already lost during the loading phase of the POM. Whatever the materialization of the POM you choose, comments will be

Re: How to rewrite POMs retaining the XML structure

2018-11-30 Thread Oliver B. Fischer
I do it with the release tools for jQAssitant with XSLT like this https://github.com/buschmais/jqa-release-tool/blob/master/core/src/main/resources/xsl/update-version-property.xsl The Versions plugin does it via Stax. Best, Oliver Am 29.11.18 um 17:11 schrieb Marc Rohlfs: Hi all, is there

Re: How to rewrite POMs retaining the XML structure

2018-11-30 Thread Robert Scholte
Have a look a flatten-maven-plugin[1], which was implemented to rewrite the pom file. Robert [1] https://www.mojohaus.org/flatten-maven-plugin/ On Thu, 29 Nov 2018 17:11:12 +0100, Marc Rohlfs wrote: Hi all, is there a way to rewrite pom.xml files without loosing formatting, ordering