run native lib building command from maven

This commit is contained in:
CodingCat
2016-03-16 16:47:08 -04:00
parent 6321bc20ea
commit a31a978471
3 changed files with 17 additions and 1 deletions

View File

@@ -29,6 +29,22 @@
<skipAssembly>false</skipAssembly>
</configuration>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution><!-- Run our version calculation script -->
<id>native</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>create_jni.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>