487 lines
17 KiB
XML
487 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2012 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:
|
|
~
|
|
~ https://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 https://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.65.Final-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Netty/All-in-One</name>
|
|
|
|
<properties>
|
|
<generatedSourceDir>${project.build.directory}/src</generatedSourceDir>
|
|
<dependencyVersionsDir>${project.build.directory}/versions</dependencyVersionsDir>
|
|
<skipJapicmp>true</skipJapicmp>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-bom</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<profiles>
|
|
<!-- If the uber profile is used it will automatically fetch the missing native jar from maven and add it to the all jar as well. -->
|
|
<profile>
|
|
<id>uber-staging</id>
|
|
<repositories>
|
|
<repository>
|
|
<id>staged-releases</id>
|
|
<name>Staged Releases</name>
|
|
<url>https://oss.sonatype.org/service/local/repositories/${stagingRepositoryId}/content/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- Depend on all our native jars -->
|
|
<!-- As this is executed on either macOS or Linux we directly need to specify the classifier -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<classifier>linux-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<classifier>linux-aarch_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<classifier>osx-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<classifier>osx-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>uber-snapshot</id>
|
|
|
|
<dependencies>
|
|
<!-- Depend on all our native jars -->
|
|
<!-- As this is executed on either macOS or Linux we directly need to specify the classifier -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<classifier>linux-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<classifier>linux-aarch_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<classifier>osx-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<classifier>osx-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
|
|
<!-- The linux profile will only include the native jar for epol to the all jar.
|
|
If you want to also include the native jar for kqueue use -Puber.
|
|
-->
|
|
<profile>
|
|
<id>linux</id>
|
|
<activation>
|
|
<os>
|
|
<family>linux</family>
|
|
</os>
|
|
</activation>
|
|
<dependencies>
|
|
<!-- All release modules -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>${jni.classifier}</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Just include the classes for the other platform so these are at least present in the netty-all artifact -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<!-- The mac, openbsd and freebsd profile will only include the native jar for epol to the all jar.
|
|
If you want to also include the native jar for kqueue use -Puber.
|
|
-->
|
|
<profile>
|
|
<id>mac</id>
|
|
<activation>
|
|
<os>
|
|
<family>mac</family>
|
|
</os>
|
|
</activation>
|
|
<dependencies>
|
|
<!-- All release modules -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>${jni.classifier}</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>${jni.classifier}</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Just include the classes for the other platform so these are at least present in the netty-all artifact -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>freebsd</id>
|
|
<activation>
|
|
<os>
|
|
<family>unix</family>
|
|
<name>freebsd</name>
|
|
</os>
|
|
</activation>
|
|
<dependencies>
|
|
<!-- All release modules -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>${jni.classifier}</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Just include the classes for the other platform so these are at least present in the netty-all artifact -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>openbsd</id>
|
|
<activation>
|
|
<os>
|
|
<family>unix</family>
|
|
<name>openbsd</name>
|
|
</os>
|
|
</activation>
|
|
<dependencies>
|
|
<!-- All release modules -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>${jni.classifier}</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Just include the classes for the other platform so these are at least present in the netty-all artifact -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>full</id>
|
|
<!-- Only include in full profile as this will not work on Java9 yet -->
|
|
<!-- https://issues.apache.org/jira/browse/JXR-133 -->
|
|
<build>
|
|
<plugins>
|
|
<!-- Generate Xref -->
|
|
<plugin>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-xref</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jxr</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<linkJavadoc>true</linkJavadoc>
|
|
<destDir>${project.build.directory}/xref</destDir>
|
|
<javadocDir>${project.build.directory}/api</javadocDir>
|
|
<docTitle>Netty Source Xref (${project.version})</docTitle>
|
|
<windowTitle>Netty Source Xref (${project.version})</windowTitle>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-build-common</artifactId>
|
|
<version>${netty.build.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<!-- Generate Javadoc -->
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>${quickbuild}</skip>
|
|
<excludePackageNames>*.internal,*.example</excludePackageNames>
|
|
<docfilessubdirs>true</docfilessubdirs>
|
|
<outputDirectory>${project.build.directory}/api</outputDirectory>
|
|
<overview>${project.basedir}/src/javadoc/overview.html</overview>
|
|
<doctitle>Netty API Reference (${project.version})</doctitle>
|
|
<windowtitle>Netty API Reference (${project.version})</windowtitle>
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
<additionalparam>
|
|
-link https://docs.oracle.com/javase/7/docs/api/
|
|
-link https://developers.google.com/protocol-buffers/docs/reference/java/
|
|
-link https://docs.oracle.com/javaee/6/api/
|
|
-link https://www.slf4j.org/apidocs/
|
|
-link https://commons.apache.org/proper/commons-logging/apidocs/
|
|
-link https://logging.apache.org/log4j/1.2/apidocs/
|
|
|
|
-group "Low-level data representation" io.netty.buffer*
|
|
-group "Central interface for all I/O operations" io.netty.channel*
|
|
-group "Client & Server bootstrapping utilities" io.netty.bootstrap*
|
|
-group "Reusable I/O event interceptors" io.netty.handler*
|
|
-group "Miscellaneous" io.netty.util*
|
|
</additionalparam>
|
|
<locale>en_US</locale>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>coverage</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>jacoco-merge</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>merge</goal>
|
|
</goals>
|
|
<configuration>
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>${project.parent.build.directory}/..</directory>
|
|
<includes>
|
|
<include>**/target/jacoco.exec</include>
|
|
</includes>
|
|
</fileSet>
|
|
</fileSets>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>jacoco-report</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/jacoco-report</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
|
|
<!-- All release modules -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-buffer</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-dns</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-http</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-memcache</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-mqtt</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-redis</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-smtp</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-socks</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-stomp</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-codec-xml</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-common</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-handler</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-resolver-dns</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-rxtx</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-sctp</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-transport-udt</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>netty-example</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|
|
|