2011-12-28 11:44:04 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2012-06-04 22:31:44 +02:00
|
|
|
~ Copyright 2012 The Netty Project
|
2011-12-28 11:44:04 +01:00
|
|
|
~
|
|
|
|
~ 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:
|
|
|
|
~
|
2012-06-04 22:31:44 +02:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2011-12-28 11:44:04 +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.
|
|
|
|
-->
|
|
|
|
<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>
|
2020-04-22 11:57:54 +02:00
|
|
|
<version>4.1.50.Final-SNAPSHOT</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
</parent>
|
|
|
|
|
2013-02-05 10:49:45 +01:00
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2011-12-28 11:44:04 +01:00
|
|
|
|
|
|
|
<name>Netty/All-in-One</name>
|
2012-01-10 04:48:24 +01:00
|
|
|
|
2012-08-21 08:37:04 +02:00
|
|
|
<properties>
|
2013-11-26 12:27:58 +01:00
|
|
|
<generatedSourceDir>${project.build.directory}/src</generatedSourceDir>
|
2014-05-22 12:11:01 +02:00
|
|
|
<dependencyVersionsDir>${project.build.directory}/versions</dependencyVersionsDir>
|
2019-03-01 19:42:29 +01:00
|
|
|
<skipJapicmp>true</skipJapicmp>
|
2012-08-21 08:37:04 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<profiles>
|
2017-05-11 15:14:31 +02:00
|
|
|
<!-- 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. -->
|
2012-08-21 08:37:04 +02:00
|
|
|
<profile>
|
2017-05-12 08:02:58 +02:00
|
|
|
<id>uber-staging</id>
|
2017-05-11 15:14:31 +02:00
|
|
|
<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 -->
|
2017-05-12 08:02:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2020-04-23 13:58:08 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>linux-aarch_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-12 08:02:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-12 08:02:58 +02:00
|
|
|
</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 -->
|
2017-05-11 15:14:31 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2020-04-23 13:58:08 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>linux-aarch_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2017-10-23 00:20:52 +02:00
|
|
|
|
2017-05-11 15:14:31 +02:00
|
|
|
<!-- 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>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-04-30 23:23:48 +02:00
|
|
|
<!-- 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>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
</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>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-04-30 23:23:48 +02:00
|
|
|
<!-- 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>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
</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>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-04-30 23:23:48 +02:00
|
|
|
<!-- 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>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>openbsd</id>
|
2017-01-19 17:31:34 +01:00
|
|
|
<activation>
|
2017-05-11 15:14:31 +02:00
|
|
|
<os>
|
|
|
|
<family>unix</family>
|
|
|
|
<name>openbsd</name>
|
|
|
|
</os>
|
2017-01-19 17:31:34 +01:00
|
|
|
</activation>
|
2017-05-11 15:14:31 +02:00
|
|
|
<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>
|
|
|
|
<optional>true</optional>
|
2019-04-30 23:23:48 +02:00
|
|
|
</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>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>full</id>
|
2016-12-01 09:20:14 +01:00
|
|
|
<!-- 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</artifactId>
|
2020-02-05 10:10:06 +01:00
|
|
|
<version>${netty.build.version}</version>
|
2016-12-01 09:20:14 +01:00
|
|
|
</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 http://docs.oracle.com/javase/7/docs/api/
|
2017-10-23 00:20:52 +02:00
|
|
|
-link https://developers.google.com/protocol-buffers/docs/reference/java/
|
2016-12-01 09:20:14 +01:00
|
|
|
-link http://docs.oracle.com/javaee/6/api/
|
|
|
|
-link http://www.slf4j.org/apidocs/
|
|
|
|
-link https://commons.apache.org/proper/commons-logging/apidocs/
|
|
|
|
-link http://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>
|
2012-08-21 08:37:04 +02:00
|
|
|
</profile>
|
2014-02-08 17:42:03 +01:00
|
|
|
<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>
|
2012-08-21 08:37:04 +02:00
|
|
|
</profiles>
|
|
|
|
|
2012-01-10 04:48:24 +01:00
|
|
|
<dependencies>
|
2014-02-17 22:44:37 +01:00
|
|
|
|
2013-02-10 18:24:59 +01:00
|
|
|
<!-- All release modules -->
|
2012-01-10 04:48:24 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2013-02-10 18:24:59 +01:00
|
|
|
<artifactId>netty-buffer</artifactId>
|
2012-01-10 04:48:24 +01:00
|
|
|
<version>${project.version}</version>
|
2012-06-13 05:11:11 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2014-06-21 06:48:13 +02:00
|
|
|
<artifactId>netty-codec-dns</artifactId>
|
2013-02-10 18:24:59 +01:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2014-06-21 06:48:13 +02:00
|
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
2013-02-10 18:24:59 +01:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2015-03-20 00:55:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2013-11-04 11:40:47 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-memcache</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-06-21 06:48:13 +02:00
|
|
|
<dependency>
|
2014-04-16 23:59:09 +02:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-mqtt</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-02-20 10:49:15 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-redis</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2016-12-02 13:55:37 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-smtp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-04-16 23:59:09 +02:00
|
|
|
<dependency>
|
2014-06-21 06:48:13 +02:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-socks</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-01-30 21:18:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-stomp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-02-20 10:49:15 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-xml</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-08-25 10:50:37 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-09-19 15:36:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-rxtx</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-sctp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-udt</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2013-02-27 01:48:01 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-example</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2012-06-13 05:11:11 +02:00
|
|
|
<!-- Add optional dependencies explicitly to avoid Javadoc warnings and errors. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.marshalling</groupId>
|
|
|
|
<artifactId>jboss-marshalling</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<optional>true</optional>
|
2012-01-10 04:48:24 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2012-06-13 06:21:48 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
2012-06-13 06:28:18 +02:00
|
|
|
<execution>
|
2012-06-13 10:12:51 +02:00
|
|
|
<id>clean-first</id>
|
2012-06-13 06:21:48 +02:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-01-10 04:48:24 +01:00
|
|
|
<plugin>
|
2012-06-13 03:01:21 +02:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2012-01-10 04:48:24 +01:00
|
|
|
<executions>
|
2013-11-26 12:27:58 +01:00
|
|
|
<!-- Populate the properties whose key is groupId:artifactId:type
|
|
|
|
and whose value is the path to the artifact -->
|
|
|
|
<execution>
|
|
|
|
<id>locate-dependencies</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>properties</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<!-- Unpack all source files -->
|
2012-01-10 04:48:24 +01:00
|
|
|
<execution>
|
2012-06-13 03:43:16 +02:00
|
|
|
<id>unpack-sources</id>
|
2012-07-07 07:22:12 +02:00
|
|
|
<phase>prepare-package</phase>
|
2012-01-10 04:48:24 +01:00
|
|
|
<goals>
|
2012-06-13 03:01:21 +02:00
|
|
|
<goal>unpack-dependencies</goal>
|
2012-01-10 04:48:24 +01:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-06-13 03:43:16 +02:00
|
|
|
<classifier>sources</classifier>
|
2014-05-22 12:11:01 +02:00
|
|
|
<includes>io/netty/**</includes>
|
2016-05-27 22:11:28 +02:00
|
|
|
<includeScope>runtime</includeScope>
|
2012-06-13 11:30:31 +02:00
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
2013-11-26 12:27:58 +01:00
|
|
|
<outputDirectory>${generatedSourceDir}</outputDirectory>
|
2012-06-13 03:43:16 +02:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2013-11-26 12:27:58 +01:00
|
|
|
|
|
|
|
<!-- Unpack all class files -->
|
2013-02-07 15:09:58 +01:00
|
|
|
<execution>
|
|
|
|
<id>unpack-jars</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2017-09-18 20:27:06 +02:00
|
|
|
<excludes>io/netty/internal/tcnative/**,io/netty/example/**,META-INF/native/libnetty_tcnative*,META-INF/native/include/**,META-INF/native/**/*.a</excludes>
|
2019-08-28 08:09:03 +02:00
|
|
|
<includes>io/netty/**,META-INF/native/**,META-INF/native-image/**</includes>
|
2016-05-27 22:11:28 +02:00
|
|
|
<includeScope>runtime</includeScope>
|
2014-05-22 12:11:01 +02:00
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
2013-02-07 15:09:58 +01:00
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2012-01-10 04:48:24 +01:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-11-26 12:27:58 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Instead of generating a new version property file, merge others' version property files into one. -->
|
|
|
|
<execution>
|
|
|
|
<id>write-version-properties</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>merge-version-properties</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
2014-05-23 13:03:14 +02:00
|
|
|
<configuration>
|
2013-11-26 12:27:58 +01:00
|
|
|
<target>
|
|
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
2014-10-21 15:31:46 +02:00
|
|
|
<propertyselector property="versions" match="^(${project.groupId}:(?!netty-example)[^:]+:jar(?::[^:]+)?)$" select="\1" />
|
2013-11-26 12:27:58 +01:00
|
|
|
<for list="${versions}" param="x">
|
|
|
|
<sequential>
|
|
|
|
<unzip src="${@{x}}" dest="${dependencyVersionsDir}">
|
|
|
|
<patternset>
|
2013-11-28 15:04:46 +01:00
|
|
|
<include name="META-INF/${project.groupId}.versions.properties" />
|
2013-11-26 12:27:58 +01:00
|
|
|
</patternset>
|
|
|
|
</unzip>
|
2013-11-28 15:04:46 +01:00
|
|
|
<concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties" append="true">
|
2016-02-27 04:02:35 +01:00
|
|
|
<path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties" />
|
2013-11-26 12:27:58 +01:00
|
|
|
</concat>
|
|
|
|
</sequential>
|
|
|
|
</for>
|
2013-11-28 15:04:46 +01:00
|
|
|
<delete dir="${dependencyVersionsDir}" quiet="true" />
|
2013-11-26 12:27:58 +01:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<!-- Clean everything once finished so that IDE doesn't find the unpacked files. -->
|
|
|
|
<execution>
|
|
|
|
<id>clean-source-directory</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<delete dir="${generatedSourceDir}" quiet="true" />
|
2014-05-22 12:11:01 +02:00
|
|
|
<delete dir="${dependencyVersionsDir}" quiet="true" />
|
2013-11-26 12:27:58 +01:00
|
|
|
<delete dir="${project.build.outputDirectory}" quiet="true" />
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Include the directory where the source files were unpacked -->
|
2012-06-13 10:12:51 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
2012-07-07 07:22:12 +02:00
|
|
|
<phase>prepare-package</phase>
|
2012-06-13 10:12:51 +02:00
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
2013-11-26 12:27:58 +01:00
|
|
|
<source>${generatedSourceDir}</source>
|
2012-06-13 10:12:51 +02:00
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-06-13 06:21:48 +02:00
|
|
|
|
2013-11-26 12:27:58 +01:00
|
|
|
<!-- Disable OSGi bundle manifest generation -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-manifest</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- Override the default JAR configuration -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>all-in-one-jar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
2016-02-27 04:02:35 +01:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
2018-01-27 10:47:25 +01:00
|
|
|
<manifestEntries>
|
|
|
|
<Automatic-Module-Name>io.netty.all</Automatic-Module-Name>
|
|
|
|
</manifestEntries>
|
2016-02-27 04:02:35 +01:00
|
|
|
<index>true</index>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2013-11-26 12:27:58 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2012-06-13 03:01:21 +02:00
|
|
|
<!-- Disable animal sniffer -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-11-26 12:27:58 +01:00
|
|
|
|
2012-06-13 03:01:21 +02:00
|
|
|
<!-- Disable checkstyle -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-style</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-11-26 12:27:58 +01:00
|
|
|
|
2012-01-10 04:48:24 +01:00
|
|
|
<!-- Disable all plugin executions configured by jar packaging -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-resources</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-testResources</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-compile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-testCompile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-08-21 08:37:04 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-12-28 11:44:04 +01:00
|
|
|
</project>
|
|
|
|
|