native build is broken

This is fixing something I broke. The copy of the native libraries to its output.
This commit is contained in:
Clebert Suconic 2015-03-03 17:37:20 -05:00
parent 2d5884858b
commit b52d1cd8e0
1 changed files with 43 additions and 0 deletions

View File

@ -40,6 +40,49 @@
<directory>${basedir}/target/output/</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources-32</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/output/lib/linux-i686/</outputDirectory>
<resources>
<resource>
<directory>bin/</directory>
<includes>
<include>libactivemqAIO32.so</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-resources-64</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/output/lib/linux-x86_64/</outputDirectory>
<resources>
<resource>
<directory>bin/</directory>
<includes>
<include>libactivemqAIO64.so</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>