maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pennebaker <>
Subject `mvn generate-sources` skipping my custom executions?
Date Tue, 10 Sep 2013 14:41:12 GMT
I added executions for `.thrift -> .java` as part of the generate-sources
phase, using `maven-antrun-plugin`. But when I enter `mvn
generate-sources`, Maven skips right over this execution.

Any idea why it would do this?


    <project xmlns="" xmlns:xsi=""



                    <exec executable="${thrift.executable}">
                      <arg value="--gen" />
                      <arg value="java:beans" />
                      <arg value="-o" />
                      <arg value="src/main/java/com/... " />
                      <arg value="src/main/thrift/... .thrift" />
                      <fileset dir="src/main/java/com/... " includes="...
.java" />


Also posted on StackOverflow <>.

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