Fix jar output for native deps
parent
e5c703a28d
commit
f6804e760d
|
@ -93,7 +93,7 @@
|
|||
<configuration>
|
||||
<skipMain>${javacpp.parser.skip}</skipMain>
|
||||
<includes>
|
||||
<include>org/nd4j/nativeblas/**.java</include>
|
||||
<include>org/nd4j/nativeblas/*.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
@ -219,14 +219,11 @@
|
|||
<classOrPackageName>org.nd4j.nativeblas.Nd4jCpu</classOrPackageName>
|
||||
<copyLibs>true</copyLibs>
|
||||
<configDirectory>${project.build.directory}/classes/META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/</configDirectory>
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
|
@ -262,7 +259,6 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
|
|
|
@ -166,6 +166,9 @@
|
|||
org/nd4j/nativeblas/${javacpp.platform}${javacpp.platform.extension}/*
|
||||
</exclude>
|
||||
<exclude>lib/**</exclude>
|
||||
<exclude>*.dll</exclude>
|
||||
<exclude>*.dylib</exclude>
|
||||
<exclude>*.so</exclude>
|
||||
<exclude>META-INF/native-image/${javacpp.platform}${javacpp.platform.extension}/</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue