2009-01-12 12:45:50 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2012-06-04 22:31:44 +02:00
|
|
|
~ Copyright 2012 The Netty Project
|
2011-12-09 06:18:34 +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-09 06:18:34 +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.
|
|
|
|
-->
|
2009-01-13 08:35:15 +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 http://maven.apache.org/maven-v4_0_0.xsd">
|
2008-09-09 15:42:47 +02:00
|
|
|
|
2008-08-08 02:37:18 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2010-04-30 13:07:17 +02:00
|
|
|
<parent>
|
2011-12-09 03:51:34 +01:00
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
2014-05-02 09:31:40 +02:00
|
|
|
<version>9</version>
|
2010-04-30 13:07:17 +02:00
|
|
|
</parent>
|
|
|
|
|
2011-12-09 03:51:34 +01:00
|
|
|
<groupId>io.netty</groupId>
|
2011-12-28 11:44:04 +01:00
|
|
|
<artifactId>netty-parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
2015-09-02 11:45:20 +02:00
|
|
|
<version>4.1.0.Beta7-SNAPSHOT</version>
|
2008-09-09 15:42:47 +02:00
|
|
|
|
2011-12-28 11:44:04 +01:00
|
|
|
<name>Netty</name>
|
|
|
|
<url>http://netty.io/</url>
|
2008-09-09 15:42:47 +02:00
|
|
|
<description>
|
2015-02-06 20:52:23 +01:00
|
|
|
Netty is an asynchronous event-driven network application framework for
|
2011-12-28 11:44:04 +01:00
|
|
|
rapid development of maintainable high performance protocol servers and
|
|
|
|
clients.
|
2008-09-09 15:42:47 +02:00
|
|
|
</description>
|
|
|
|
|
2011-12-09 06:49:10 +01:00
|
|
|
<organization>
|
|
|
|
<name>The Netty Project</name>
|
|
|
|
<url>http://netty.io/</url>
|
|
|
|
</organization>
|
|
|
|
|
2008-08-08 02:37:18 +02:00
|
|
|
<licenses>
|
|
|
|
<license>
|
2009-08-28 09:39:09 +02:00
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
2008-08-08 02:37:18 +02:00
|
|
|
</license>
|
|
|
|
</licenses>
|
2008-09-09 15:42:47 +02:00
|
|
|
<inceptionYear>2008</inceptionYear>
|
|
|
|
|
2008-08-08 02:37:18 +02:00
|
|
|
<scm>
|
2011-01-11 10:41:14 +01:00
|
|
|
<url>https://github.com/netty/netty</url>
|
|
|
|
<connection>scm:git:git://github.com/netty/netty.git</connection>
|
2011-02-07 13:31:08 +01:00
|
|
|
<developerConnection>scm:git:ssh://git@github.com/netty/netty.git</developerConnection>
|
2015-09-02 11:45:20 +02:00
|
|
|
<tag>HEAD</tag>
|
2008-08-08 02:37:18 +02:00
|
|
|
</scm>
|
2008-09-09 15:42:47 +02:00
|
|
|
|
2011-12-09 07:22:00 +01:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>netty.io</id>
|
|
|
|
<name>The Netty Project Contributors</name>
|
|
|
|
<email>netty@googlegroups.com</email>
|
|
|
|
<url>http://netty.io/</url>
|
|
|
|
<organization>The Netty Project</organization>
|
|
|
|
<organizationUrl>http://netty.io/</organizationUrl>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2013-12-04 11:03:32 +01:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>leak</id>
|
|
|
|
<properties>
|
2014-05-20 12:46:19 +02:00
|
|
|
<argLine.leak>-Dio.netty.leakDetectionLevel=paranoid</argLine.leak>
|
2013-12-04 11:03:32 +01:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-02-08 17:42:03 +01:00
|
|
|
<profile>
|
|
|
|
<id>coverage</id>
|
2014-02-08 18:12:56 +01:00
|
|
|
<properties>
|
2014-05-20 12:46:19 +02:00
|
|
|
<argLine.coverage>${jacoco.argLine}</argLine.coverage>
|
2014-02-08 18:12:56 +01:00
|
|
|
</properties>
|
2014-02-08 17:42:03 +01:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2015-08-16 12:24:15 +02:00
|
|
|
<version>0.7.5.201505241946</version>
|
2014-02-08 17:42:03 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
2014-02-08 18:12:56 +01:00
|
|
|
<configuration>
|
|
|
|
<propertyName>jacoco.argLine</propertyName>
|
|
|
|
</configuration>
|
2014-02-08 17:42:03 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-02-10 23:11:38 +01:00
|
|
|
<profile>
|
|
|
|
<id>jdk8</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.8,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2014-05-20 15:37:55 +02:00
|
|
|
<!-- Our Javadoc has poor enough quality to fail the build thanks to JDK8 javadoc which got more strict. -->
|
2014-02-10 23:11:38 +01:00
|
|
|
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
|
2014-12-16 15:24:49 +01:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-02-15 22:26:36 +01:00
|
|
|
<profile>
|
2014-05-02 09:31:40 +02:00
|
|
|
<id>linux</id>
|
2014-02-15 22:26:36 +01:00
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>linux</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
|
|
|
<module>transport-native-epoll</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
2014-05-02 09:31:40 +02:00
|
|
|
<!--
|
2014-12-31 12:40:02 +01:00
|
|
|
Netty must be released from RHEL 6.6 x86_64 or compatible so that:
|
2014-05-02 09:31:40 +02:00
|
|
|
|
|
|
|
1) we ship x86_64 version of epoll transport officially, and
|
|
|
|
2) we ensure the ABI compatibility with older GLIBC versions.
|
|
|
|
|
|
|
|
The shared library built on a distribution with newer GLIBC
|
|
|
|
will not run on older distributions.
|
|
|
|
-->
|
|
|
|
<profile>
|
2014-05-03 10:28:28 +02:00
|
|
|
<id>restricted-release</id>
|
2014-05-02 09:31:40 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-release-environment</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
2015-03-29 09:58:50 +02:00
|
|
|
<requireJavaVersion>
|
|
|
|
<!-- Enforce JDK 1.7 (and not 1.8+) for compilation. -->
|
|
|
|
<!-- See: https://github.com/netty/netty/issues/3548 -->
|
|
|
|
<version>[1.7.0, 1.8.0)</version>
|
|
|
|
</requireJavaVersion>
|
2014-05-02 09:31:40 +02:00
|
|
|
<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>
|
2014-12-31 12:40:02 +01:00
|
|
|
Release process must be performed on RHEL 6.6 or its derivatives.
|
2014-05-02 09:31:40 +02:00
|
|
|
</message>
|
|
|
|
<files>
|
|
|
|
<file>/etc/redhat-release</file>
|
|
|
|
</files>
|
2014-12-31 12:40:02 +01:00
|
|
|
<content>release 6.6</content>
|
2014-05-02 09:31:40 +02:00
|
|
|
</requireFilesContent>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-05-20 12:46:19 +02:00
|
|
|
|
|
|
|
<!--
|
2015-03-20 01:33:14 +01:00
|
|
|
Profiles that assigns proper Jetty npn-boot and alpn-boot version.
|
2014-05-20 12:46:19 +02:00
|
|
|
See: http://www.eclipse.org/jetty/documentation/current/npn-chapter.html#npn-versions
|
2015-03-20 01:33:14 +01:00
|
|
|
See: http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions
|
2014-05-20 12:46:19 +02:00
|
|
|
-->
|
2015-05-04 07:25:18 +02:00
|
|
|
<profile>
|
2015-08-27 22:32:21 +02:00
|
|
|
<id>alpn-7latest</id>
|
2015-05-04 07:25:18 +02:00
|
|
|
<activation>
|
2015-08-27 22:32:21 +02:00
|
|
|
<jdk>[1.7,1.8)</jdk>
|
2015-05-04 07:25:18 +02:00
|
|
|
</activation>
|
|
|
|
<properties>
|
2015-08-27 22:32:21 +02:00
|
|
|
<jetty.alpn.version>7.1.3.v20150130</jetty.alpn.version>
|
2015-05-04 07:25:18 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2015-08-27 22:32:21 +02:00
|
|
|
<id>npn-latest</id>
|
2015-05-04 07:25:18 +02:00
|
|
|
<activation>
|
2015-08-27 22:32:21 +02:00
|
|
|
<!--Even though npn is only supported on 1.7, allow it to still be included so dependencies can be resolved-->
|
|
|
|
<jdk>[1.7,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.11.v20150415</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8latest</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.8,)</jdk>
|
2015-05-04 07:25:18 +02:00
|
|
|
</activation>
|
|
|
|
<properties>
|
2015-08-27 22:32:21 +02:00
|
|
|
<jetty.alpn.version>8.1.4.v20150727</jetty.alpn.version>
|
2015-05-04 07:25:18 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-05-20 12:46:19 +02:00
|
|
|
<profile>
|
|
|
|
<id>npn-7u9</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_9</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.3.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u10</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_10</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.3.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u11</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_11</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.3.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u13</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_13</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.4.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u15</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_15</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.5.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u17</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_17</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.5.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u21</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_21</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.5.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-7u25</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_25</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.5.v20130313</jetty.npn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2015-03-20 01:33:14 +01:00
|
|
|
<id>npn-alpn-7u40</id>
|
2014-05-20 12:46:19 +02:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_40</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.6.v20130911</jetty.npn.version>
|
2014-10-04 00:16:04 +02:00
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
2014-05-20 12:46:19 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2015-03-20 01:33:14 +01:00
|
|
|
<id>npn-alpn-7u45</id>
|
2014-05-20 12:46:19 +02:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_45</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.6.v20130911</jetty.npn.version>
|
2014-10-04 00:16:04 +02:00
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
2014-05-20 12:46:19 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2015-03-20 01:33:14 +01:00
|
|
|
<id>npn-alpn-7u51</id>
|
2014-05-20 12:46:19 +02:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_51</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.6.v20130911</jetty.npn.version>
|
2014-10-04 00:16:04 +02:00
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u55</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_55</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.8.v20141013</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u60</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_60</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.8.v20141013</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u65</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_65</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.8.v20141013</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u67</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_67</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.8.v20141013</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u71</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_71</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.9.v20141016</jetty.npn.version>
|
2014-12-16 15:24:49 +01:00
|
|
|
<jetty.alpn.version>7.1.2.v20141202</jetty.alpn.version>
|
2014-10-04 00:16:04 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u72</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_72</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.9.v20141016</jetty.npn.version>
|
2014-12-16 15:24:49 +01:00
|
|
|
<jetty.alpn.version>7.1.2.v20141202</jetty.alpn.version>
|
2014-10-04 00:16:04 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-03-20 01:33:14 +01:00
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u75</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_75</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.10.v20150130</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u76</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_76</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.10.v20150130</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-05-04 07:25:18 +02:00
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u79</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_79</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.npn.version>1.1.10.v20150130</jetty.npn.version>
|
|
|
|
<jetty.alpn.version>7.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>npn-alpn-7u80</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.7.0_80</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2015-08-05 22:15:38 +02:00
|
|
|
<jetty.npn.version>1.1.11.v20150415</jetty.npn.version>
|
2015-05-04 07:25:18 +02:00
|
|
|
<jetty.alpn.version>7.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u05</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_05</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u11</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_11</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u20</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_20</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.0.v20141016</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u25</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_25</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.2.v20141202</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u31</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_31</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u40</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_40</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>alpn-8u45</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_45</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.3.v20150130</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-08-05 22:15:38 +02:00
|
|
|
<profile>
|
|
|
|
<id>alpn-8u51</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>java.version</name>
|
|
|
|
<value>1.8.0_51</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<jetty.alpn.version>8.1.4.v20150727</jetty.alpn.version>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-10-04 00:16:04 +02:00
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
This profile exists because either ALPN or NPN can exits on the class path at once, but not both.
|
|
|
|
The JDK version is typically used to distinguish which should be used but there is some overlap
|
|
|
|
where both could be used. ALPN is the default and this profile is enabled with a -Dforcenpn=true arugument
|
|
|
|
-->
|
|
|
|
<id>forcenpn</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>forcenpn</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<argLine.bootcp>-Xbootclasspath/p:${jetty.npn.path}</argLine.bootcp>
|
2014-05-20 12:46:19 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2013-12-04 11:03:32 +01:00
|
|
|
</profiles>
|
|
|
|
|
2012-06-13 07:03:57 +02:00
|
|
|
<properties>
|
2013-02-14 20:19:05 +01:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2013-07-12 14:07:10 +02:00
|
|
|
<jboss.marshalling.version>1.3.18.GA</jboss.marshalling.version>
|
2014-05-20 12:46:19 +02:00
|
|
|
<jetty.npn.path>${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${jetty.npn.version}/npn-boot-${jetty.npn.version}.jar</jetty.npn.path>
|
2014-10-04 00:16:04 +02:00
|
|
|
<jetty.alpn.path>${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${jetty.alpn.version}/alpn-boot-${jetty.alpn.version}.jar</jetty.alpn.path>
|
2014-05-20 12:46:19 +02:00
|
|
|
<argLine.common>
|
|
|
|
-server
|
2013-03-16 02:15:42 +01:00
|
|
|
-dsa -da -ea:io.netty...
|
|
|
|
-XX:+AggressiveOpts
|
|
|
|
-XX:+TieredCompilation
|
|
|
|
-XX:+UseBiasedLocking
|
|
|
|
-XX:+UseFastAccessorMethods
|
|
|
|
-XX:+OptimizeStringConcat
|
|
|
|
-XX:+HeapDumpOnOutOfMemoryError
|
2014-05-20 12:46:19 +02:00
|
|
|
</argLine.common>
|
2015-03-20 01:33:14 +01:00
|
|
|
<!-- Default to ALPN. Then classpath is used to refine selection. See forcenpn profile to force NPN -->
|
2014-12-17 01:08:47 +01:00
|
|
|
<argLine.bootcp>-Xbootclasspath/p:${jetty.alpn.path}</argLine.bootcp>
|
2015-05-29 03:43:18 +02:00
|
|
|
<argLine.leak>-D_</argLine.leak> <!-- Overridden when 'leak' profile is active -->
|
2014-06-27 10:09:18 +02:00
|
|
|
<argLine.coverage>-D_</argLine.coverage> <!-- Overridden when 'coverage' profile is active -->
|
2012-06-13 07:03:57 +02:00
|
|
|
</properties>
|
2013-12-04 11:03:32 +01:00
|
|
|
|
2011-12-28 11:44:04 +01:00
|
|
|
<modules>
|
|
|
|
<module>common</module>
|
|
|
|
<module>buffer</module>
|
|
|
|
<module>codec</module>
|
2014-06-02 17:00:33 +02:00
|
|
|
<module>codec-dns</module>
|
2014-06-21 06:48:13 +02:00
|
|
|
<module>codec-haproxy</module>
|
2011-12-28 11:44:04 +01:00
|
|
|
<module>codec-http</module>
|
2015-01-20 01:48:11 +01:00
|
|
|
<module>codec-http2</module>
|
2013-10-01 15:42:05 +02:00
|
|
|
<module>codec-memcache</module>
|
2014-04-16 23:59:09 +02:00
|
|
|
<module>codec-mqtt</module>
|
2012-11-07 19:54:00 +01:00
|
|
|
<module>codec-socks</module>
|
2014-04-16 23:59:09 +02:00
|
|
|
<module>codec-stomp</module>
|
2014-08-27 11:46:51 +02:00
|
|
|
<module>codec-xml</module>
|
2014-09-19 15:36:32 +02:00
|
|
|
<module>resolver</module>
|
|
|
|
<module>resolver-dns</module>
|
2011-12-28 11:44:04 +01:00
|
|
|
<module>transport</module>
|
2013-01-09 11:40:38 +01:00
|
|
|
<module>transport-rxtx</module>
|
2013-01-01 09:19:00 +01:00
|
|
|
<module>transport-sctp</module>
|
2013-01-07 16:44:41 +01:00
|
|
|
<module>transport-udt</module>
|
2011-12-28 11:44:04 +01:00
|
|
|
<module>handler</module>
|
2014-08-25 10:50:37 +02:00
|
|
|
<module>handler-proxy</module>
|
2011-12-28 11:44:04 +01:00
|
|
|
<module>example</module>
|
|
|
|
<module>testsuite</module>
|
2015-02-14 13:37:01 +01:00
|
|
|
<module>testsuite-osgi</module>
|
2013-02-14 20:27:26 +01:00
|
|
|
<module>microbench</module>
|
2012-06-13 07:03:57 +02:00
|
|
|
<module>all</module>
|
2012-07-10 17:11:10 +02:00
|
|
|
<module>tarball</module>
|
2011-12-28 11:44:04 +01:00
|
|
|
</modules>
|
2011-11-25 22:22:01 +01:00
|
|
|
|
2011-12-28 11:44:04 +01:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2013-04-18 22:57:53 +02:00
|
|
|
<!-- Byte code generator - completely optional -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
2015-02-06 20:52:23 +01:00
|
|
|
<version>3.19.0-GA</version>
|
2013-04-18 22:57:53 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2012-05-16 13:00:49 +02:00
|
|
|
<!-- JBoss Marshalling - completely optional -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.marshalling</groupId>
|
|
|
|
<artifactId>jboss-marshalling</artifactId>
|
|
|
|
<version>${jboss.marshalling.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-05-02 09:31:40 +02:00
|
|
|
|
2014-05-20 12:46:19 +02:00
|
|
|
<!-- SPDY and HTTP/2 - completely optional -->
|
2015-02-24 06:02:02 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.twitter</groupId>
|
|
|
|
<artifactId>hpack</artifactId>
|
2015-09-09 19:05:15 +02:00
|
|
|
<version>v1.0.1</version>
|
2015-02-24 06:02:02 +01:00
|
|
|
</dependency>
|
2014-01-15 12:29:18 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.npn</groupId>
|
|
|
|
<artifactId>npn-api</artifactId>
|
2014-10-04 00:16:04 +02:00
|
|
|
<version>1.1.1.v20141010</version>
|
2014-01-15 12:29:18 +01:00
|
|
|
</dependency>
|
2014-05-20 12:46:19 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty.npn</groupId>
|
|
|
|
<artifactId>npn-boot</artifactId>
|
|
|
|
<version>${jetty.npn.version}</version>
|
|
|
|
</dependency>
|
2014-10-04 00:16:04 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.alpn</groupId>
|
|
|
|
<artifactId>alpn-api</artifactId>
|
2015-05-22 17:34:16 +02:00
|
|
|
<version>1.1.2.v20150522</version>
|
2014-10-04 00:16:04 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty.alpn</groupId>
|
|
|
|
<artifactId>alpn-boot</artifactId>
|
|
|
|
<version>${jetty.alpn.version}</version>
|
|
|
|
</dependency>
|
2014-05-02 09:31:40 +02:00
|
|
|
|
2014-05-17 13:00:21 +02:00
|
|
|
<!-- Google Protocol Buffers - completely optional -->
|
2011-12-28 11:44:04 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2013-03-12 08:25:35 +01:00
|
|
|
<version>2.5.0</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
</dependency>
|
2014-05-17 13:00:21 +02:00
|
|
|
|
2014-05-17 19:26:01 +02:00
|
|
|
<!-- Our own Tomcat Native fork - completely optional, used for acclerating SSL with OpenSSL. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-tcnative</artifactId>
|
2015-08-27 20:25:59 +02:00
|
|
|
<version>1.1.33.Fork6</version>
|
2014-05-17 19:26:01 +02:00
|
|
|
<classifier>${os.detected.classifier}</classifier>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2014-05-17 13:00:21 +02:00
|
|
|
<!--
|
|
|
|
Bouncy Castle - completely optional, only needed when:
|
|
|
|
- you generate a temporary self-signed certificate using SelfSignedCertificate, and
|
|
|
|
- you don't use the JDK which doesn't provide sun.security.x509 package.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
<version>1.50</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2014-08-27 11:46:51 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml</groupId>
|
|
|
|
<artifactId>aalto-xml</artifactId>
|
|
|
|
<version>0.9.9</version>
|
|
|
|
</dependency>
|
|
|
|
|
2013-02-19 12:45:11 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jzlib</artifactId>
|
2015-05-11 16:18:14 +02:00
|
|
|
<version>1.1.3</version>
|
2013-02-19 12:45:11 +01:00
|
|
|
</dependency>
|
2014-07-14 21:10:30 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.ning</groupId>
|
|
|
|
<artifactId>compress-lzf</artifactId>
|
2015-05-11 16:18:14 +02:00
|
|
|
<version>1.0.3</version>
|
2014-07-14 21:10:30 +02:00
|
|
|
</dependency>
|
2014-08-05 21:48:23 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.jpountz.lz4</groupId>
|
|
|
|
<artifactId>lz4</artifactId>
|
2015-05-11 16:18:14 +02:00
|
|
|
<version>1.3.0</version>
|
2014-08-05 21:48:23 +02:00
|
|
|
</dependency>
|
2014-09-15 15:02:27 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.jponge</groupId>
|
|
|
|
<artifactId>lzma-java</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
2009-02-09 02:31:50 +01:00
|
|
|
|
2013-01-09 11:40:38 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.rxtx</groupId>
|
|
|
|
<artifactId>rxtx</artifactId>
|
|
|
|
<version>2.1.7</version>
|
|
|
|
</dependency>
|
|
|
|
|
2013-01-10 07:23:58 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.barchart.udt</groupId>
|
|
|
|
<artifactId>barchart-udt-bundle</artifactId>
|
2013-05-13 16:38:34 +02:00
|
|
|
<version>2.3.0</version>
|
2013-01-10 07:23:58 +01:00
|
|
|
</dependency>
|
|
|
|
|
2011-12-28 11:44:04 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</dependency>
|
2010-01-26 14:15:21 +01:00
|
|
|
|
2011-12-28 11:44:04 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>1.7.5</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>1.1.3</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2012-06-11 14:38:42 +02:00
|
|
|
<version>1.2.17</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jms</artifactId>
|
|
|
|
<groupId>javax.jms</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jmxtools</artifactId>
|
|
|
|
<groupId>com.sun.jdmk</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jmxri</artifactId>
|
|
|
|
<groupId>com.sun.jmx</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2015-02-06 20:52:23 +01:00
|
|
|
|
2012-09-30 22:23:14 +02:00
|
|
|
<!-- Metrics providers -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.yammer.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
2013-01-10 07:23:58 +01:00
|
|
|
<version>2.2.0</version>
|
2012-09-30 22:23:14 +02:00
|
|
|
</dependency>
|
2015-02-06 20:52:23 +01:00
|
|
|
|
2014-01-09 10:43:13 +01:00
|
|
|
<!-- Common test dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2015-03-16 15:26:07 +01:00
|
|
|
<version>4.12</version>
|
2014-01-09 10:43:13 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-12-04 09:53:35 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-01-09 10:43:13 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymockclassextension</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jmock</groupId>
|
|
|
|
<artifactId>jmock-junit4</artifactId>
|
|
|
|
<version>2.6.0</version>
|
|
|
|
<scope>test</scope>
|
2014-12-04 09:53:35 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit-dep</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2014-01-09 10:43:13 +01:00
|
|
|
</dependency>
|
2014-06-17 01:46:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2014-12-04 09:53:35 +01:00
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.10.8</version>
|
2014-06-17 01:46:34 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-01-09 10:43:13 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.0.13</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2012-05-16 13:00:49 +02:00
|
|
|
<!-- Test dependencies for jboss marshalling encoder/decoder -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.marshalling</groupId>
|
|
|
|
<artifactId>jboss-marshalling-serial</artifactId>
|
|
|
|
<version>${jboss.marshalling.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.marshalling</groupId>
|
|
|
|
<artifactId>jboss-marshalling-river</artifactId>
|
|
|
|
<version>${jboss.marshalling.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-12-05 22:11:48 +01:00
|
|
|
|
|
|
|
<!-- Test dependencies for microbench -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.caliper</groupId>
|
|
|
|
<artifactId>caliper</artifactId>
|
|
|
|
<version>0.5-rc1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-04-16 23:59:09 +02:00
|
|
|
|
2015-03-18 13:41:08 +01:00
|
|
|
<!-- Test dependency for Bzip2 compression codec -->
|
2014-06-17 01:46:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2015-05-11 16:18:14 +02:00
|
|
|
<version>1.9</version>
|
2014-06-17 01:46:34 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-12-14 03:59:09 +01:00
|
|
|
|
2014-12-14 13:29:26 +01:00
|
|
|
<!-- Test suite dependency for generating a compressed heap dump file -->
|
2014-12-14 03:59:09 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.tukaani</groupId>
|
|
|
|
<artifactId>xz</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
</dependency>
|
2011-12-28 11:44:04 +01:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
2013-04-18 22:57:53 +02:00
|
|
|
<!-- Enable Javassist support for all test runs -->
|
2013-02-08 13:45:14 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
2013-04-18 22:57:53 +02:00
|
|
|
<scope>test</scope>
|
2013-02-08 13:45:14 +01:00
|
|
|
</dependency>
|
|
|
|
|
2008-09-09 15:42:47 +02:00
|
|
|
<!-- Testing frameworks and related dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2013-01-17 05:55:48 +01:00
|
|
|
<scope>test</scope>
|
2008-09-09 15:42:47 +02:00
|
|
|
</dependency>
|
2014-12-04 09:53:35 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-09-09 15:42:47 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymockclassextension</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2010-12-10 18:43:48 +01:00
|
|
|
<dependency>
|
2011-04-18 10:50:29 +02:00
|
|
|
<groupId>org.jmock</groupId>
|
|
|
|
<artifactId>jmock-junit4</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-12-04 09:53:35 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-09-09 15:42:47 +02:00
|
|
|
<dependency>
|
2013-01-07 16:44:41 +01:00
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2008-09-09 15:42:47 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2008-08-08 02:37:18 +02:00
|
|
|
<build>
|
2014-05-01 12:26:51 +02:00
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
2014-05-26 21:41:58 +02:00
|
|
|
<version>1.2.3.Final</version>
|
2014-05-01 12:26:51 +02:00
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
|
2008-08-08 02:37:18 +02:00
|
|
|
<plugins>
|
2011-02-07 13:16:36 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2011-12-09 04:24:14 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-tools</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2015-03-29 09:58:50 +02:00
|
|
|
<!-- Enforce JDK 1.7+ for compilation. -->
|
|
|
|
<!-- This is needed because of java.util.zip.Deflater and NIO UDP multicast. -->
|
2012-03-02 00:33:39 +01:00
|
|
|
<version>[1.7.0,)</version>
|
2011-12-09 04:24:14 +01:00
|
|
|
</requireJavaVersion>
|
|
|
|
<requireMavenVersion>
|
2014-06-03 20:12:28 +02:00
|
|
|
<version>[3.1.1,)</version>
|
2011-12-09 04:24:14 +01:00
|
|
|
</requireMavenVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2011-02-07 13:16:36 +01:00
|
|
|
</plugin>
|
2008-08-08 02:37:18 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2013-05-17 11:32:27 +02:00
|
|
|
<version>3.1</version>
|
2008-08-08 02:37:18 +02:00
|
|
|
<configuration>
|
2013-01-31 13:02:56 +01:00
|
|
|
<compilerVersion>1.7</compilerVersion>
|
|
|
|
<fork>true</fork>
|
2010-11-12 01:42:43 +01:00
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
2008-08-08 02:37:18 +02:00
|
|
|
<debug>true</debug>
|
|
|
|
<optimize>true</optimize>
|
2011-12-09 04:26:45 +01:00
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
2013-03-22 03:57:15 +01:00
|
|
|
<compilerArgument>-Xlint:-options</compilerArgument>
|
2013-02-14 20:47:03 +01:00
|
|
|
<!-- XXX: maven-release-plugin complains - MRELEASE-715 -->
|
|
|
|
<!--
|
2013-01-31 12:57:58 +01:00
|
|
|
<compilerArguments>
|
2013-02-14 21:56:15 +01:00
|
|
|
<Xlint:-options />
|
|
|
|
<Xlint:unchecked />
|
|
|
|
<Xlint:deprecation />
|
2013-01-31 12:57:58 +01:00
|
|
|
</compilerArguments>
|
2013-02-14 20:47:03 +01:00
|
|
|
-->
|
2013-09-10 18:38:15 +02:00
|
|
|
<meminitial>256m</meminitial>
|
|
|
|
<maxmem>1024m</maxmem>
|
2014-05-20 13:04:41 +02:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/package-info.java</exclude>
|
|
|
|
</excludes>
|
2009-04-03 07:47:12 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-03-02 00:33:39 +01:00
|
|
|
<plugin>
|
|
|
|
<!-- ensure that only methods available in java 1.6 can
|
|
|
|
be used even when compiling with java 1.7+ -->
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
2013-03-22 03:57:15 +01:00
|
|
|
<version>1.9</version>
|
2014-10-04 00:16:04 +02:00
|
|
|
<dependencies>
|
|
|
|
<!-- Upgrade ASM and support Java 8 bytecode -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm-all</artifactId>
|
|
|
|
<version>5.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-03-02 00:33:39 +01:00
|
|
|
<configuration>
|
|
|
|
<signature>
|
|
|
|
<groupId>org.codehaus.mojo.signature</groupId>
|
|
|
|
<artifactId>java16</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</signature>
|
|
|
|
<ignores>
|
|
|
|
<ignore>sun.misc.Unsafe</ignore>
|
2012-07-19 13:23:55 +02:00
|
|
|
<ignore>sun.misc.Cleaner</ignore>
|
2014-01-29 03:55:51 +01:00
|
|
|
<ignore>sun.nio.ch.DirectBuffer</ignore>
|
2012-07-19 13:23:55 +02:00
|
|
|
|
2012-03-02 00:33:39 +01:00
|
|
|
<ignore>java.util.zip.Deflater</ignore>
|
2012-06-13 22:24:32 +02:00
|
|
|
|
2012-04-02 11:57:32 +02:00
|
|
|
<!-- Used for NIO UDP multicast -->
|
|
|
|
<ignore>java.nio.channels.DatagramChannel</ignore>
|
|
|
|
<ignore>java.nio.channels.MembershipKey</ignore>
|
2012-04-03 12:04:33 +02:00
|
|
|
<ignore>java.net.StandardProtocolFamily</ignore>
|
2014-03-13 06:46:05 +01:00
|
|
|
<ignore>java.nio.channels.spi.SelectorProvider</ignore>
|
2014-05-17 13:00:21 +02:00
|
|
|
|
|
|
|
<!-- Self-signed certificate generation -->
|
|
|
|
<ignore>sun.security.x509.AlgorithmId</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateAlgorithmId</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateIssuerName</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateSerialNumber</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateSubjectName</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateValidity</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateVersion</ignore>
|
|
|
|
<ignore>sun.security.x509.CertificateX509Key</ignore>
|
|
|
|
<ignore>sun.security.x509.X500Name</ignore>
|
|
|
|
<ignore>sun.security.x509.X509CertInfo</ignore>
|
|
|
|
<ignore>sun.security.x509.X509CertImpl</ignore>
|
2014-05-21 10:21:18 +02:00
|
|
|
|
2015-03-13 16:12:37 +01:00
|
|
|
<!-- SSLSession implementation -->
|
2014-05-21 10:21:18 +02:00
|
|
|
<ignore>javax.net.ssl.SSLEngine</ignore>
|
2015-03-13 16:12:37 +01:00
|
|
|
<ignore>javax.net.ssl.X509ExtendedTrustManager</ignore>
|
2015-05-17 19:57:09 +02:00
|
|
|
<ignore>javax.net.ssl.SSLParameters</ignore>
|
|
|
|
<ignore>java.security.AlgorithmConstraints</ignore>
|
2015-04-30 20:10:44 +02:00
|
|
|
|
2015-04-28 14:49:31 +02:00
|
|
|
<ignore>java.util.concurrent.ConcurrentLinkedDeque</ignore>
|
2012-03-02 00:33:39 +01:00
|
|
|
</ignores>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-01-11 12:16:14 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2013-03-22 06:49:37 +01:00
|
|
|
<version>2.10</version>
|
2012-01-11 12:16:14 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-style</id>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<configuration>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<logViolationsToConsole>true</logViolationsToConsole>
|
|
|
|
<failsOnError>true</failsOnError>
|
2012-01-11 12:22:54 +01:00
|
|
|
<failOnViolation>true</failOnViolation>
|
2012-01-11 12:16:14 +01:00
|
|
|
<configLocation>io/netty/checkstyle.xml</configLocation>
|
2013-03-27 08:31:43 +01:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2012-01-11 12:16:14 +01:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-build</artifactId>
|
2014-05-23 09:46:31 +02:00
|
|
|
<version>21</version>
|
2012-01-11 12:16:14 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2014-05-20 12:46:19 +02:00
|
|
|
<!-- Download the npn-boot.jar in advance to add it to the boot classpath. -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-npn-boot</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>get</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<groupId>org.mortbay.jetty.npn</groupId>
|
|
|
|
<artifactId>npn-boot</artifactId>
|
|
|
|
<version>${jetty.npn.version}</version>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-03-20 01:33:14 +01:00
|
|
|
<execution>
|
|
|
|
<id>get-alpn-boot</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>get</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<groupId>org.mortbay.jetty.alpn</groupId>
|
|
|
|
<artifactId>alpn-boot</artifactId>
|
|
|
|
<version>${jetty.alpn.version}</version>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2014-05-20 12:46:19 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-02-28 19:38:45 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-12-05 22:11:48 +01:00
|
|
|
<includes>
|
|
|
|
<include>**/*Test*.java</include>
|
|
|
|
<include>**/*Benchmark*.java</include>
|
|
|
|
</includes>
|
2012-02-28 19:38:45 +01:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/Abstract*</exclude>
|
|
|
|
<exclude>**/TestUtil*</exclude>
|
|
|
|
</excludes>
|
|
|
|
<runOrder>random</runOrder>
|
2014-05-20 15:37:55 +02:00
|
|
|
<argLine>${argLine.common} ${argLine.bootcp} ${argLine.leak} ${argLine.coverage}</argLine>
|
2012-02-28 19:38:45 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-02-14 21:21:30 +01:00
|
|
|
<!-- always produce osgi bundles -->
|
2012-06-13 03:43:16 +02:00
|
|
|
<plugin>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
2013-11-26 12:27:58 +01:00
|
|
|
<version>2.4.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-manifest</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-02-15 22:26:36 +01:00
|
|
|
<supportedProjectTypes>
|
|
|
|
<supportedProjectType>jar</supportedProjectType>
|
|
|
|
<supportedProjectType>bundle</supportedProjectType>
|
|
|
|
</supportedProjectTypes>
|
2013-11-26 12:27:58 +01:00
|
|
|
<instructions>
|
|
|
|
<Export-Package>${project.groupId}.*</Export-Package>
|
|
|
|
<!-- enforce JVM vendor package as optional -->
|
2015-02-13 17:33:18 +01:00
|
|
|
<Import-Package>sun.misc.*;resolution:=optional,sun.nio.ch;resolution:=optional,sun.security.*;resolution:=optional,org.eclipse.jetty.npn;version="[1,2)";resolution:=optional,org.eclipse.jetty.alpn;version="[1,2)";resolution:=optional,*</Import-Package>
|
2013-11-26 12:27:58 +01:00
|
|
|
<!-- override "internal" private package convention -->
|
|
|
|
<Private-Package>!*</Private-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-02-06 20:52:23 +01:00
|
|
|
</plugin>
|
2015-07-29 16:22:13 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>parse-version</id>
|
|
|
|
<goals>
|
|
|
|
<goal>parse-version</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2013-05-13 09:03:00 +02:00
|
|
|
<plugin>
|
2012-06-13 03:43:16 +02:00
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2013-03-22 03:57:15 +01:00
|
|
|
<version>2.2.1</version>
|
2015-07-29 16:22:13 +02:00
|
|
|
<!-- Eclipse-related OSGi manifests
|
|
|
|
See https://github.com/netty/netty/issues/3886
|
|
|
|
More information: http://rajakannappan.blogspot.ie/2010/03/automating-eclipse-source-bundle.html -->
|
2014-01-20 14:41:40 +01:00
|
|
|
<configuration>
|
2015-07-29 16:22:13 +02:00
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
|
|
|
<Bundle-Name>${name}</Bundle-Name>
|
|
|
|
<Bundle-SymbolicName>${groupId}.${artifactId}.source</Bundle-SymbolicName>
|
|
|
|
<Bundle-Vendor>${organization.name}</Bundle-Vendor>
|
|
|
|
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
|
|
|
<Eclipse-SourceBundle>${groupId}.${artifactId};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
2014-01-20 14:41:40 +01:00
|
|
|
</configuration>
|
2015-07-29 16:22:13 +02:00
|
|
|
|
2012-06-13 03:43:16 +02:00
|
|
|
<executions>
|
2013-05-13 09:03:00 +02:00
|
|
|
<!--
|
|
|
|
~ This workaround prevents Maven from executing the 'generate-sources' phase twice.
|
|
|
|
~ See http://jira.codehaus.org/browse/MSOURCES-13
|
|
|
|
~ and http://blog.peterlynch.ca/2010/05/maven-how-to-prevent-generate-sources.html
|
|
|
|
-->
|
2012-06-13 03:43:16 +02:00
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
2013-05-13 09:03:00 +02:00
|
|
|
<phase>invalid</phase>
|
2012-06-13 03:43:16 +02:00
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2013-05-13 09:03:00 +02:00
|
|
|
<execution>
|
|
|
|
<id>attach-sources-no-fork</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2012-06-13 03:43:16 +02:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-07-10 17:23:17 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2013-07-12 14:07:10 +02:00
|
|
|
<version>2.9.1</version>
|
2012-07-10 17:33:53 +02:00
|
|
|
<configuration>
|
|
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
2012-08-21 08:37:04 +02:00
|
|
|
<breakiterator>true</breakiterator>
|
|
|
|
<version>false</version>
|
|
|
|
<author>false</author>
|
|
|
|
<keywords>true</keywords>
|
2012-07-10 17:33:53 +02:00
|
|
|
</configuration>
|
2012-07-10 17:23:17 +02:00
|
|
|
</plugin>
|
2012-08-21 07:35:48 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<configuration>
|
|
|
|
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-06-13 06:42:51 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2013-12-22 13:47:35 +01:00
|
|
|
<version>2.4.2</version>
|
2012-06-13 06:42:51 +02:00
|
|
|
<configuration>
|
2012-07-10 17:00:36 +02:00
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
2014-05-03 10:28:28 +02:00
|
|
|
<arguments>-P restricted-release,sonatype-oss-release,full</arguments>
|
2012-07-10 16:02:44 +02:00
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
2013-03-19 07:56:20 +01:00
|
|
|
<allowTimestampedSnapshots>false</allowTimestampedSnapshots>
|
2012-07-10 16:04:09 +02:00
|
|
|
<tagNameFormat>netty-@{project.version}</tagNameFormat>
|
2012-06-13 06:42:51 +02:00
|
|
|
</configuration>
|
2013-12-22 13:48:50 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
<artifactId>maven-scm-api</artifactId>
|
|
|
|
<version>1.8.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
<artifactId>maven-scm-provider-gitexe</artifactId>
|
|
|
|
<version>1.8.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-06-13 06:42:51 +02:00
|
|
|
</plugin>
|
2013-11-26 12:27:58 +01:00
|
|
|
|
|
|
|
<!-- Ensure to put maven-antrun-plugin at the end of the plugin list
|
|
|
|
so that they are run lastly in the same phase. -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Generate the version properties for all artifacts. -->
|
|
|
|
<execution>
|
|
|
|
<id>write-version-properties</id>
|
|
|
|
<phase>initialize</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" />
|
|
|
|
|
|
|
|
<!-- Get the information about the latest commit -->
|
2014-08-15 02:30:59 +02:00
|
|
|
<exec executable="git" outputproperty="gitOutput.lastCommit" resultproperty="gitExitCode.lastCommit" failonerror="false" failifexecutionfails="false">
|
2013-11-26 12:27:58 +01:00
|
|
|
<arg value="log" />
|
|
|
|
<arg value="-1" />
|
2014-08-14 00:41:42 +02:00
|
|
|
<arg value="--format=format:%h %H %cd" />
|
2013-11-26 12:27:58 +01:00
|
|
|
<arg value="--date=iso" />
|
|
|
|
</exec>
|
2014-08-15 02:30:59 +02:00
|
|
|
<propertyregex property="shortCommitHash" input="${gitOutput.lastCommit}" regexp="^([0-9a-f]+) .*$" select="\1" casesensitive="true" defaultValue="0" />
|
|
|
|
<propertyregex property="longCommitHash" input="${gitOutput.lastCommit}" regexp="^[0-9a-f]+ ([0-9a-f]{40}) .*$" select="\1" casesensitive="true" defaultValue="0000000000000000000000000000000000000000" />
|
|
|
|
<propertyregex property="commitDate" input="${gitOutput.lastCommit}" regexp="^[0-9a-f]+ [0-9a-f]{40} (.*)$" select="\1" casesensitive="true" defaultValue="1970-01-01 00:00:00 +0000" />
|
2014-08-14 00:41:42 +02:00
|
|
|
|
|
|
|
<!-- Get the information abount whether the repository is clean or dirty -->
|
2014-08-15 02:30:59 +02:00
|
|
|
<exec executable="git" outputproperty="gitOutput.repoStatus" resultproperty="gitExitCode.repoStatus" failonerror="false" failifexecutionfails="false">
|
2013-11-26 12:27:58 +01:00
|
|
|
<arg value="status" />
|
|
|
|
<arg value="--porcelain" />
|
|
|
|
</exec>
|
|
|
|
<if>
|
|
|
|
<equals arg2="0" arg1="${gitExitCode.repoStatus}" />
|
|
|
|
<then>
|
|
|
|
<if>
|
|
|
|
<equals arg2="" arg1="${gitOutput.repoStatus}" />
|
|
|
|
<then>
|
|
|
|
<property name="repoStatus" value="clean" />
|
|
|
|
</then>
|
|
|
|
<else>
|
|
|
|
<property name="repoStatus" value="dirty" />
|
|
|
|
</else>
|
|
|
|
</if>
|
|
|
|
</then>
|
|
|
|
<else>
|
|
|
|
<property name="repoStatus" value="unknown" />
|
|
|
|
</else>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<!-- Print the obtained commit information. -->
|
|
|
|
<echo>Current commit: ${shortCommitHash} on ${commitDate}</echo>
|
|
|
|
|
|
|
|
<!-- Generate the .properties file. -->
|
|
|
|
<!--
|
2013-11-28 15:04:46 +01:00
|
|
|
<property name="metaInfDir" value="${project.basedir}/src/main/resources/META-INF" />
|
2013-11-26 12:27:58 +01:00
|
|
|
-->
|
2013-11-28 15:04:46 +01:00
|
|
|
<property name="metaInfDir" value="${project.build.outputDirectory}/META-INF" />
|
2013-11-26 12:27:58 +01:00
|
|
|
<property name="versionPropFile" value="${metaInfDir}/${project.groupId}.versions.properties" />
|
|
|
|
<mkdir dir="${metaInfDir}" />
|
2013-11-28 15:04:46 +01:00
|
|
|
<delete file="${versionPropFile}" quiet="true" />
|
2013-11-26 12:27:58 +01:00
|
|
|
|
2013-11-28 15:04:46 +01:00
|
|
|
<propertyfile file="${versionPropFile}" comment="Generated by netty-parent/pom.xml">
|
|
|
|
<entry key="${project.artifactId}.version" value="${project.version}" />
|
|
|
|
<entry key="${project.artifactId}.buildDate" type="date" value="now" pattern="yyyy-MM-dd HH:mm:ss Z" />
|
|
|
|
<entry key="${project.artifactId}.commitDate" value="${commitDate}" />
|
|
|
|
<entry key="${project.artifactId}.shortCommitHash" value="${shortCommitHash}" />
|
|
|
|
<entry key="${project.artifactId}.longCommitHash" value="${longCommitHash}" />
|
|
|
|
<entry key="${project.artifactId}.repoStatus" value="${repoStatus}" />
|
2013-11-26 12:27:58 +01:00
|
|
|
</propertyfile>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
<version>1.8.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-launcher</artifactId>
|
|
|
|
<version>1.8.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ant-contrib</groupId>
|
|
|
|
<artifactId>ant-contrib</artifactId>
|
|
|
|
<version>1.0b3</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2008-08-08 02:37:18 +02:00
|
|
|
</plugins>
|
2012-02-07 07:30:41 +01:00
|
|
|
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2014-05-02 09:31:40 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Provides the 'requireFilesContent' enforcer rule. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ceilfors.maven.plugin</groupId>
|
|
|
|
<artifactId>enforcer-rules</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2013-02-06 07:57:11 +01:00
|
|
|
<!-- keep surefire and failsafe in sync -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>2.15</version>
|
2013-02-06 07:57:11 +01:00
|
|
|
</plugin>
|
|
|
|
<!-- keep surefire and failsafe in sync -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>2.15</version>
|
2013-02-06 07:57:11 +01:00
|
|
|
</plugin>
|
2012-09-28 10:45:40 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2013-03-22 03:57:15 +01:00
|
|
|
<version>2.6</version>
|
2012-09-28 10:45:40 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2014-07-06 09:52:20 +02:00
|
|
|
<version>2.5</version>
|
2013-11-26 12:27:58 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<index>true</index>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-09-28 10:45:40 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>2.8</version>
|
2012-09-28 10:45:40 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2013-03-22 03:57:15 +01:00
|
|
|
<version>2.4</version>
|
2012-09-28 10:45:40 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-06-13 09:56:50 +02:00
|
|
|
<!-- Do NOT upgrade -->
|
2012-09-28 10:45:40 +02:00
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2012-12-05 22:11:48 +01:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2012-09-28 10:45:40 +02:00
|
|
|
<version>1.7</version>
|
2012-12-05 22:11:48 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ant-contrib</groupId>
|
|
|
|
<artifactId>ant-contrib</artifactId>
|
|
|
|
<version>1.0b3</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-09-28 10:45:40 +02:00
|
|
|
</plugin>
|
2012-11-11 22:35:56 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2013-06-13 09:56:50 +02:00
|
|
|
<version>1.8</version>
|
2015-02-06 20:52:23 +01:00
|
|
|
</plugin>
|
2014-05-01 12:26:51 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.fusesource.hawtjni</groupId>
|
|
|
|
<artifactId>maven-hawtjni-plugin</artifactId>
|
|
|
|
<version>1.10</version>
|
|
|
|
</plugin>
|
2014-05-23 13:03:14 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0.Final</version>
|
|
|
|
</plugin>
|
2012-09-28 10:45:40 +02:00
|
|
|
|
|
|
|
<!-- Workaround for the 'M2E plugin execution not covered' problem.
|
|
|
|
See: http://wiki.eclipse.org/M2E_plugin_execution_not_covered -->
|
2012-02-07 07:30:41 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
2013-11-24 13:40:47 +01:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<versionRange>[1.7,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-08-15 02:30:59 +02:00
|
|
|
<ignore />
|
2013-11-24 13:40:47 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2012-02-07 07:30:41 +01:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<versionRange>[1.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-08-15 02:30:59 +02:00
|
|
|
<ignore />
|
2012-06-11 14:38:42 +02:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<versionRange>[1.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-08-15 02:30:59 +02:00
|
|
|
<ignore />
|
2012-02-07 07:30:41 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2012-08-08 09:30:04 +02:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<versionRange>[1.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-08-15 02:30:59 +02:00
|
|
|
<ignore />
|
2012-08-08 09:30:04 +02:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2013-11-27 10:54:51 +01:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<versionRange>[2.4,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-08-15 02:30:59 +02:00
|
|
|
<ignore />
|
2013-11-27 10:54:51 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-05-12 14:35:13 +02:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.fusesource.hawtjni</groupId>
|
|
|
|
<artifactId>maven-hawtjni-plugin</artifactId>
|
|
|
|
<versionRange>[1.10,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-07-04 10:25:54 +02:00
|
|
|
<ignore />
|
2014-05-12 14:35:13 +02:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<versionRange>[2.8,)</versionRange>
|
|
|
|
<goals>
|
2014-07-06 09:52:20 +02:00
|
|
|
<goal>get</goal>
|
2014-05-12 14:35:13 +02:00
|
|
|
<goal>copy</goal>
|
2014-07-06 09:52:20 +02:00
|
|
|
<goal>properties</goal>
|
2014-05-12 14:35:13 +02:00
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-07-04 10:25:54 +02:00
|
|
|
<ignore />
|
2014-05-12 14:35:13 +02:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2012-02-07 07:30:41 +01:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2008-08-08 02:37:18 +02:00
|
|
|
</build>
|
2012-11-26 06:53:15 +01:00
|
|
|
</project>
|