组织ID: |
io.netty |
项目ID: |
netty-transport-native-epoll |
版本: |
4.1.34.Final |
最后修改时间: |
2019-03-09 13:09:47 |
包类型: |
jar |
标题: |
Netty/Transport/Native/Epoll |
大小: |
113.52KB |
|
Maven引入代码: |
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.1.34.Final</version>
</dependency>
|
Gradle引入代码: |
io.netty:netty-transport-native-epoll:4.1.34.Final
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<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.1.34.Final</version>
</parent>
<artifactId>netty-transport-native-epoll</artifactId>
<name>Netty/Transport/Native/Epoll</name>
<packaging>jar</packaging>
<properties>
<javaModuleName>io.netty.transport.epoll</javaModuleName>
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED</argLine.java9.extras>
<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>
<jni.compiler.args.ldflags>LDFLAGS=-L${unix.common.lib.unpacked.dir} -Wl,--no-as-needed -lrt -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive</jni.compiler.args.ldflags>
<skipTests>true</skipTests>
</properties>
<profiles>
<profile>
<id>restricted-release-epoll</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<dependencies>
<dependency>
<groupId>com.ceilfors.maven.plugin</groupId>
<artifactId>enforcer-rules</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-release-environment</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<regexMessage>
Release process must be performed on linux-x86_64.
</regexMessage>
<property>os.detected.classifier</property>
<regex>^linux-x86_64$</regex>
</requireProperty>
<requireFilesContent>
<message>
Release process must be performed on RHEL 6.8 or its derivatives.
</message>
<files>
<file>/etc/redhat-release</file>
</files>
<content>release 6.9</content>
</requireFilesContent>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>linux</id>
<activation>
<os>
<family>linux</family>
</os>
</activation>
<properties>
<skipTests>false</skipTests>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<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>
<name>netty_transport_native_epoll_${os.detected.arch}</name>
<nativeSourceDirectory>${project.basedir}/src/main/c</nativeSourceDirectory>
<libDirectory>${project.build.outputDirectory}</libDirectory>
<platform>.</platform>
<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>
<execution>
<id>native-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Bundle-NativeCode>META-INF/native/libnetty_transport_native_epoll_${os.detected.arch}.so; osname=Linux; processor=${os.detected.arch},*</Bundle-NativeCode>
<Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
</manifestEntries>
<index>true</index>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
<classifier>${jni.classifier}</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<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>
<executions>
<execution>
<phase>initialize</phase>
<id>regex-glibc-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>glibc.sendmmsg.support</name>
<value>${ldd_version}</value>
<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>initialize</phase>
<id>regex-linux-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>linux.sendmmsg.support</name>
<value>${uname_os_version}</value>
<regex>^((?!^[0-9]*[3-9]\.?.*).)*$</regex>
<replacement>IO_NETTY_SENDMSSG_NOT_FOUND</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
<execution>
<phase>generate-sources</phase>
<id>regex-combined-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>jni.compiler.args.cflags</name>
<value>${linux.sendmmsg.support}${glibc.sendmmsg.support}</value>
<regex>.*IO_NETTY_SENDMSSG_NOT_FOUND.*</regex>
<replacement>CFLAGS=-O3 -DIO_NETTY_SENDMMSG_NOT_FOUND -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir}</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
<execution>
<phase>generate-sources</phase>
<id>regex-unset-if-needed-sendmmsg</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>jni.compiler.args.cflags</name>
<value>${jni.compiler.args.cflags}</value>
<regex>^((?!CFLAGS=).)*$</regex>
<replacement>CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir}</replacement>
<failIfNoMatch>false</failIfNoMatch>
</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>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
</profiles>
<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-transport-native-unix-common</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>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>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<configuration>
<excludes>
<exclude>META-INF/native/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
io.netty.channel.epoll.AbstractEpollStreamChannel$3.class
io.netty.channel.epoll.EpollServerSocketChannel.class
io.netty.channel.epoll.AbstractEpollChannel.class
io.netty.channel.epoll.AbstractEpollStreamChannel.class
io.netty.channel.epoll.AbstractEpollStreamChannel$7.class
io.netty.channel.epoll.EpollSocketChannel$EpollSocketChannelUnsafe.class
io.netty.channel.epoll.AbstractEpollStreamChannel$6.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceFdTask.class
io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe.class
io.netty.channel.epoll.EpollSocketChannelConfig.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceOutTask.class
io.netty.channel.epoll.EpollDatagramChannel$EpollDatagramChannelUnsafe.class
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe$1.class
io.netty.channel.epoll.EpollRecvByteAllocatorStreamingHandle.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceInChannelTask.class
META-INF/maven/io.netty/netty-transport-native-epoll/pom.properties
io.netty.channel.epoll.EpollChannelConfig.class
io.netty.channel.epoll.AbstractEpollStreamChannel$1.class
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollSocketWritableByteChannel.class
io.netty.channel.epoll.Native.class
io.netty.channel.epoll.EpollEventLoopGroup.class
io.netty.channel.epoll.EpollChannelOption.class
io.netty.channel.epoll.AbstractEpollStreamChannel$4.class
io.netty.channel.epoll.AbstractEpollStreamChannel$8.class
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.class
io.netty.channel.epoll.EpollEventLoop$1.class
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.class
io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.class
io.netty.channel.epoll.AbstractEpollChannel$1.class
io.netty.channel.epoll.EpollTcpInfo.class
io.netty.channel.epoll.TcpMd5Util.class
META-INF/INDEX.LIST
io.netty.channel.epoll.EpollRecvByteAllocatorHandle.class
io.netty.channel.epoll.EpollServerDomainSocketChannel.class
io.netty.channel.epoll.AbstractEpollStreamChannel$5.class
io.netty.channel.epoll.EpollSocketChannel.class
io.netty.channel.epoll.EpollMode.class
io.netty.channel.epoll.EpollDomainSocketChannel.class
io.netty.channel.epoll.Epoll.class
io.netty.channel.epoll.EpollChannelConfig$1.class
io.netty.channel.epoll.AbstractEpollChannel$2.class
io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceInTask.class
io.netty.channel.epoll.AbstractEpollServerChannel.class
io.netty.channel.epoll.EpollEventLoop.class
io.netty.channel.epoll.EpollSocketChannel$1.class
io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.class
META-INF/io.netty.versions.properties
io.netty.channel.epoll.LinuxSocket.class
io.netty.channel.epoll.EpollServerChannelConfig.class
io.netty.channel.epoll.EpollRecvByteAllocatorHandle$1.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
enforcer-rules-1.2.0.jar
/com.ceilfors.maven.plugin/enforcer-rules/1.2.0
查看enforcer-rules所有版本文件
|