there is no really posibility to remove xml comments in maven. but if you have 
a java app yoi can do it programmatly with the sax2 parser.
i used this in my github oroject. check the xmltoolsimpl how to deal with xml.

Get Outlook for Android<https://aka.ms/ghei36>

From: Hoa Phan
Sent: Wednesday, March 7, 10:09
Subject: Can I remove comment in XML using resource filtering
To: users@maven.apache.org

I have some resources filtering to fill in var in XML template, however I also 
want to remove the comments in the XML source. Is there a way to do that? 
--------------------------------------------------------------------- To 
unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional 
commands, e-mail: users-h...@maven.apache.org

Reply via email to