2017-01-19 17:31:34 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright 2016 The Netty Project
|
|
|
|
~
|
|
|
|
~ The Netty Project licenses this file to you under the Apache License,
|
|
|
|
~ version 2.0 (the "License"); you may not use this file except in compliance
|
|
|
|
~ with the License. You may obtain a copy of the License at:
|
|
|
|
~
|
2020-10-23 14:44:18 +02:00
|
|
|
~ https://www.apache.org/licenses/LICENSE-2.0
|
2017-01-19 17:31:34 +01:00
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
~ License for the specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
2020-11-10 10:22:35 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
|
2017-01-19 17:31:34 +01:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-parent</artifactId>
|
2020-12-08 12:51:39 +01:00
|
|
|
<version>4.1.56.Final-SNAPSHOT</version>
|
2017-01-19 17:31:34 +01:00
|
|
|
</parent>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
|
|
|
|
<name>Netty/Transport/Native/KQueue</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
2017-05-11 15:14:31 +02:00
|
|
|
<id>mac</id>
|
2017-01-19 17:31:34 +01:00
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>mac</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jni.compiler.args.ldflags>LDFLAGS=-Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a</jni.compiler.args.ldflags>
|
2017-05-11 15:14:31 +02:00
|
|
|
<skipTests>false</skipTests>
|
2017-01-19 17:31:34 +01:00
|
|
|
</properties>
|
2017-05-11 15:14:31 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- unpack the unix-common static library and include files -->
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
|
|
<includeArtifactIds>netty-transport-native-unix-common</includeArtifactIds>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<outputDirectory>${unix.common.lib.dir}</outputDirectory>
|
|
|
|
<includes>META-INF/native/**</includes>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.fusesource.hawtjni</groupId>
|
|
|
|
<artifactId>maven-hawtjni-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-native-lib</id>
|
|
|
|
<configuration>
|
2017-08-29 14:13:49 +02:00
|
|
|
<name>netty_transport_native_kqueue_${os.detected.arch}</name>
|
2019-08-23 09:30:27 +02:00
|
|
|
<nativeSourceDirectory>${nativeSourceDirectory}</nativeSourceDirectory>
|
2017-05-11 15:14:31 +02:00
|
|
|
<libDirectory>${project.build.outputDirectory}</libDirectory>
|
|
|
|
<!-- We use Maven's artifact classifier instead.
|
|
|
|
This hack will make the hawtjni plugin to put the native library
|
|
|
|
under 'META-INF/native' rather than 'META-INF/native/${platform}'. -->
|
|
|
|
<platform>.</platform>
|
|
|
|
<configureArgs>
|
|
|
|
<arg>${jni.compiler.args.ldflags}</arg>
|
|
|
|
<arg>${jni.compiler.args.cflags}</arg>
|
2018-10-13 04:25:56 +02:00
|
|
|
<!-- support for __attribute__((weak_import)) by the linker was added in 10.2 (but 10.6 is the minimum we can use on 10.14) so ensure we
|
2017-06-27 21:54:04 +02:00
|
|
|
explicitly set the target platform. Otherwise we may get fatal link errors due to weakly linked
|
|
|
|
methods which are not expected to be present on MacOS (e.g. accept4). -->
|
2018-10-13 04:25:56 +02:00
|
|
|
<arg>MACOSX_DEPLOYMENT_TARGET=10.6</arg>
|
2019-08-07 09:56:28 +02:00
|
|
|
<configureArg>--libdir=${project.build.directory}/native-build/target/lib</configureArg>
|
2017-05-11 15:14:31 +02:00
|
|
|
</configureArgs>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Generate the JAR that contains the native library in it. -->
|
|
|
|
<execution>
|
|
|
|
<id>native-jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
2020-12-15 12:47:51 +01:00
|
|
|
<Bundle-NativeCode>META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=MacOSX, processor=${os.detected.arch}</Bundle-NativeCode>
|
2017-12-13 18:20:37 +01:00
|
|
|
<Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
|
2017-05-11 15:14:31 +02:00
|
|
|
</manifestEntries>
|
|
|
|
<index>true</index>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<!--
|
|
|
|
The unix-common with classifier dependency is optional because it is not a runtime dependency, but a build time
|
|
|
|
dependency to get the static library which is built directly into the shared library generated by this project.
|
|
|
|
-->
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>openbsd</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>unix</family>
|
|
|
|
<name>openbsd</name>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<skipTests>false</skipTests>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- unpack the unix-common static library and include files -->
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
|
|
<includeArtifactIds>netty-transport-native-unix-common</includeArtifactIds>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<outputDirectory>${unix.common.lib.dir}</outputDirectory>
|
|
|
|
<includes>META-INF/native/**</includes>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.fusesource.hawtjni</groupId>
|
|
|
|
<artifactId>maven-hawtjni-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-native-lib</id>
|
|
|
|
<configuration>
|
2017-08-29 14:13:49 +02:00
|
|
|
<name>netty_transport_native_kqueue_${os.detected.arch}</name>
|
2019-08-23 09:30:27 +02:00
|
|
|
<nativeSourceDirectory>${nativeSourceDirectory}</nativeSourceDirectory>
|
2017-05-11 15:14:31 +02:00
|
|
|
<libDirectory>${project.build.outputDirectory}</libDirectory>
|
|
|
|
<!-- We use Maven's artifact classifier instead.
|
|
|
|
This hack will make the hawtjni plugin to put the native library
|
|
|
|
under 'META-INF/native' rather than 'META-INF/native/${platform}'. -->
|
|
|
|
<platform>.</platform>
|
|
|
|
<forceConfigure>true</forceConfigure>
|
|
|
|
<forceAutogen>true</forceAutogen>
|
|
|
|
<configureArgs>
|
|
|
|
<arg>${jni.compiler.args.ldflags}</arg>
|
|
|
|
<arg>${jni.compiler.args.cflags}</arg>
|
|
|
|
</configureArgs>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Generate the JAR that contains the native library in it. -->
|
|
|
|
<execution>
|
|
|
|
<id>native-jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
2020-12-15 12:47:51 +01:00
|
|
|
<Bundle-NativeCode>META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=OpenBSD, processor=${os.detected.arch}</Bundle-NativeCode>
|
2017-05-11 15:14:31 +02:00
|
|
|
</manifestEntries>
|
|
|
|
<index>true</index>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<!--
|
|
|
|
The unix-common with classifier dependency is optional because it is not a runtime dependency, but a build time
|
|
|
|
dependency to get the static library which is built directly into the shared library generated by this project.
|
|
|
|
-->
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>freebsd</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>unix</family>
|
|
|
|
<name>freebsd</name>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<skipTests>false</skipTests>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- unpack the unix-common static library and include files -->
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
|
|
<includeArtifactIds>netty-transport-native-unix-common</includeArtifactIds>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<outputDirectory>${unix.common.lib.dir}</outputDirectory>
|
|
|
|
<includes>META-INF/native/**</includes>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.fusesource.hawtjni</groupId>
|
|
|
|
<artifactId>maven-hawtjni-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-native-lib</id>
|
|
|
|
<configuration>
|
2017-08-29 14:13:49 +02:00
|
|
|
<name>netty_transport_native_kqueue_${os.detected.arch}</name>
|
2019-08-23 09:30:27 +02:00
|
|
|
<nativeSourceDirectory>${nativeSourceDirectory}</nativeSourceDirectory>
|
2017-05-11 15:14:31 +02:00
|
|
|
<libDirectory>${project.build.outputDirectory}</libDirectory>
|
|
|
|
<!-- We use Maven's artifact classifier instead.
|
|
|
|
This hack will make the hawtjni plugin to put the native library
|
|
|
|
under 'META-INF/native' rather than 'META-INF/native/${platform}'. -->
|
|
|
|
<platform>.</platform>
|
|
|
|
<forceConfigure>true</forceConfigure>
|
|
|
|
<forceAutogen>true</forceAutogen>
|
|
|
|
<configureArgs>
|
|
|
|
<arg>${jni.compiler.args.ldflags}</arg>
|
|
|
|
<arg>${jni.compiler.args.cflags}</arg>
|
|
|
|
</configureArgs>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Generate the JAR that contains the native library in it. -->
|
|
|
|
<execution>
|
|
|
|
<id>native-jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
2020-12-15 12:47:51 +01:00
|
|
|
<Bundle-NativeCode>META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=FreeBSD, processor=${os.detected.arch}</Bundle-NativeCode>
|
2017-05-11 15:14:31 +02:00
|
|
|
</manifestEntries>
|
|
|
|
<index>true</index>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
|
|
|
<!--
|
|
|
|
The unix-common with classifier dependency is optional because it is not a runtime dependency, but a build time
|
|
|
|
dependency to get the static library which is built directly into the shared library generated by this project.
|
|
|
|
-->
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-01-19 17:31:34 +01:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
2017-09-23 08:52:39 +02:00
|
|
|
<javaModuleName>io.netty.transport.kqueue</javaModuleName>
|
2019-03-13 08:25:10 +01:00
|
|
|
<!-- Needed as we use SelfSignedCertificate in our tests -->
|
|
|
|
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED</argLine.java9.extras>
|
2017-01-19 17:31:34 +01:00
|
|
|
<unix.common.lib.name>netty-unix-common</unix.common.lib.name>
|
|
|
|
<unix.common.lib.dir>${project.build.directory}/unix-common-lib</unix.common.lib.dir>
|
|
|
|
<unix.common.lib.unpacked.dir>${unix.common.lib.dir}/META-INF/native/lib</unix.common.lib.unpacked.dir>
|
|
|
|
<unix.common.include.unpacked.dir>${unix.common.lib.dir}/META-INF/native/include</unix.common.include.unpacked.dir>
|
2018-08-21 07:53:45 +02:00
|
|
|
<jni.compiler.args.cflags>CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir}</jni.compiler.args.cflags>
|
2017-06-27 21:54:04 +02:00
|
|
|
<jni.compiler.args.ldflags>LDFLAGS=-z now -L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive</jni.compiler.args.ldflags>
|
2019-08-23 09:30:27 +02:00
|
|
|
<nativeSourceDirectory>${project.basedir}/src/main/c</nativeSourceDirectory>
|
2017-05-11 15:14:31 +02:00
|
|
|
<skipTests>true</skipTests>
|
2017-01-19 17:31:34 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-buffer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
2018-12-06 09:01:14 +01:00
|
|
|
<artifactId>netty-transport</artifactId>
|
2017-01-19 17:31:34 +01:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
2018-12-06 09:01:14 +01:00
|
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
2017-01-19 17:31:34 +01:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-testsuite</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-unix-common-tests</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>${tcnative.artifactId}</artifactId>
|
|
|
|
<classifier>${tcnative.classifier}</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-08-23 09:30:27 +02:00
|
|
|
<!-- Also include c files in source jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${nativeSourceDirectory}</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-01-19 17:31:34 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Generate the fallback JAR that does not contain the native library. -->
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/native/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|
|
|
|
|