diff --git a/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml b/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml
index a53bc5128..420a620b0 100644
--- a/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml
+++ b/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml
@@ -93,7 +93,7 @@
${javacpp.parser.skip}
- org/nd4j/nativeblas/**.java
+ org/nd4j/nativeblas/*.java
@@ -219,14 +219,11 @@
org.nd4j.nativeblas.Nd4jCpu
true
${project.build.directory}/classes/META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/
- ${project.build.directory}/classes
-
- maven-jar-plugin
-
+
org.apache.maven.plugins
maven-enforcer-plugin
@@ -262,7 +259,6 @@
-
org.apache.maven.plugins
maven-deploy-plugin
diff --git a/nd4j/nd4j-backends/nd4j-backend-impls/pom.xml b/nd4j/nd4j-backends/nd4j-backend-impls/pom.xml
index befccf54c..0c831eea6 100644
--- a/nd4j/nd4j-backends/nd4j-backend-impls/pom.xml
+++ b/nd4j/nd4j-backends/nd4j-backend-impls/pom.xml
@@ -166,6 +166,9 @@
org/nd4j/nativeblas/${javacpp.platform}${javacpp.platform.extension}/*
lib/**
+ *.dll
+ *.dylib
+ *.so
META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/