maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pennebaker <>
Subject Maven parsing pom.xml incorrectly
Date Wed, 18 Sep 2013 14:06:16 GMT
I'm using Thrift in my Maven project, compiling my .thrift code to .java as
part of the generate-sources step. To do this, I use the maven antrun
plugin in my pom.xml, which executes a command line call to the thrift
executable, and sends it the appropriate argument flags, such as "-out" and

However, when I comment out this plugin with the standard XML comment
syntax <!-- ... -->, Maven fails to parse the pom file. It doesn't like the
fact that the comment contains --gen, expecting the comment to end right

Can we please improve Maven's comment syntax parsing for pom.xml?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message