diff --git a/pom.xml b/pom.xml
index 670dec8..f7c54f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,6 +250,39 @@
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ 2.9
+
+
+ ${integrationtest.include}
+
+
+ ${unittest.include}
+ **/*$*
+ ${test.exclude.pattern}
+
+
+ ${env.LD_LIBRARY_PATH}:${project.build.directory}/nativelib
+ ${env.DYLD_LIBRARY_PATH}:${project.build.directory}/nativelib
+
+
+
+
+ integration-test
+
+ integration-test
+
+
+
+ verify
+
+ verify
+
+
+
+
+
maven-clean-plugin
@@ -460,9 +493,10 @@
always
- **/Test*.java
+ ${unittest.include}
+ ${integrationtest.include}
**/*$*
${test.exclude.pattern}
@@ -472,6 +506,11 @@
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+
maven-antrun-plugin
1.6
@@ -683,6 +722,11 @@
**/${test.exclude}.java
+
+
+ **/Test*.java
+ **/IntegrationTest*.java
+
@@ -1586,6 +1630,25 @@
apache-rat-plugin
0.6
+
+ org.apache.maven.plugins
+ maven-surefire-report-plugin
+ 2.9
+
+
+ integration-tests
+
+ report-only
+
+
+ failsafe-report
+
+ ${project.build.directory}/failsafe-reports
+
+
+
+
+