netty5/pom.xml

755 lines
28 KiB
XML
Raw Permalink Normal View History

2009-01-12 12:45:50 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
2012-06-04 22:35:22 +02:00
~ Copyright 2012 The Netty Project
~
~ The Netty Project licenses this file to you under the Apache License,
~ version 2.0 (the "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at:
~
2012-06-04 22:35:22 +02:00
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
~ License for the specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<packaging>bundle</packaging>
<version>3.9.10.Final-SNAPSHOT</version>
<name>Netty</name>
<url>http://netty.io/</url>
<description>
The Netty project is an effort to provide an asynchronous event-driven
network application framework and tools for rapid development of
maintainable high performance and high scalability protocol servers and
clients. In other words, Netty is a NIO client server framework which
enables quick and easy development of network applications such as protocol
servers and clients. It greatly simplifies and streamlines network
2009-03-16 10:18:14 +01:00
programming such as TCP and UDP socket server.
</description>
2011-12-09 06:49:18 +01:00
<organization>
<name>The Netty Project</name>
<url>http://netty.io/</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<inceptionYear>2008</inceptionYear>
<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>
</scm>
2011-12-09 07:22:15 +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>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-tcnative</artifactId>
<version>1.1.30.Fork2</version>
<classifier>windows-x86_64</classifier>
<optional>true</optional>
</dependency>
<!-- 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>
<!-- Google Protocol Buffers - completely optional -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
2013-03-12 13:58:26 +01:00
<version>2.5.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
Provide convenient universal API to enable SSL/TLS Motivation: Although 4cff4b99fd9bcaf256fa62699309e7beff8a136b introduced OpenSslEngine and its helper classes, a user has to write two different copies of SSL initialization code that does pretty much same job, because the initialization procedure between JDK SSLEngine and OpenSslEngine are different. Modifications: - Replace OpenSslContextBuilder with SslContext which provides the unified API for creating an SSL context - SslContext allows you to create a new SSLEngine or a new SslHandler with your PKCS#8 key and X.509 certificate chain. - Merge OpenSslBufferPool into SslBufferPool - Add an option to preallocate the pool - Add an option to allocate direct buffers - When OpenSSL is in use, preallocate direct buffers, which is close to what OpenSslBufferPool does. - Add JdkSslContext which is a simple wrapper of JDK's SSLContext - The specified PKCS#8 key and X.509 certificate chain are converted to JDK KeyStore in instantiation time. - Like OpenSslServerContext, it uses sensible default cipher suites now. - A user does not specify certPath and caPath separately anymore. He or she has to merge them into a single file. I find this more logical because previously ca file's first entry and cert file were always same. - Clean up SSL tests to demonstrate the advantage of this change - AbstractSocketSsl*Test now uses SslContext.new*Context() to configure both the client and the server side. We did this only for the server side previously and had to use different certificates for JDK SSLEngine and OpenSslEngine, but not anymore. - Add ApplicationProtocolSelector to ensure the future support for NPN (NextProtoNego) and ALPN (Application Layer Protocol Negotiation) on the client-side. - Add SimpleTrustManagerFactory to help a user write a TrustManagerFactory easily, which should be useful for those who need to write an alternative verification mechanism. For example, we can use it to implement an unsafe TrustManagerFactory that accepts self-signed certificates for testing purposes. - Add InsecureTrustManagerFactory and FingerprintTrustManager for quick and dirty testing - Add SelfSignedCertificate class which generates a self-signed X.509 certificate very easily. - Update all our examples to use SslContext.newClient/ServerContext() - Found that OpenSslEngine performs unnecessary memory copy - optimized it. - SslHandler now logs the chosen cipher suite when handshake is finished. Result: - Cleaner unified API for configuring an SSL client and an SSL server regardless of its internal implementation. - When native libraries are available, OpenSSL-based SSLEngine implementation is selected automatically to take advantage of its performance benefit. - Examples take advantage of this modification and thus are cleaner.
2014-05-14 14:01:36 +02:00
<!--
Bouncy Castle - completely optional, only needed when:
- you generate a temporary self-signed certificate using KeyUtil, 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>
<!-- Jetty NPN API - completely optional -->
<!-- Used for Next Protocol Negotiation extension support -->
<dependency>
<groupId>org.eclipse.jetty.npn</groupId>
<artifactId>npn-api</artifactId>
<version>1.1.0.v20120525</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- Servlet API - completely optional -->
2010-03-24 05:06:41 +01:00
<!-- Used for HTTP tunneling transport -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
2012-03-30 05:22:56 +02:00
<!-- Example dependencies - completely optional -->
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- IoC/DI containers - completely optional -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<version>1.4.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>1.4.0</version>
<scope>compile</scope>
<optional>true</optional>
2009-01-13 08:33:06 +01:00
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>javax.servlet</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.foundation</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Logging frameworks - completely optional -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.1.4.GA</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<scope>compile</scope>
<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>
<!-- Testing frameworks and related dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.4</version>
<scope>test</scope>
</dependency>
<!-- 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>
</dependencies>
<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<!-- Our Javadoc has poor enough quality to fail the build thanks to JDK8 javadoc which got more strict. -->
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
</properties>
</profile>
</profiles>
<properties>
<attach-distribution>false</attach-distribution>
<jboss.marshalling.version>1.3.14.GA</jboss.marshalling.version>
</properties>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.2.3.Final</version>
</extension>
</extensions>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${basedir}/target/license</directory>
</resource>
</resources>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only.
It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<versionRange>[1.7,)</versionRange>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<versionRange>[2.8,)</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
2011-12-09 04:23:54 +01:00
<id>enforce-tools</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<!-- Enforce java 1.7 as minimum for compiling -->
<!-- This is needed because of the Unsafe detection code
and java.util.zip.Deflater.deflate(). -->
<version>[1.7.0,)</version>
</requireJavaVersion>
2011-12-09 04:23:54 +01:00
<requireMavenVersion>
<version>[3.1.1,)</version>
2011-12-09 04:23:54 +01:00
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<encoding>UTF-8</encoding>
<source>1.5</source>
<target>1.5</target>
<debug>true</debug>
<optimize>true</optimize>
2011-12-09 04:27:00 +01:00
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<!-- ensure that only methods available in java 1.5 can
be used even when compiling with java 1.6+ -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.7</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
2013-01-15 09:24:21 +01:00
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
<ignores>
<ignore>sun.misc.Unsafe</ignore>
<ignore>java.util.zip.Deflater</ignore>
<ignore>java.util.concurrent.LinkedTransferQueue</ignore>
<!-- Used for NIO UDP multicast -->
<ignore>java.nio.channels.DatagramChannel</ignore>
<ignore>java.nio.channels.MembershipKey</ignore>
<ignore>java.net.StandardSocketOptions</ignore>
<ignore>java.net.StandardProtocolFamily</ignore>
<!-- Java Object Serialization -->
<ignore>java.io.ObjectStreamClass</ignore>
2012-12-20 12:34:12 +01:00
<!-- Socks Codec-->
<ignore>java.net.IDN</ignore>
Provide convenient universal API to enable SSL/TLS Motivation: Although 4cff4b99fd9bcaf256fa62699309e7beff8a136b introduced OpenSslEngine and its helper classes, a user has to write two different copies of SSL initialization code that does pretty much same job, because the initialization procedure between JDK SSLEngine and OpenSslEngine are different. Modifications: - Replace OpenSslContextBuilder with SslContext which provides the unified API for creating an SSL context - SslContext allows you to create a new SSLEngine or a new SslHandler with your PKCS#8 key and X.509 certificate chain. - Merge OpenSslBufferPool into SslBufferPool - Add an option to preallocate the pool - Add an option to allocate direct buffers - When OpenSSL is in use, preallocate direct buffers, which is close to what OpenSslBufferPool does. - Add JdkSslContext which is a simple wrapper of JDK's SSLContext - The specified PKCS#8 key and X.509 certificate chain are converted to JDK KeyStore in instantiation time. - Like OpenSslServerContext, it uses sensible default cipher suites now. - A user does not specify certPath and caPath separately anymore. He or she has to merge them into a single file. I find this more logical because previously ca file's first entry and cert file were always same. - Clean up SSL tests to demonstrate the advantage of this change - AbstractSocketSsl*Test now uses SslContext.new*Context() to configure both the client and the server side. We did this only for the server side previously and had to use different certificates for JDK SSLEngine and OpenSslEngine, but not anymore. - Add ApplicationProtocolSelector to ensure the future support for NPN (NextProtoNego) and ALPN (Application Layer Protocol Negotiation) on the client-side. - Add SimpleTrustManagerFactory to help a user write a TrustManagerFactory easily, which should be useful for those who need to write an alternative verification mechanism. For example, we can use it to implement an unsafe TrustManagerFactory that accepts self-signed certificates for testing purposes. - Add InsecureTrustManagerFactory and FingerprintTrustManager for quick and dirty testing - Add SelfSignedCertificate class which generates a self-signed X.509 certificate very easily. - Update all our examples to use SslContext.newClient/ServerContext() - Found that OpenSslEngine performs unnecessary memory copy - optimized it. - SslHandler now logs the chosen cipher suite when handshake is finished. Result: - Cleaner unified API for configuring an SSL client and an SSL server regardless of its internal implementation. - When native libraries are available, OpenSSL-based SSLEngine implementation is selected automatically to take advantage of its performance benefit. - Examples take advantage of this modification and thus are cleaner.
2014-05-14 14:01:36 +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>
<!-- SSLSession implelementation -->
<ignore>javax.net.ssl.SSLEngine</ignore>
</ignores>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<id>copy-legal-info</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/license/META-INF</outputDirectory>
<resources>
<resource>
<directory>${basedir}</directory>
<filtering>false</filtering>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
<include>license/*.txt</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<forkCount>1</forkCount>
<reuseFork>true</reuseFork>
<argLine>-Xmx256m</argLine>
<excludes>
<exclude>**/Abstract*</exclude>
<exclude>**/TestUtil*</exclude>
</excludes>
2012-02-28 19:35:18 +01:00
<runOrder>random</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
2012-01-13 06:26:13 +01:00
<Bundle-SymbolicName>org.jboss.netty</Bundle-SymbolicName>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
<Bundle-Activator>
org.jboss.netty.container.osgi.NettyBundleActivator
</Bundle-Activator>
<Export-Package>
!org.jboss.netty.example.*,
!org.jboss.netty.util.internal.*,
org.jboss.netty.*;version=${project.version}
</Export-Package>
<Private-Package>
org.jboss.netty.example.*,
org.jboss.netty.util.internal.*,
</Private-Package>
<Import-Package>
*;resolution:=optional
</Import-Package>
<Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>
<Bundle-BuddyPolicy>registered</Bundle-BuddyPolicy>
<Main-Class>org.jboss.netty.util.Version</Main-Class>
</instructions>
</configuration>
</plugin>
2010-02-09 04:07:22 +01:00
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
2010-02-09 04:07:22 +01:00
<executions>
<execution>
<id>attach-source</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>write-version</id>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<exec executable="git" outputproperty="gitOutput" resultproperty="gitExitCode" failonerror="false" failifexecutionfails="false">
<arg value="log" />
<arg value="-1" />
<arg value="--format=format:%h" />
</exec>
<if>
<equals arg2="0" arg1="${gitExitCode}" />
<then>
<property name="buildNumber" value="${gitOutput}" />
</then>
<else>
<property name="buildNumber" value="unknown" />
</else>
</if>
<echo>Build number: ${buildNumber}</echo>
2009-08-27 06:07:09 +02:00
<mkdir dir="${project.build.directory}" />
<echo message="${project.version}" file="${project.build.directory}/version.txt" />
<echo message="// DO NOT MODIFY - WILL BE OVERWRITTEN DURING THE BUILD PROCESS${line.separator}package org.jboss.netty.util;${line.separator}/**${line.separator} * Provides the version information of Netty.${line.separator} * @apiviz.landmark${line.separator} */${line.separator}@SuppressWarnings(&quot;all&quot;)${line.separator}public final class Version {${line.separator} /** The version identifier. */${line.separator} public static final String ID = &quot;${project.version}-${buildNumber}&quot;;${line.separator} /** Prints out the version identifier to stdout. */${line.separator} public static void main(String[] args) { System.out.println(ID); }${line.separator} private Version() { }${line.separator}}${line.separator}" file="${basedir}/src/main/java/org/jboss/netty/util/Version.java" />
</target>
</configuration>
</execution>
2010-06-21 10:12:08 +02:00
<execution>
<id>remove-examples</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
2010-06-21 10:12:08 +02:00
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<if>
<or>
<equals arg2="jar" arg1="${project.packaging}" />
<equals arg2="bundle" arg1="${project.packaging}" />
</or>
<then>
<move file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${project.build.finalName}.orig.jar" />
<zip destfile="${project.build.directory}/${project.build.finalName}.jar">
2010-06-21 10:12:08 +02:00
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
<include name="META-INF/MANIFEST.MF" />
</zipfileset>
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
<exclude name="META-INF/MANIFEST.MF" />
2010-06-21 10:12:08 +02:00
<exclude name="*/*/*/example/**" />
</zipfileset>
</zip>
2010-06-21 10:12:08 +02:00
<delete file="${project.build.directory}/${project.build.finalName}.orig.jar" />
<checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="md5" forceoverwrite="yes" />
<checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="sha1" forceoverwrite="yes" />
<move file="${project.build.directory}/${project.build.finalName}-sources.jar" tofile="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
<zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar">
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
<include name="META-INF/MANIFEST.MF" />
</zipfileset>
2010-06-21 10:12:08 +02:00
<zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
<exclude name="META-INF/MANIFEST.MF" />
2010-06-21 10:12:08 +02:00
<exclude name="*/*/*/example/**" />
</zipfileset>
</zip>
2010-06-21 10:12:08 +02:00
<delete file="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
<checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="md5" forceoverwrite="yes" />
<checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="sha1" forceoverwrite="yes" />
</then>
</if>
</target>
2010-06-21 10:12:08 +02:00
</configuration>
</execution>
</executions>
<dependencies>
2009-01-13 03:30:44 +01:00
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.2</version>
2009-01-13 03:30:44 +01:00
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.8.2</version>
2009-01-13 03:30:44 +01:00
</dependency>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
2009-07-15 13:04:51 +02:00
<version>1.0b3</version>
2009-01-13 03:30:44 +01:00
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
2011-12-09 10:39:05 +01:00
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
2011-12-09 10:39:05 +01:00
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>true</attach>
2010-02-09 04:06:05 +01:00
<javadocDirectory>${basedir}/src/javadoc</javadocDirectory>
<docfilessubdirs>true</docfilessubdirs>
2009-01-13 03:30:44 +01:00
<outputDirectory>${project.build.directory}/api</outputDirectory>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<breakiterator>true</breakiterator>
2011-12-09 06:43:39 +01:00
<version>false</version>
<author>false</author>
2009-01-13 03:30:44 +01:00
<keywords>true</keywords>
<overview>${basedir}/src/javadoc/overview.html</overview>
<doctitle>${project.name} API Reference (${project.version})</doctitle>
<windowtitle>${project.name} API Reference (${project.version})</windowtitle>
<additionalparam>
-link http://docs.oracle.com/javase/7/docs/api/
2009-01-12 13:09:18 +01:00
-link http://code.google.com/apis/protocolbuffers/docs/reference/java/
-link http://docs.oracle.com/javaee/6/api/
-link http://www.osgi.org/javadoc/r4v43/core/
2009-01-12 13:09:18 +01:00
-link http://www.slf4j.org/apidocs/
-link http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/
-link http://logging.apache.org/log4j/1.2/apidocs/
-group "Low-level data representation" org.jboss.netty.buffer*
-group "Central interface for all I/O operations" org.jboss.netty.channel*
-group "Client &amp; Server bootstrapping utilities" org.jboss.netty.bootstrap*
-group "Reusable I/O event interceptors" org.jboss.netty.handler*
-group "Miscellaneous" org.jboss.netty.logging*:org.jboss.netty.util*
2008-09-09 15:26:15 +02:00
</additionalparam>
<encoding>UTF-8</encoding>
<locale>en_US</locale>
<excludePackageNames>org.jboss.netty.example*:org.jboss.netty.container*:org.jboss.netty.util.internal*</excludePackageNames>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
2011-11-24 04:16:31 +01:00
<version>2.2</version>
<executions>
<execution>
<id>generate-xref</id>
<phase>package</phase>
<goals>
<goal>jxr</goal>
</goals>
</execution>
</executions>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<linkJavadoc>true</linkJavadoc>
<destDir>${project.build.directory}/xref</destDir>
<javadocDir>${project.build.directory}/api</javadocDir>
<docTitle>${project.name} Source Xref (${project.version})</docTitle>
<windowTitle>${project.name} Source Xref (${project.version})</windowTitle>
</configuration>
2008-08-25 07:26:54 +02:00
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>generate-distribution</id>
<phase>package</phase>
<goals>
2009-01-13 03:30:44 +01:00
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>${basedir}/src/assembly/default.xml</descriptor>
</descriptors>
<attach>${attach-distribution}</attach>
<appendAssemblyId>true</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
2012-01-17 10:36:36 +01:00
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
2012-12-03 12:51:25 +01:00
<version>2.9.1</version>
2012-01-17 10:36:36 +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>
<failOnViolation>true</failOnViolation>
<configLocation>io/netty/checkstyle.xml</configLocation>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-build</artifactId>
<version>21</version>
2012-01-17 10:36:36 +01:00
</dependency>
</dependencies>
</plugin>
<!-- run-example.sh invokes this plugin to launch an example. -->
<plugin>
<groupId>kr.motd.maven</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.0.0.Final</version>
<configuration>
<executable>${java.home}/bin/java</executable>
<commandlineArgs>
-classpath %classpath
${argLine.example}
${exampleClass}
</commandlineArgs>
</configuration>
</plugin>
</plugins>
</build>
2008-10-07 15:08:41 +02:00
</project>