title: How can I compile all .thrift files (*.thrift) as a Maven phase?
body: <p>I'm using maven-antrun-plugin to execute a thrift shell command. I can compile one file per <code>&lt;exec&gt;</code> with <code>&lt;arg value="...path/to/file.thrift" /&gt;</code>, but I would like to compile all <code>.thrift</code> files in a directory. How can I do this?</p>
  
  <p>I tried using <code>&lt;arg value="...path/to/*.thrift" /&gt;</code>, but Maven rejected this syntax.</p>