组织ID: |
io.netty |
项目ID: |
netty-transport-native-epoll |
版本: |
4.0.28.Final |
最后修改时间: |
2018-09-05 10:56:32 |
包类型: |
jar |
标题: |
Netty/Transport/Native/Epoll |
大小: |
105.05KB |
|
Maven引入代码: |
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.0.28.Final</version>
</dependency>
|
Gradle引入代码: |
io.netty:netty-transport-native-epoll:4.0.28.Final
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="ISO-8859-15"?>
<!--
~ Copyright 2014 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:
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ 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.
-->
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>4.0.28.Final</version>
</parent>
<artifactId>netty-transport-native-epoll</artifactId>
<name>Netty/Transport/Native/Epoll</name>
<packaging>jar</packaging>
<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>
<artifactId>netty-transport</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-testsuite</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-tcnative</artifactId>
<classifier>${os.detected.classifier}</classifier>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.fusesource.hawtjni</groupId>
<artifactId>maven-hawtjni-plugin</artifactId>
<executions>
<execution>
<id>build-native-lib</id>
<configuration>
<nativeSourceDirectory>${project.basedir}/src/main/c</nativeSourceDirectory>
<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}</arg>
</configureArgs>
</configuration>
<goals>
<goal>generate</goal>
<goal>build</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
<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>
<!-- Generate the JAR that contains the native library in it. -->
<execution>
<id>native-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>${os.detected.classifier}</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<!-- Phase must be before regex-glibc-sendmmsg and regex-linux-sendmmsg -->
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<id>ant-get-systeminfo</id>
<configuration>
<exportAntProperties>true</exportAntProperties>
<tasks>
<exec executable="sh" outputproperty="ldd_version">
<arg value="-c" />
<arg value="ldd --version | head -1" />
</exec>
<exec executable="uname" outputproperty="uname_os_version">
<arg value="-r" />
</exec>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<!-- Phase must be before regex-combined-sendmmsg -->
<phase>initialize</phase>
<id>regex-glibc-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>glibc.sendmmsg.support</name>
<value>${ldd_version}</value>
<!-- Version must be >= 2.14 - set to IO_NETTY_SENDMSSG_NOT_FOUND if this version is not satisfied -->
<regex>^((?!^[^)]+\)\s+(0*2\.1[4-9]|0*2\.[2-9][0-9]+|0*[3-9][0-9]*|0*[1-9]+[0-9]+).*).)*$</regex>
<replacement>IO_NETTY_SENDMSSG_NOT_FOUND</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
<execution>
<!-- Phase must be before regex-combined-sendmmsg -->
<phase>initialize</phase>
<id>regex-linux-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>linux.sendmmsg.support</name>
<value>${uname_os_version}</value>
<!-- Version must be >= 3 - set to IO_NETTY_SENDMSSG_NOT_FOUND if this version is not satisfied -->
<regex>^((?!^[0-9]*[3-9]\.?.*).)*$</regex>
<replacement>IO_NETTY_SENDMSSG_NOT_FOUND</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
<execution>
<!-- Phase must be before regex-unset-if-needed-sendmmsg -->
<phase>generate-sources</phase>
<id>regex-combined-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>jni.compiler.args</name>
<value>${linux.sendmmsg.support}${glibc.sendmmsg.support}</value>
<!-- If glibc and linux kernel are both not sufficient...then define the CFLAGS -->
<regex>.*IO_NETTY_SENDMSSG_NOT_FOUND.*</regex>
<replacement>CFLAGS="-DIO_NETTY_SENDMMSG_NOT_FOUND"</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
<execution>
<!-- Phase must be before build-native-lib -->
<phase>generate-sources</phase>
<id>regex-unset-if-needed-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>jni.compiler.args</name>
<value>${jni.compiler.args}</value>
<!-- If glibc and linux kernel are both not sufficient...then define the CFLAGS -->
<regex>^((?!CFLAGS=).)*$</regex>
<replacement>CFLAGS=""</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
META-INF/io.netty.versions.properties
io.netty.channel.unix.DomainSocketAddress.class
io.netty.channel.unix.DomainSocketChannel.class
io.netty.channel.unix.UnixChannel.class
io.netty.channel.unix.DomainSocketChannelConfig.class
io.netty.channel.unix.DomainSocketReadMode.class
io.netty.channel.unix.ServerDomainSocketChannel.class
io.netty.channel.unix.FileDescriptor.class
io.netty.channel.epoll.EpollServerSocketChannel.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceOutTask.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceFdTask.class
io.netty.channel.epoll.EpollDomainSocketChannel.class
io.netty.channel.epoll.EpollChannelConfig.class
io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.class
io.netty.channel.epoll.EpollDatagramChannelConfig.class
io.netty.channel.epoll.NativeDatagramPacketArray.class
io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe$1.class
io.netty.channel.epoll.EpollEventLoopGroup.class
io.netty.channel.epoll.EpollDatagramChannel$DatagramSocketAddress.class
io.netty.channel.epoll.EpollChannelOption.class
io.netty.channel.epoll.EpollEventArray.class
io.netty.channel.epoll.AbstractEpollStreamChannel.class
io.netty.channel.epoll.NativeDatagramPacketArray$1.class
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.class
io.netty.channel.epoll.EpollSocketChannel$1.class
io.netty.channel.epoll.EpollDomainSocketChannelConfig.class
io.netty.channel.epoll.EpollTcpInfo.class
io.netty.channel.epoll.EpollMode.class
io.netty.channel.epoll.EpollSocketChannel$2.class
io.netty.channel.epoll.EpollEventLoop.class
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.class
io.netty.channel.epoll.AbstractEpollChannel$1.class
io.netty.channel.epoll.Epoll.class
io.netty.channel.epoll.IovArrayThreadLocal.class
io.netty.channel.epoll.AbstractEpollChannel.class
io.netty.channel.epoll.EpollServerDomainSocketChannel.class
io.netty.channel.epoll.EpollServerChannelConfig.class
io.netty.channel.epoll.EpollChannelConfig$1.class
io.netty.channel.epoll.EpollDatagramChannel.class
io.netty.channel.epoll.EpollServerSocketChannelConfig.class
io.netty.channel.epoll.IovArrayThreadLocal$1.class
io.netty.channel.epoll.EpollSocketChannel$EpollSocketChannelUnsafe.class
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe$3.class
io.netty.channel.epoll.AbstractEpollServerChannel.class
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe$1.class
io.netty.channel.epoll.EpollDatagramChannel$EpollDatagramChannelUnsafe.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceInTask.class
io.netty.channel.epoll.EpollSocketChannel.class
io.netty.channel.epoll.Native$NativeInetAddress.class
io.netty.channel.epoll.EpollDomainSocketChannel$1.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
netty-common-${project.version}.jar
/io.netty/netty-common/${project.version}
查看netty-common所有版本文件
netty-buffer-${project.version}.jar
/io.netty/netty-buffer/${project.version}
查看netty-buffer所有版本文件
netty-transport-${project.version}.jar
/io.netty/netty-transport/${project.version}
查看netty-transport所有版本文件
netty-testsuite-${project.version}.jar
/io.netty/netty-testsuite/${project.version}
查看netty-testsuite所有版本文件
|