blob: 4a0073d472ccdd0df48619cb723549222c50e24d [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF 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
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.apache</groupId>
<artifactId>apache</artifactId>
<version>7</version>
</parent>
<organization>
<name>Apache MINA Project</name>
<url>http://mina.apache.org/</url>
</organization>
<groupId>org.apache.mina</groupId>
<version>2.0.2</version>
<artifactId>mina-parent</artifactId>
<name>Apache MINA</name>
<packaging>pom</packaging>
<url>http://mina.apache.org/</url>
<inceptionYear>2004</inceptionYear>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/DIRMINA</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/mina/tags/mina-2.0.2</connection>
<url>http://svn.apache.org/viewvc/directory/mina/tags/mina-2.0.2</url>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/mina/tags/mina-2.0.2</developerConnection>
</scm>
<distributionManagement>
<site>
<id>apache.websites</id>
<url>scp://people.apache.org/www/mina.apache.org/report/trunk/</url>
</site>
</distributionManagement>
<ciManagement>
<notifiers>
<notifier>
<type>mail</type>
<address>dev@mina.apache.org</address>
</notifier>
</notifiers>
</ciManagement>
<description>Apache MINA is a network application framework which helps users develop high performance and highly scalable network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.</description>
<licenses>
<license>
<name>Apache 2.0 License</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Define the version for each of the used jar and maven plugins -->
<properties>
<!-- Maven Plugins -->
<version.api.plugin>2.2.1</version.api.plugin>
<version.assembly.plugin>2.2-beta-5</version.assembly.plugin>
<version.clean.plugin>2.3</version.clean.plugin>
<version.compiler.plugin>2.1</version.compiler.plugin>
<version.deploy.plugin>2.5</version.deploy.plugin>
<version.gpg.plugin>1.1</version.gpg.plugin>
<version.jar.plugin>2.3</version.jar.plugin>
<version.javadoc.plugin>2.6.1</version.javadoc.plugin>
<version.jxr.plugin>2.1</version.jxr.plugin>
<version.model.plugin>2.2.1</version.model.plugin>
<version.project.plugin>2.2.1</version.project.plugin>
<version.rat.maven.plugin>1.0-alpha-3</version.rat.maven.plugin>
<version.release.plugin>2.0</version.release.plugin>
<version.remote.resources.plugin>1.1</version.remote.resources.plugin>
<version.site.plugin>2.1</version.site.plugin>
<version.source.plugin>2.1.1</version.source.plugin>
<version.shade.plugin>1.3</version.shade.plugin>
<version.surefire.plugin>2.4.3</version.surefire.plugin>
<!-- Jars -->
<version.commons.lang>2.5</version.commons.lang>
<version.easymock>2.5.2</version.easymock>
<version.easymockclassextension>2.5.2</version.easymockclassextension>
<version.jboss.javassist>3.7.ga</version.jboss.javassist>
<version.jdom>1.0</version.jdom>
<version.jmock>1.2.0</version.jmock>
<version.junit>4.7</version.junit>
<version.jzlib>1.0.7</version.jzlib>
<version.log4j>1.2.14</version.log4j>
<version.ognl>2.7.3</version.ognl>
<version.pmd>4.2.5</version.pmd>
<version.rmock>2.0.2</version.rmock>
<version.slf4j.api>1.5.11</version.slf4j.api>
<version.slf4j.log4j12>1.5.11</version.slf4j.log4j12>
<version.slf4j.jcl.over.slf4j>1.5.11</version.slf4j.jcl.over.slf4j>
<version.springframework>2.5.6</version.springframework>
<version.tomcat.apr>5.5.23</version.tomcat.apr>
<version.xbean.spring>3.6</version.xbean.spring>
</properties>
<modules>
<module>mina-legal</module>
<module>mina-core</module>
<module>mina-transport-apr</module>
<module>mina-filter-compression</module>
<module>mina-statemachine</module>
<module>mina-integration-beans</module>
<module>mina-integration-xbean</module>
<module>mina-integration-ognl</module>
<module>mina-integration-jmx</module>
<module>mina-example</module>
</modules>
<!-- =========================================== -->
<!-- The dependencies for all the projects -->
<!-- =========================================== -->
<dependencyManagement>
<dependencies>
<!-- Submodules -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-core</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-transport-apr</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-filter-compression</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-integration-beans</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-integration-ognl</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-integration-jmx</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mina-statemachine</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</dependency>
<!-- Transport -->
<dependency>
<groupId>tomcat</groupId>
<artifactId>tomcat-apr</artifactId>
<version>${version.tomcat.apr}</version>
</dependency>
<!-- Filter -->
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
<version>${version.jzlib}</version>
</dependency>
<!-- Integration -->
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${version.xbean.spring}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>${version.springframework}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
<version>${version.ognl}</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>${version.jboss.javassist}</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>${version.jdom}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>${version.jmock}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>pmd</groupId>
<artifactId>pmd</artifactId>
<version>${version.pmd}</version>
</dependency>
<!-- State Machine -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${version.commons.lang}</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j.api}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${version.slf4j.jcl.over.slf4j}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${version.slf4j.log4j12}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${version.log4j}</version>
</dependency>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>${version.easymock}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>${version.easymockclassextension}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.agical.rmock</groupId>
<artifactId>rmock</artifactId>
<version>${version.rmock}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- ==================================== -->
<!-- Common dependencies for all projects -->
<!-- ==================================== -->
<dependencies>
<!-- common logging interface -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- logging implementation used for unit tests -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>serial</id>
<activation>
<property>
<name>with-LGPL-dependencies</name>
</property>
</activation>
<modules>
<module>mina-transport-serial</module>
</modules>
</profile>
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jxr</goal>
<goal>test-jxr</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>distribution</module>
</modules>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
<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>
<version>${version.surefire.plugin}</version>
<configuration>
<excludes>
<exclude>**/Abstract*</exclude>
<exclude>**/*RegressionTest*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${version.source.plugin}</version>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${version.release.plugin}</version>
<configuration>
<tagBase>
https://svn.apache.org/repos/asf/mina/tags
</tagBase>
<preparationGoals>clean install</preparationGoals>
<goals>clean deploy</goals>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.1</version>
<inherited>true</inherited>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${symbolicName}</Bundle-SymbolicName>
<Export-Package>${exportedPackage}.*;version=${project.version}</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.javadoc.plugin}</version>
<inherited>false</inherited>
<configuration>
<aggregate>true</aggregate>
<breakiterator>true</breakiterator>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<windowtitle>Apache MINA ${project.version} API Documentation</windowtitle>
<doctitle>Apache MINA ${project.version} API Documentation</doctitle>
<encoding>UTF-8</encoding>
<excludePackageNames>*.example.*</excludePackageNames>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
<link>http://www.slf4j.org/api/</link>
<link>http://static.springframework.org/spring/docs/2.0.x/api/</link>
<link>http://dcl.mathcs.emory.edu/util/backport-util-concurrent/doc/api/</link>
</links>
<locale>en_US</locale>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${version.jxr.plugin}</version>
<inherited>false</inherited>
<configuration>
<aggregate>true</aggregate>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<windowTitle>Apache MINA ${project.version} Cross Reference</windowTitle>
<docTitle>Apache MINA ${project.version} Cross Reference</docTitle>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
<version>${version.rat.maven.plugin}</version>
<configuration>
<excludes>
<exclude>**/target/**/*</exclude>
<exclude>**/.*</exclude>
<exclude>**/NOTICE.txt</exclude>
<exclude>**/LICENSE*.txt</exclude>
</excludes>
<excludeSubProjects>false</excludeSubProjects>
</configuration>
</plugin>
</plugins>
</reporting>
</project>