invoke 'make' from maven
This commit is contained in:
parent
7da9686191
commit
703449e966
1 changed files with 17 additions and 1 deletions
|
@ -59,6 +59,22 @@
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
||||||
|
<execution>
|
||||||
|
<id>compile</id>
|
||||||
|
<phase>compile</phase>
|
||||||
|
<configuration>
|
||||||
|
<target>
|
||||||
|
<exec executable="make" failonerror="true">
|
||||||
|
<arg value="--directory=.."/>
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>generate-test-sources</id>
|
<id>generate-test-sources</id>
|
||||||
<phase>generate-test-sources</phase>
|
<phase>generate-test-sources</phase>
|
||||||
|
@ -72,7 +88,7 @@
|
||||||
<arg value="--src-prefix=src/test/schema/"/>
|
<arg value="--src-prefix=src/test/schema/"/>
|
||||||
<arg value="-o../capnpc-java:src/test/generated"/>
|
<arg value="-o../capnpc-java:src/test/generated"/>
|
||||||
<arg value="src/test/schema/test.capnp"/>
|
<arg value="src/test/schema/test.capnp"/>
|
||||||
<arg value="src/test/schema/test-import.capnp"/>
|
<arg value="src/test/schema/test-import.capnp"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in a new issue