2011-12-28 11:44:04 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2012-06-04 22:31:44 +02:00
|
|
|
~ Copyright 2012 The Netty Project
|
2011-12-28 11:44:04 +01:00
|
|
|
~
|
|
|
|
~ The Netty Project licenses this file to you under the Apache License,
|
|
|
|
~ version 2.0 (the "License"); you may not use this file except in compliance
|
|
|
|
~ with the License. You may obtain a copy of the License at:
|
|
|
|
~
|
2012-06-04 22:31:44 +02:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2011-12-28 11:44:04 +01:00
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
~ License for the specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-parent</artifactId>
|
2012-09-28 10:57:40 +02:00
|
|
|
<version>4.0.0.Alpha6-SNAPSHOT</version>
|
2011-12-28 11:44:04 +01:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Netty/All-in-One</name>
|
2012-01-10 04:48:24 +01:00
|
|
|
|
2012-08-21 08:37:04 +02:00
|
|
|
<properties>
|
|
|
|
<quickbuild>true</quickbuild>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>full</id>
|
|
|
|
<properties>
|
|
|
|
<quickbuild>false</quickbuild>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>sonatype-oss-release</id>
|
|
|
|
<properties>
|
|
|
|
<quickbuild>false</quickbuild>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<properties>
|
|
|
|
<quickbuild>false</quickbuild>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2012-01-10 04:48:24 +01:00
|
|
|
<dependencies>
|
2012-09-30 22:23:14 +02:00
|
|
|
<!-- The example depends on (almost) all modules either directly or transitively -->
|
2012-01-10 04:48:24 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-example</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2012-06-13 05:11:11 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2012-09-30 22:23:14 +02:00
|
|
|
<!-- The only module netty-example does NOT depend on -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-metrics-yammer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2012-06-13 05:11:11 +02:00
|
|
|
<!-- Add optional dependencies explicitly to avoid Javadoc warnings and errors. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.marshalling</groupId>
|
|
|
|
<artifactId>jboss-marshalling</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging-spi</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
2012-01-10 04:48:24 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2012-06-13 06:21:48 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
2012-06-13 06:28:18 +02:00
|
|
|
<execution>
|
2012-06-13 10:12:51 +02:00
|
|
|
<id>clean-first</id>
|
2012-06-13 06:21:48 +02:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-01-10 04:48:24 +01:00
|
|
|
<plugin>
|
2012-06-13 03:01:21 +02:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2012-01-10 04:48:24 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2012-06-13 03:43:16 +02:00
|
|
|
<id>unpack-sources</id>
|
2012-07-07 07:22:12 +02:00
|
|
|
<phase>prepare-package</phase>
|
2012-01-10 04:48:24 +01:00
|
|
|
<goals>
|
2012-06-13 03:01:21 +02:00
|
|
|
<goal>unpack-dependencies</goal>
|
2012-01-10 04:48:24 +01:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-06-13 03:43:16 +02:00
|
|
|
<classifier>sources</classifier>
|
2012-06-13 03:01:21 +02:00
|
|
|
<includes>io/netty/**</includes>
|
2012-06-13 11:30:31 +02:00
|
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
2012-06-13 11:47:57 +02:00
|
|
|
<outputDirectory>${project.build.directory}/src</outputDirectory>
|
2012-06-13 03:43:16 +02:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-jars</id>
|
2012-07-07 07:22:12 +02:00
|
|
|
<phase>prepare-package</phase>
|
2012-06-13 03:43:16 +02:00
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>io/netty/**</includes>
|
|
|
|
<excludes>io/netty/example/**</excludes>
|
2012-06-13 05:11:11 +02:00
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
2012-01-10 04:48:24 +01:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-06-13 10:12:51 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
2012-07-07 07:22:12 +02:00
|
|
|
<phase>prepare-package</phase>
|
2012-06-13 10:12:51 +02:00
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>target/src</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-06-13 06:21:48 +02:00
|
|
|
|
2012-06-13 03:01:21 +02:00
|
|
|
<!-- Disable animal sniffer -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- Disable checkstyle -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-style</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-01-10 04:48:24 +01:00
|
|
|
<!-- Disable all plugin executions configured by jar packaging -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-resources</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-testResources</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-compile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-testCompile</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-08-21 08:37:04 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-xref</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jxr</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<skip>${quickbuild}</skip>
|
|
|
|
<inputEncoding>UTF-8</inputEncoding>
|
|
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
|
|
<linkJavadoc>true</linkJavadoc>
|
|
|
|
<destDir>${project.build.directory}/xref</destDir>
|
|
|
|
<javadocDir>${project.build.directory}/api</javadocDir>
|
|
|
|
<docTitle>Netty Source Xref (${project.version})</docTitle>
|
|
|
|
<windowTitle>Netty Source Xref (${project.version})</windowTitle>
|
|
|
|
</configuration>
|
2012-09-23 08:40:37 +02:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-build</artifactId>
|
|
|
|
<version>10</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-08-21 08:37:04 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<skip>${quickbuild}</skip>
|
|
|
|
<excludePackageNames>*.internal,*.example</excludePackageNames>
|
|
|
|
<doclet>org.jboss.apiviz.APIviz</doclet>
|
|
|
|
<docfilessubdirs>true</docfilessubdirs>
|
2012-10-23 20:35:49 +02:00
|
|
|
<docletArtifact>
|
|
|
|
<groupId>org.jboss.apiviz</groupId>
|
|
|
|
<artifactId>apiviz</artifactId>
|
|
|
|
<version>1.3.2.GA</version>
|
|
|
|
</docletArtifact>
|
2012-08-21 08:37:04 +02:00
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
|
|
<outputDirectory>${project.build.directory}/api</outputDirectory>
|
|
|
|
<overview>${basedir}/src/javadoc/overview.html</overview>
|
|
|
|
<doctitle>Netty API Reference (${project.version})</doctitle>
|
|
|
|
<windowtitle>Netty API Reference (${project.version})</windowtitle>
|
|
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
|
|
<additionalparam>
|
|
|
|
-link http://docs.oracle.com/javase/7/docs/api/
|
|
|
|
-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/
|
|
|
|
-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/
|
2012-09-30 22:23:14 +02:00
|
|
|
-link http://metrics.codahale.com/maven/apidocs/
|
2012-06-13 07:03:57 +02:00
|
|
|
|
2012-08-21 08:37:04 +02:00
|
|
|
-group "Low-level data representation" io.netty.buffer*
|
|
|
|
-group "Central interface for all I/O operations" io.netty.channel*
|
|
|
|
-group "Client & Server bootstrapping utilities" io.netty.bootstrap*
|
|
|
|
-group "Reusable I/O event interceptors" io.netty.handler*
|
2012-09-30 22:23:14 +02:00
|
|
|
-group "Miscellaneous" io.netty.logging*:io.netty.util*:io.netty.monitor:io.netty.monitor.spi
|
|
|
|
-group "Yammer monitoring support" io.netty.monitor.yammer*
|
2012-06-13 07:03:57 +02:00
|
|
|
|
2012-08-21 08:37:04 +02:00
|
|
|
-sourceclasspath ${project.build.outputDirectory}
|
|
|
|
-nopackagediagram
|
|
|
|
</additionalparam>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<locale>en_US</locale>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-12-28 11:44:04 +01:00
|
|
|
</project>
|
|
|
|
|