2008-08-25 07:26:54 +02:00
<?xml version="1.0" encoding="UTF-8"?> <project >
2008-08-08 02:37:18 +02:00
<modelVersion > 4.0.0</modelVersion>
<groupId > org.jboss.netty</groupId>
<artifactId > netty</artifactId>
<packaging > bundle</packaging>
<name > The Netty Project</name>
2008-08-25 07:26:54 +02:00
<version > 3.0.0.CR3-SNAPSHOT</version>
<description > The Netty project is an effort to provide an asynchronous / event-driven network application framework for rapid development of high-performance / high-scalability protocol servers and clients, including its related out-of-the-box protocol extensions and tool suite.</description>
2008-08-08 02:37:18 +02:00
<url > http://www.jboss.org/netty/</url>
<inceptionYear > 2008</inceptionYear>
<licenses >
<license >
<name > GNU Lesser General Public License</name>
<url > http://www.gnu.org/licenses/lgpl.html</url>
</license>
</licenses>
<scm >
2008-08-21 08:11:35 +02:00
<connection > scm:svn:http://anonsvn.jboss.org/repos/netty/trunk</connection>
<developerConnection > scm:svn:https://svn.jboss.org/repos/netty/trunk</developerConnection>
2008-08-08 02:37:18 +02:00
</scm>
2008-08-25 07:26:54 +02:00
<organization >
<name > JBoss - a division of Red Hat</name>
<url > http://www.jboss.org/</url>
</organization>
2008-08-08 02:37:18 +02:00
<build >
<plugins >
<plugin >
<artifactId > maven-compiler-plugin</artifactId>
<configuration >
<encoding > UTF-8</encoding>
<source > 1.5</source>
<target > 1.5</target>
<debug > true</debug>
<optimize > true</optimize>
<showDeprecations > true</showDeprecations>
</configuration>
</plugin>
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<excludes >
<exclude > **/Abstract*</exclude>
</excludes>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.felix</groupId>
<artifactId > maven-bundle-plugin</artifactId>
<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>
<Export-Package > !${project.groupId}.util.*,${project.groupId}.*</Export-Package>
<Private-Package > ${project.groupId}.util.*</Private-Package>
<Import-Package > org.slf4j.*;resolution:=optional,org.apache.commons.logging.*;resolution:=optional,org.jboss.logging.*;resolution:=optional,org.apache.log4j.*;resolution:=optional,*</Import-Package>
2008-08-08 02:37:18 +02:00
</instructions>
</configuration>
</plugin>
<plugin >
<artifactId > maven-source-plugin</artifactId>
<executions >
<execution >
<id > attach-source</id>
<phase > package</phase>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-javadoc-plugin</artifactId>
<executions >
<execution >
<id > attach-javadoc</id>
<phase > package</phase>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
<configuration >
<doclet > net.gleamynode.apiviz.APIviz</doclet>
<docletArtifact >
<groupId > net.gleamynode.apiviz</groupId>
<artifactId > apiviz</artifactId>
<version > 1.1.3</version>
</docletArtifact>
<aggregate > true</aggregate>
2008-08-25 07:26:54 +02:00
<additionalparam > -charset UTF-8
2008-08-08 02:37:18 +02:00
-docencoding UTF-8
-version
-author
-breakiterator
-windowtitle "${project.name} ${project.version} API Reference"
-doctitle "${project.name} ${project.version} API Reference"
-bottom "Copyright © ${project.inceptionYear}-Present ${project.organization.name}. All Rights Reserved."
-link http://java.sun.com/javase/6/docs/api/
-group "Low-level data representation" ${project.groupId}.buffer*
-group "Central interface for all I/O operations" ${project.groupId}.channel*
-group "Client & Server bootstrapping utilities" ${project.groupId}.bootstrap*
-group "Reusable I/O event interceptors" ${project.groupId}.handler*
2008-08-25 07:26:54 +02:00
-group "Miscellaneous" ${project.groupId}.logging*</additionalparam>
2008-08-08 02:37:18 +02:00
<encoding > UTF-8</encoding>
<locale > en_US</locale>
<excludePackageNames > ${project.groupId}.example*:${project.groupId}.util*</excludePackageNames>
</configuration>
</plugin>
<plugin >
<artifactId > maven-jxr-plugin</artifactId>
<configuration >
<inputEncoding > UTF-8</inputEncoding>
<outputEncoding > UTF-8</outputEncoding>
<linkJavadoc > false</linkJavadoc>
</configuration>
2008-08-25 07:26:54 +02:00
</plugin>
2008-08-08 02:37:18 +02:00
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > add-license</id>
<phase > package</phase>
2008-08-25 07:26:54 +02:00
<goals >
<goal > run</goal>
</goals>
2008-08-08 02:37:18 +02:00
<configuration >
<tasks >
<taskdef resource= "net/sf/antcontrib/antlib.xml" />
<if >
<or >
2008-08-25 07:26:54 +02:00
<equals arg2= "jar" arg1= "${project.packaging}" />
<equals arg2= "bundle" arg1= "${project.packaging}" />
2008-08-08 02:37:18 +02:00
</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" >
<zipfileset dir= "${basedir}" prefix= "META-INF/" >
<include name= "LICENSE.*" />
<include name= "NOTICE.*" />
</zipfileset>
2008-08-25 07:26:54 +02:00
<zipfileset filemode= "644" src= "${project.build.directory}/${project.build.finalName}.orig.jar" dirmode= "755" >
2008-08-08 02:37:18 +02:00
<exclude name= "*/*/*/example/**" />
</zipfileset>
</zip>
<delete file= "${project.build.directory}/${project.build.finalName}.orig.jar" />
<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 dir= "${basedir}" prefix= "META-INF/" >
<include name= "LICENSE.*" />
<include name= "NOTICE.*" />
</zipfileset>
2008-08-25 07:26:54 +02:00
<zipfileset filemode= "644" src= "${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode= "755" >
2008-08-08 02:37:18 +02:00
<exclude name= "*/*/*/example/**" />
</zipfileset>
</zip>
<delete file= "${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
<move file= "${project.build.directory}/${project.build.finalName}-javadoc.jar" tofile= "${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" />
<zip destfile= "${project.build.directory}/${project.build.finalName}-javadoc.jar" >
<zipfileset dir= "${basedir}" prefix= "META-INF/" >
<include name= "LICENSE.*" />
<include name= "NOTICE.*" />
</zipfileset>
2008-08-25 07:26:54 +02:00
<zipfileset filemode= "644" src= "${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" dirmode= "755" />
2008-08-08 02:37:18 +02:00
</zip>
<delete file= "${project.build.directory}/${project.build.finalName}-javadoc.orig.jar" />
</then>
</if>
</tasks>
</configuration>
</execution>
</executions>
<dependencies >
<dependency >
<groupId > ant-contrib</groupId>
<artifactId > ant-contrib</artifactId>
<version > 1.0b2</version>
</dependency>
</dependencies>
</plugin>
<plugin >
<artifactId > maven-assembly-plugin</artifactId>
<executions >
<execution >
<id > attach-distribution</id>
<phase > package</phase>
<goals >
<goal > attached</goal>
</goals>
</execution>
</executions>
<configuration >
<descriptors >
<descriptor > ${basedir}/src/assembly/default.xml</descriptor>
</descriptors>
<appendAssemblyId > true</appendAssemblyId>
<tarLongFileMode > gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin >
<artifactId > maven-release-plugin</artifactId>
<configuration >
2008-08-25 07:26:54 +02:00
<tagBase > https://svn.jboss.org/repos/netty/tags</tagBase>
2008-08-08 02:37:18 +02:00
</configuration>
</plugin>
</plugins>
</build>
2008-08-25 07:26:54 +02:00
<repositories >
<repository >
<releases />
<snapshots >
<enabled > false</enabled>
</snapshots>
<id > apiviz.release</id>
<name > APIviz releases</name>
<url > http://apiviz.googlecode.com/svn/site/repo/mvn/release</url>
</repository>
<repository >
<releases />
<snapshots >
<enabled > false</enabled>
</snapshots>
<id > jboss.release</id>
<name > JBoss releases</name>
<url > http://repository.jboss.org/maven2</url>
</repository>
</repositories>
<dependencies >
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
<version > 1.5.2</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-spi</artifactId>
<version > 2.0.5.GA</version>
<scope > compile</scope>
<optional > true</optional>
</dependency>
<dependency >
<groupId > log4j</groupId>
<artifactId > log4j</artifactId>
<version > 1.2.15</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>
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
<version > 4.4</version>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.easymock</groupId>
<artifactId > easymock</artifactId>
<version > 2.4</version>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.easymock</groupId>
<artifactId > easymockclassextension</artifactId>
<version > 2.3</version>
<scope > test</scope>
</dependency>
2008-08-25 13:27:30 +02:00
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-simple</artifactId>
<version > 1.5.2</version>
<scope > test</scope>
</dependency>
2008-08-25 07:26:54 +02:00
</dependencies>
<reporting />
<distributionManagement >
<repository >
<id > repository.jboss.org</id>
<name > JBoss.org Release Distribution Repository</name>
<url > https://svn.jboss.org/repos/repository.jboss.org/maven2</url>
</repository>
<snapshotRepository >
<id > snapshots.jboss.org</id>
<name > JBoss.org Development Snapshot Repository</name>
<url > https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
</project>