2009-01-12 12:45:50 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2011-10-23 05:53:19 +02:00
<!--
2009-08-28 09:15:49 +02:00
* Copyright 2009 Red Hat, Inc.
2009-01-12 12:45:50 +01:00
*
2009-08-28 09:15:49 +02:00
* Red Hat 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:
2009-01-12 12:45:50 +01:00
*
2009-08-28 09:15:49 +02:00
* http://www.apache.org/licenses/LICENSE-2.0
2009-01-12 12:45:50 +01:00
*
2009-08-28 09:15:49 +02: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-12 12:45:50 +01:00
-->
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 >
<groupId > org.jboss</groupId>
<artifactId > jboss-parent</artifactId>
<version > 5</version>
</parent>
2008-08-08 02:37:18 +02:00
<groupId > org.jboss.netty</groupId>
<artifactId > netty</artifactId>
<packaging > bundle</packaging>
2010-06-30 07:31:48 +02:00
<version > 4.0.0.Alpha1-SNAPSHOT</version>
2008-09-09 15:42:47 +02:00
<name > The Netty Project</name>
2008-08-08 02:37:18 +02:00
<url > http://www.jboss.org/netty/</url>
2008-09-09 15:42:47 +02:00
<description >
2009-01-14 01:53:19 +01:00
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.
2008-09-09 15:42:47 +02:00
</description>
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>
2008-08-08 02:37:18 +02:00
</scm>
2008-09-09 15:42:47 +02:00
<dependencies >
2008-12-30 03:15:17 +01:00
<!-- Google Protocol Buffers - completely optional -->
<dependency >
<groupId > com.google.protobuf</groupId>
<artifactId > protobuf-java</artifactId>
2010-02-19 01:14:25 +01:00
<version > 2.3.0</version>
2008-12-30 03:15:17 +01:00
<scope > compile</scope>
<optional > true</optional>
</dependency>
2011-02-24 09:26:18 +01:00
<!-- RXTX - completely optional -->
<!-- Used for serial port communication transport -->
<dependency >
<groupId > org.rxtx</groupId>
<artifactId > rxtx</artifactId>
<version > 2.1.7</version>
<scope > compile</scope>
<optional > true</optional>
</dependency>
2009-02-09 02:31:50 +01:00
<!-- Servlet API - completely optional -->
2010-03-24 05:06:41 +01:00
<!-- Used for HTTP tunneling transport -->
2009-02-09 02:31:50 +01:00
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > servlet-api</artifactId>
<version > 2.5</version>
<scope > compile</scope>
<optional > true</optional>
</dependency>
2009-01-08 06:24:27 +01:00
<!-- IoC/DI containers - completely optional -->
<dependency >
<groupId > org.apache.felix</groupId>
<artifactId > org.osgi.core</artifactId>
2009-11-16 15:55:52 +01:00
<version > 1.4.0</version>
2009-01-08 06:24:27 +01:00
<scope > compile</scope>
<optional > true</optional>
</dependency>
2009-01-12 11:20:44 +01:00
<dependency >
<groupId > org.apache.felix</groupId>
<artifactId > org.osgi.compendium</artifactId>
2009-11-16 15:55:52 +01:00
<version > 1.4.0</version>
2009-01-12 11:20:44 +01:00
<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>
2009-01-12 11:20:44 +01:00
</dependency>
2010-01-26 14:15:21 +01:00
2008-09-09 15:42:47 +02:00
<!-- Logging frameworks - completely optional -->
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
2011-02-07 13:05:49 +01:00
<version > 1.6.1</version>
2008-09-09 15:42:47 +02:00
<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-spi</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.1.2.GA</version>
2008-09-09 15:42:47 +02:00
<scope > compile</scope>
<optional > true</optional>
</dependency>
<dependency >
<groupId > log4j</groupId>
<artifactId > log4j</artifactId>
2010-04-30 13:07:17 +02:00
<version > 1.2.16</version>
2008-09-09 15:42:47 +02:00
<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>
2011-02-07 13:05:49 +01:00
<version > 4.8.2</version>
2008-09-09 15:42:47 +02:00
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.easymock</groupId>
<artifactId > easymock</artifactId>
2009-11-16 15:55:52 +01:00
<version > 2.5.2</version>
2008-09-09 15:42:47 +02:00
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.easymock</groupId>
<artifactId > easymockclassextension</artifactId>
2010-01-26 11:49:01 +01:00
<version > 2.5.2</version>
2008-09-09 15:42:47 +02:00
<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>
<version > 2.5.1</version>
<scope > test</scope>
</dependency>
2008-09-09 15:42:47 +02:00
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-simple</artifactId>
2011-02-07 13:05:49 +01:00
<version > 1.6.1</version>
2008-09-09 15:42:47 +02:00
<scope > test</scope>
</dependency>
</dependencies>
2009-03-14 17:45:20 +01:00
<properties >
2011-02-07 13:16:36 +01:00
<jdk.min.version > 1.6</jdk.min.version>
<maven.min.version > 2.2.1</maven.min.version>
2009-03-14 17:45:20 +01:00
<attach-distribution > false</attach-distribution>
</properties>
2008-08-08 02:37:18 +02:00
<build >
2010-04-30 14:27:41 +02:00
<resources >
<resource >
<directory > ${basedir}/src/main/resources</directory>
</resource>
<resource >
<directory > ${basedir}/target/license</directory>
</resource>
</resources>
2008-08-08 02:37:18 +02:00
<plugins >
2011-02-07 13:16:36 +01:00
<plugin >
<!-- See org.jboss:jboss - parent -->
<artifactId > maven-enforcer-plugin</artifactId>
<version > 1.0</version>
</plugin>
2008-08-08 02:37:18 +02:00
<plugin >
<artifactId > maven-compiler-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.3.2</version>
2008-08-08 02:37:18 +02:00
<configuration >
<encoding > UTF-8</encoding>
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>
<showDeprecations > true</showDeprecations>
</configuration>
</plugin>
2010-04-30 13:07:17 +02:00
<plugin >
<artifactId > maven-resources-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.4.3</version>
2010-04-30 13:07:17 +02:00
<configuration >
<encoding > UTF-8</encoding>
</configuration>
<executions >
<execution >
<id > copy-legal-info</id>
<phase > validate</phase>
<goals >
<goal > copy-resources</goal>
</goals>
<configuration >
2010-04-30 14:27:41 +02:00
<outputDirectory > ${basedir}/target/license/META-INF</outputDirectory>
2010-04-30 13:07:17 +02:00
<resources >
<resource >
<directory > ${basedir}</directory>
<filtering > false</filtering>
<includes >
<include > COPYRIGHT.txt</include>
<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>
2011-02-07 13:05:49 +01:00
<version > 2.7.2</version>
2010-04-30 13:07:17 +02:00
<configuration >
2010-12-10 18:43:48 +01:00
<forkMode > once</forkMode>
2010-04-30 13:07:17 +02:00
<excludes >
<exclude > **/Abstract*</exclude>
<exclude > **/TestUtil*</exclude>
</excludes>
</configuration>
</plugin>
2008-08-08 02:37:18 +02:00
<plugin >
<groupId > org.apache.felix</groupId>
<artifactId > maven-bundle-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.3.4</version>
2008-08-08 02:37:18 +02:00
<extensions > true</extensions>
<configuration >
<instructions >
<Bundle-SymbolicName > ${project.groupId}</Bundle-SymbolicName>
2008-08-13 10:07:17 +02:00
<Bundle-DocURL > ${project.url}</Bundle-DocURL>
2009-01-08 11:50:42 +01:00
<Bundle-Activator >
2009-01-08 12:16:14 +01:00
${project.groupId}.container.osgi.NettyBundleActivator
2009-01-08 11:50:42 +01:00
</Bundle-Activator>
<Export-Package >
!${project.groupId}.example.*,
2009-04-23 07:26:19 +02:00
!${project.groupId}.util.internal.*,
2009-01-12 13:09:18 +01:00
${project.groupId}.*;version=${project.version}
2009-01-08 11:50:42 +01:00
</Export-Package>
<Private-Package >
${project.groupId}.example.*,
2009-04-23 07:26:19 +02:00
${project.groupId}.util.internal.*,
2009-01-08 11:50:42 +01:00
</Private-Package>
<Import-Package >
*;resolution:=optional
</Import-Package>
2011-01-12 10:32:33 +01:00
<Eclipse-BuddyPolicy > registered</Eclipse-BuddyPolicy>
<Bundle-BuddyPolicy > registered</Bundle-BuddyPolicy>
2011-02-02 05:16:09 +01:00
<Main-Class > ${project.groupId}.util.Version</Main-Class>
2008-08-08 02:37:18 +02:00
</instructions>
</configuration>
</plugin>
2010-02-09 04:07:22 +01:00
<plugin >
<artifactId > maven-source-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<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>
2008-09-16 10:58:41 +02:00
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 1.6</version>
2008-09-16 10:58:41 +02:00
<executions >
<execution >
<id > write-version</id>
2009-08-27 05:44:57 +02:00
<phase > validate</phase>
2008-09-16 10:58:41 +02:00
<goals >
<goal > run</goal>
</goals>
<configuration >
<tasks >
2011-01-12 10:59:09 +01:00
<taskdef resource= "net/sf/antcontrib/antlib.xml" />
<exec executable= "git" outputproperty= "gitOutput" resultproperty= "gitExitCode" failonerror= "false" failifexecutionfails= "false" >
2011-01-11 10:17:45 +01:00
<arg value= "log" />
<arg value= "-1" />
<arg value= "--format=format:%h" />
</exec>
2011-01-12 10:59:09 +01:00
<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}" />
2011-01-11 10:17:45 +01:00
<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}public final class Version {${line.separator} /** The version identifier. */${line.separator} public static final String ID = "${project.version}-${buildNumber}";${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() { super(); }${line.separator}}${line.separator}" file= "${basedir}/src/main/java/org/jboss/netty/util/Version.java" />
2008-09-16 10:58:41 +02:00
</tasks>
</configuration>
</execution>
2010-06-21 10:12:08 +02:00
<execution >
<id > remove-examples</id>
<phase > package</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<tasks >
<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" />
2011-01-11 10:17:45 +01:00
<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" >
2011-01-11 10:17:45 +01:00
<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>
2011-01-11 10:17:45 +01:00
</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" />
2011-01-11 10:17:45 +01:00
<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" >
2011-01-11 10:17:45 +01:00
<exclude name= "META-INF/MANIFEST.MF" />
2010-06-21 10:12:08 +02:00
<exclude name= "*/*/*/example/**" />
</zipfileset>
2011-01-11 10:17:45 +01:00
</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>
</tasks>
</configuration>
</execution>
2008-09-16 10:58:41 +02:00
</executions>
<dependencies >
2009-01-13 03:30:44 +01:00
<dependency >
<groupId > org.apache.ant</groupId>
<artifactId > ant</artifactId>
2011-02-07 13:05:49 +01:00
<version > 1.8.2</version>
2009-01-13 03:30:44 +01:00
</dependency>
<dependency >
<groupId > org.apache.ant</groupId>
<artifactId > ant-launcher</artifactId>
2011-02-07 13:05:49 +01:00
<version > 1.8.2</version>
2009-01-13 03:30:44 +01:00
</dependency>
2008-09-16 10:58:41 +02:00
<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>
2008-09-16 10:58:41 +02:00
</dependency>
</dependencies>
</plugin>
2008-08-08 02:37:18 +02:00
<plugin >
<artifactId > maven-javadoc-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.7</version>
2008-08-08 02:37:18 +02:00
<executions >
<execution >
2008-09-16 10:58:41 +02:00
<id > generate-javadoc</id>
2008-08-08 02:37:18 +02:00
<phase > package</phase>
<goals >
2008-09-16 10:58:41 +02:00
<goal > javadoc</goal>
2008-08-08 02:37:18 +02:00
</goals>
</execution>
</executions>
<configuration >
2008-09-05 14:21:57 +02:00
<doclet > org.jboss.apiviz.APIviz</doclet>
2008-08-08 02:37:18 +02:00
<docletArtifact >
2008-09-05 14:21:57 +02:00
<groupId > org.jboss.apiviz</groupId>
2008-08-08 02:37:18 +02:00
<artifactId > apiviz</artifactId>
2010-03-04 10:42:27 +01:00
<version > 1.3.1.GA</version>
2008-08-08 02:37:18 +02:00
</docletArtifact>
2008-09-16 10:58:41 +02:00
<attach > false</attach>
2009-06-18 11:54:59 +02:00
<stylesheetfile > ${basedir}/src/javadoc/stylesheet.css</stylesheetfile>
2010-02-09 04:06:05 +01:00
<javadocDirectory > ${basedir}/src/javadoc</javadocDirectory>
<docfilessubdirs > true</docfilessubdirs>
2009-01-13 03:30:44 +01:00
<useStandardDocletOptions > true</useStandardDocletOptions>
<outputDirectory > ${project.build.directory}/api</outputDirectory>
<reportOutputDirectory > ${project.build.directory}/api</reportOutputDirectory>
<destDir > api</destDir>
<charset > UTF-8</charset>
<docencoding > UTF-8</docencoding>
<breakiterator > true</breakiterator>
<version > true</version>
<author > true</author>
<keywords > true</keywords>
<overview > ${basedir}/src/javadoc/overview.html</overview>
2011-01-11 10:17:45 +01:00
<doctitle > ${project.name} API Reference (${project.version})</doctitle>
<windowtitle > ${project.name} API Reference (${project.version})</windowtitle>
2008-09-09 05:52:17 +02:00
<additionalparam >
2008-08-08 02:37:18 +02:00
-link http://java.sun.com/javase/6/docs/api/
2009-01-12 13:09:18 +01:00
-link http://code.google.com/apis/protocolbuffers/docs/reference/java/
2009-02-09 09:40:38 +01:00
-link http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/
2009-01-12 13:09:18 +01:00
-link http://www.osgi.org/javadoc/r4v41/
-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/
2008-08-08 02:37:18 +02:00
-group "Low-level data representation" ${project.groupId}.buffer*
2009-01-08 06:48:10 +01:00
-group "Central interface for all I/O operations" ${project.groupId}.channel*
2008-12-03 11:08:43 +01:00
-group "Client & Server bootstrapping utilities" ${project.groupId}.bootstrap*
2008-08-08 02:37:18 +02:00
-group "Reusable I/O event interceptors" ${project.groupId}.handler*
2009-04-03 09:41:54 +02:00
-group "Miscellaneous" ${project.groupId}.logging*:${project.groupId}.util*
2009-01-12 13:09:18 +01:00
2008-09-09 05:52:17 +02:00
-sourceclasspath ${project.build.outputDirectory}
2009-04-10 15:09:30 +02:00
-nopackagediagram
2008-09-09 15:26:15 +02:00
</additionalparam>
2008-08-08 02:37:18 +02:00
<encoding > UTF-8</encoding>
<locale > en_US</locale>
2010-03-31 05:22:11 +02:00
<excludePackageNames > ${project.groupId}.example*:${project.groupId}.container*:${project.groupId}.util.internal*</excludePackageNames>
2008-08-08 02:37:18 +02:00
</configuration>
</plugin>
<plugin >
<artifactId > maven-jxr-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.2</version>
2008-09-16 11:20:17 +02:00
<executions >
<execution >
<id > generate-xref</id>
<phase > package</phase>
<goals >
<goal > jxr</goal>
</goals>
</execution>
</executions>
2008-08-08 02:37:18 +02:00
<configuration >
<inputEncoding > UTF-8</inputEncoding>
<outputEncoding > UTF-8</outputEncoding>
2008-09-16 11:20:17 +02:00
<linkJavadoc > true</linkJavadoc>
<destDir > ${project.build.directory}/xref</destDir>
<javadocDir > ${project.build.directory}/api</javadocDir>
2009-06-19 19:31:31 +02:00
<stylesheet > ${basedir}/src/xref/stylesheet.css</stylesheet>
2011-01-11 10:17:45 +01:00
<docTitle > ${project.name} Source Xref (${project.version})</docTitle>
<windowTitle > ${project.name} Source Xref (${project.version})</windowTitle>
2008-08-08 02:37:18 +02:00
</configuration>
2008-08-25 07:26:54 +02:00
</plugin>
2008-09-09 15:26:15 +02:00
<plugin >
<groupId > org.jboss.maven.plugins</groupId>
<artifactId > maven-jdocbook-plugin</artifactId>
2010-04-30 13:55:38 +02:00
<version > 2.2.1</version>
2008-09-09 15:26:15 +02:00
<executions >
<execution >
<id > generate-docbook</id>
<phase > package</phase>
<goals >
<goal > resources</goal>
<goal > generate</goal>
</goals>
</execution>
</executions>
<dependencies >
<dependency >
<groupId > org.jboss</groupId>
<artifactId > jbossorg-docbook-xslt</artifactId>
2008-09-19 09:28:48 +02:00
<version > 1.1.0</version>
2009-07-15 13:04:51 +02:00
<exclusions >
<exclusion >
<groupId > org.eclipse.wst.css</groupId>
<artifactId > core</artifactId>
</exclusion>
<exclusion >
<groupId > org.eclipse.wst.sse</groupId>
<artifactId > core</artifactId>
</exclusion>
</exclusions>
2008-09-09 15:26:15 +02:00
</dependency>
<dependency >
<groupId > org.jboss</groupId>
<artifactId > jbossorg-jdocbook-style</artifactId>
2008-09-19 09:28:48 +02:00
<version > 1.1.0</version>
2008-09-09 15:26:15 +02:00
<type > jdocbook-style</type>
2009-07-15 13:04:51 +02:00
<exclusions >
<exclusion >
<groupId > org.eclipse.wst.css</groupId>
<artifactId > core</artifactId>
</exclusion>
<exclusion >
<groupId > org.eclipse.wst.sse</groupId>
<artifactId > core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.jboss</groupId>
<artifactId > jbossorg-fonts</artifactId>
<version > 1.0.0</version>
<type > jdocbook-style</type>
2008-09-09 15:26:15 +02:00
</dependency>
</dependencies>
<configuration >
<sourceDocumentName > master.xml</sourceDocumentName>
<sourceDirectory > ${basedir}/src/docbook</sourceDirectory>
2008-09-20 08:38:56 +02:00
<cssResource >
<directory > ${basedir}/src/docbook</directory>
<includes >
<include > css/**/*</include>
</includes>
</cssResource>
2008-09-09 15:26:15 +02:00
<imageResource >
<directory > ${basedir}/src/docbook</directory>
<includes >
2008-09-16 10:58:41 +02:00
<include > images/**/*</include>
2008-09-09 15:26:15 +02:00
</includes>
</imageResource>
<formats >
<format >
<formatName > html</formatName>
2009-05-22 09:35:26 +02:00
<stylesheetResource > file:///${basedir}/src/docbook/xslt/xhtml.xsl</stylesheetResource>
2008-09-09 15:26:15 +02:00
<finalName > index.html</finalName>
</format>
<format >
<formatName > html_single</formatName>
2009-05-22 09:35:26 +02:00
<stylesheetResource > file:///${basedir}/src/docbook/xslt/xhtml-single.xsl</stylesheetResource>
2008-09-20 08:38:56 +02:00
<finalName > index.html</finalName>
</format>
<format >
<formatName > eclipse</formatName>
2009-05-22 09:35:26 +02:00
<stylesheetResource > file:///${basedir}/src/docbook/xslt/eclipse.xsl</stylesheetResource>
2008-09-09 15:26:15 +02:00
<finalName > index.html</finalName>
</format>
2008-09-20 08:38:56 +02:00
<format >
<formatName > pdf</formatName>
2009-05-22 09:35:26 +02:00
<stylesheetResource > file:///${basedir}/src/docbook/xslt/pdf.xsl</stylesheetResource>
2008-09-20 08:38:56 +02:00
<finalName > netty.pdf</finalName>
</format>
2008-09-09 15:26:15 +02:00
</formats>
<options >
<xincludeSupported > true</xincludeSupported>
<xmlTransformerType > saxon</xmlTransformerType>
<docbookVersion > 1.72.0</docbookVersion>
2009-07-15 13:04:51 +02:00
<localeSeparator > -</localeSeparator>
2009-07-15 14:04:07 +02:00
<autoDetectFonts > true</autoDetectFonts>
2008-09-09 15:26:15 +02:00
</options>
</configuration>
</plugin>
2008-08-08 02:37:18 +02:00
<plugin >
<artifactId > maven-assembly-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.2</version>
2008-08-08 02:37:18 +02:00
<executions >
<execution >
2008-09-16 11:20:17 +02:00
<id > generate-distribution</id>
2008-08-08 02:37:18 +02:00
<phase > package</phase>
<goals >
2009-01-13 03:30:44 +01:00
<goal > single</goal>
2008-08-08 02:37:18 +02:00
</goals>
</execution>
</executions>
<configuration >
<descriptors >
<descriptor > ${basedir}/src/assembly/default.xml</descriptor>
</descriptors>
2009-03-14 17:45:20 +01:00
<attach > ${attach-distribution}</attach>
2008-08-08 02:37:18 +02:00
<appendAssemblyId > true</appendAssemblyId>
<tarLongFileMode > gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin >
<artifactId > maven-release-plugin</artifactId>
2011-02-07 13:05:49 +01:00
<version > 2.1</version>
2008-08-08 02:37:18 +02:00
<configuration >
2008-08-28 15:39:49 +02:00
<!-- We don't want to use the default release profile because it
causes the JavaDoc and source jars to be deployed twice. -->
<useReleaseProfile > false</useReleaseProfile>
<!-- Activate a custom profile called "release" -->
<arguments > -Prelease</arguments>
2008-08-08 02:37:18 +02:00
</configuration>
</plugin>
2009-04-03 07:47:12 +02:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-eclipse-plugin</artifactId>
2010-03-24 05:47:40 +01:00
<version > 2.8</version>
2009-04-03 07:47:12 +02:00
<configuration >
<downloadSources > true</downloadSources>
<addVersionToProjectName > true</addVersionToProjectName>
</configuration>
</plugin>
2008-08-08 02:37:18 +02:00
</plugins>
</build>
2008-10-07 15:08:41 +02:00
</project>