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:
|
|
|
|
~
|
2020-10-23 14:44:18 +02:00
|
|
|
~ https://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.
|
|
|
|
-->
|
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">
|
2011-12-28 11:44:04 +01:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-parent</artifactId>
|
2021-05-19 14:09:18 +02:00
|
|
|
<version>4.1.66.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>
|
|
|
|
|
2020-05-15 10:12:46 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-bom</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2012-08-21 08:37:04 +02:00
|
|
|
<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>
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-12 08:02:58 +02:00
|
|
|
</dependency>
|
2020-04-23 13:58:08 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
2020-12-07 12:14:23 +01:00
|
|
|
<classifier>linux-aarch_64</classifier>
|
2020-04-23 13:58:08 +02:00
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2020-04-23 13:58:08 +02:00
|
|
|
</dependency>
|
2017-05-12 08:02:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-12 08:02:58 +02:00
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-10-28 15:02:45 +01:00
|
|
|
</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>
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
2020-04-23 13:58:08 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
2020-12-07 12:14:23 +01:00
|
|
|
<classifier>linux-aarch_64</classifier>
|
2020-04-23 13:58:08 +02:00
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2020-04-23 13:58:08 +02:00
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-10-28 15:02:45 +01:00
|
|
|
</dependency>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2017-10-23 00:20:52 +02:00
|
|
|
|
2021-01-13 11:07:39 +01:00
|
|
|
<!-- The linux profile will only include the native jar for epol to the all jar.
|
2017-05-11 15:14:31 +02:00
|
|
|
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>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-04-30 23:23:48 +02:00
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-10-28 15:02:45 +01:00
|
|
|
</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>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
2019-10-28 15:02:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
2021-01-27 10:25:08 +01:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>${jni.classifier}</classifier>
|
2019-10-28 15:02:45 +01:00
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-10-28 15:02:45 +01:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-04-30 23:23:48 +02:00
|
|
|
</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>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
2021-01-27 10:25:08 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2021-01-27 10:25:08 +01:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-04-30 23:23:48 +02:00
|
|
|
</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>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2019-04-30 23:23:48 +02:00
|
|
|
</dependency>
|
2021-01-27 10:25:08 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2021-01-27 10:25:08 +01:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-05-11 15:14:31 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2012-08-21 08:37:04 +02:00
|
|
|
</profiles>
|
|
|
|
|
2012-01-10 04:48:24 +01:00
|
|
|
<dependencies>
|
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-06-13 05:11:11 +02:00
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2012-06-13 05:11:11 +02:00
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</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
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2014-06-21 06:48:13 +02:00
|
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-06-21 06:48:13 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
2013-02-10 18:24:59 +01:00
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
2015-03-20 00:55:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2015-03-20 00:55:45 +01:00
|
|
|
</dependency>
|
2013-11-04 11:40:47 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-memcache</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-11-04 11:40:47 +01:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-04-16 23:59:09 +02:00
|
|
|
</dependency>
|
2017-02-20 10:49:15 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-redis</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-02-20 10:49:15 +01:00
|
|
|
</dependency>
|
2016-12-02 13:55:37 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-smtp</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2016-12-02 13:55:37 +01:00
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-06-21 06:48:13 +02:00
|
|
|
</dependency>
|
2014-01-30 21:18:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-stomp</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-01-30 21:18:30 +01:00
|
|
|
</dependency>
|
2017-02-20 10:49:15 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-xml</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2017-02-20 10:49:15 +01:00
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
2014-08-25 10:50:37 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-08-25 10:50:37 +02:00
|
|
|
</dependency>
|
2014-09-19 15:36:32 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-09-19 15:36:32 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-resolver-dns</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2014-09-19 15:36:32 +02:00
|
|
|
</dependency>
|
2013-02-10 18:24:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-rxtx</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-sctp</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-udt</artifactId>
|
|
|
|
<scope>compile</scope>
|
2021-05-19 11:12:52 +02:00
|
|
|
<optional>true</optional>
|
2013-02-10 18:24:59 +01:00
|
|
|
</dependency>
|
2012-01-10 04:48:24 +01:00
|
|
|
</dependencies>
|
2021-05-19 11:12:52 +02:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean-first</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- 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 -->
|
|
|
|
<execution>
|
|
|
|
<id>unpack-sources</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>sources</classifier>
|
|
|
|
<includes>io/netty/**</includes>
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
|
|
<outputDirectory>${generatedSourceDir}</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<!-- Unpack all class files -->
|
|
|
|
<execution>
|
|
|
|
<id>unpack-jars</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>io/netty/internal/tcnative/**,io/netty/example/**,META-INF/native/libnetty_tcnative*,META-INF/native/include/**,META-INF/native/**/*.a</excludes>
|
|
|
|
<includes>io/netty/**,META-INF/native/**,META-INF/native-image/**</includes>
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
|
|
|
<propertyselector property="versions" match="^(${project.groupId}:(?!netty-example)[^:]+:jar(?::[^:]+)?)$" select="\1" />
|
|
|
|
<for list="${versions}" param="x">
|
|
|
|
<sequential>
|
|
|
|
<unzip src="${@{x}}" dest="${dependencyVersionsDir}">
|
|
|
|
<patternset>
|
|
|
|
<include name="META-INF/${project.groupId}.versions.properties" />
|
|
|
|
</patternset>
|
|
|
|
</unzip>
|
|
|
|
<concat destfile="${project.build.outputDirectory}/META-INF/${project.groupId}.versions.properties" append="true">
|
|
|
|
<path path="${dependencyVersionsDir}/META-INF/${project.groupId}.versions.properties" />
|
|
|
|
</concat>
|
|
|
|
</sequential>
|
|
|
|
</for>
|
|
|
|
<delete dir="${dependencyVersionsDir}" quiet="true" />
|
|
|
|
</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" />
|
|
|
|
<delete dir="${dependencyVersionsDir}" quiet="true" />
|
|
|
|
<delete dir="${project.build.outputDirectory}" quiet="true" />
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Include the directory where the source files were unpacked -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${generatedSourceDir}</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<Automatic-Module-Name>io.netty.all</Automatic-Module-Name>
|
|
|
|
</manifestEntries>
|
|
|
|
<index>true</index>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
<!-- Disable checkstyle -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-style</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-12-28 11:44:04 +01:00
|
|
|
</project>
|
|
|
|
|