blob: d38855d81fb4591d4df38ce44cae8f5095e66743 [file] [log] [blame]
<!--
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.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>36</version>
</parent>
<artifactId>commons-jcs</artifactId>
<packaging>pom</packaging>
<version>2.0-beta-1</version>
<!--
* Build with -PjcacheTck to run the JSR-107 TCK
-->
<name>Apache Commons JCS</name>
<url>http://commons.apache.org/proper/commons-jcs/</url>
<description>Apache Commons JCS is a distributed, versatile caching system.</description>
<inceptionYear>2002</inceptionYear>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/JCS</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-beta-1</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-beta-1</developerConnection>
<url>http://svn.apache.org/viewvc/commons/proper/jcs/tags/commons-jcs-2.0-beta-1</url>
</scm>
<mailingLists>
<mailingList>
<name>Jakarta JCS User List Archive</name>
<subscribe />
<unsubscribe />
<archive>http://mail-archives.apache.org/mod_mbox/jakarta-jcs-users/</archive>
</mailingList>
<mailingList>
<name>Jakarta JCS Developer List Archive</name>
<subscribe />
<unsubscribe />
<archive>http://mail-archives.apache.org/mod_mbox/jakarta-jcs-dev/</archive>
</mailingList>
<mailingList>
<name>OLD User List Archive</name>
<subscribe />
<unsubscribe />
<archive>http://mail-archives.apache.org/mod_mbox/jakarta-turbine-jcs-user/</archive>
</mailingList>
<mailingList>
<name>OLD Developer List Archive</name>
<subscribe />
<unsubscribe />
<archive>http://mail-archives.apache.org/mod_mbox/jakarta-turbine-jcs-dev/</archive>
</mailingList>
<mailingList>
<name>Commons User List</name>
<subscribe>user-subscribe@commons.apache.org</subscribe>
<unsubscribe>user-unsubscribe@commons.apache.org</unsubscribe>
<post>user@commons.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/commons-user/</archive>
<otherArchives>
<otherArchive>http://markmail.org/list/org.apache.commons.users/</otherArchive>
<otherArchive>http://old.nabble.com/Commons---User-f319.html</otherArchive>
<otherArchive>http://www.mail-archive.com/user@commons.apache.org/</otherArchive>
<otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.user</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Commons Dev List</name>
<subscribe>dev-subscribe@commons.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@commons.apache.org</unsubscribe>
<post>dev@commons.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive>
<otherArchives>
<otherArchive>http://markmail.org/list/org.apache.commons.dev/</otherArchive>
<otherArchive>http://old.nabble.com/Commons---Dev-f317.html</otherArchive>
<otherArchive>http://www.mail-archive.com/dev@commons.apache.org/</otherArchive>
<otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.devel</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Commons Issues List</name>
<subscribe>issues-subscribe@commons.apache.org</subscribe>
<unsubscribe>issues-unsubscribe@commons.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/commons-issues/</archive>
<otherArchives>
<otherArchive>http://markmail.org/list/org.apache.commons.issues/</otherArchive>
<otherArchive>http://old.nabble.com/Commons---Issues-f25499.html</otherArchive>
<otherArchive>http://www.mail-archive.com/issues@commons.apache.org/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Commons Commits List</name>
<subscribe>commits-subscribe@commons.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@commons.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/commons-commits/</archive>
<otherArchives>
<otherArchive>http://markmail.org/list/org.apache.commons.commits/</otherArchive>
<otherArchive>http://www.mail-archive.com/commits@commons.apache.org/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Apache Announce List</name>
<subscribe>announce-subscribe@apache.org</subscribe>
<unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
<otherArchives>
<otherArchive>http://markmail.org/list/org.apache.announce/</otherArchive>
<otherArchive>http://old.nabble.com/Apache-News-and-Announce-f109.html</otherArchive>
<otherArchive>http://www.mail-archive.com/announce@apache.org/</otherArchive>
<otherArchive>http://news.gmane.org/gmane.comp.apache.announce</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<modules>
<module>commons-jcs-core</module>
<module>commons-jcs-jcache</module>
<module>commons-jcs-tck-tests</module>
<module>commons-jcs-jcache-extras</module>
<module>commons-jcs-jcache-openjpa</module>
</modules>
<developers>
<developer>
<id>asmuts</id>
<name>Aaron Smuts</name>
<email>asmuts@apache.org</email>
<organization />
</developer>
<developer>
<id>jtaylor</id>
<name>James Taylor</name>
<email>james@jamestaylor.org</email>
<organization />
</developer>
<developer>
<id>hchar</id>
<name>Hanson Char</name>
<email>hchar@apache.org</email>
<organization />
</developer>
<developer>
<id>tsavo</id>
<name>Travis Savo</name>
<email>tsavo@ifilm.com</email>
<organization>IFilm</organization>
</developer>
<developer>
<id>tv</id>
<name>Thomas Vandahl</name>
<email>tv@apache.org</email>
<organization />
</developer>
<developer>
<id>rmannibucau</id>
<name>Romain Manni-Bucau</name>
<email>rmannibucau@apache.org</email>
<organization />
</developer>
</developers>
<contributors>
<contributor>
<name>Scott Eade</name>
<email>seade@backstagetech.com.au</email>
</contributor>
<contributor>
<name>Michael Stevens</name>
<email>mstevens@etla.org</email>
</contributor>
</contributors>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<targetPath>${project.build.outputDirectory}</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>.java-version</exclude>
<exclude>**/zipcodes.txt</exclude>
<exclude>**/download_jcs.cgi</exclude>
<exclude>**/.gitignore</exclude>
<exclude>**/derby.log</exclude>
<exclude>**/META-INF/services/javax.*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>copy-notices</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target xmlns:if="ant:if" xmlns:unless="ant:unless">
<presetdef name="truth">
<condition value="true" else="false" />
</presetdef>
<macrodef name="seek">
<attribute name="name" />
<attribute name="addto" />
<sequential>
<union id="@{name}-ws" />
<step dir="${user.dir}" name="@{name}" addto="@{addto}" ws="@{name}-ws" />
</sequential>
</macrodef>
<macrodef name="step">
<attribute name="name" />
<attribute name="dir" />
<attribute name="addto" />
<attribute name="ws" />
<sequential>
<local name="seenDir" />
<truth property="seenDir">
<resourcecount when="gt" count="0">
<intersect id="intersection">
<resources refid="@{ws}" />
<file name="@{dir}" />
</intersect>
</resourcecount>
</truth>
<sequential unless:true="${seenDir}">
<augment id="@{ws}">
<file file="@{dir}" />
</augment>
<local name="exists" />
<truth property="exists">
<available file="@{dir}/@{name}" />
</truth>
<sequential if:true="${exists}">
<augment id="@{addto}">
<file file="@{dir}/@{name}" />
</augment>
</sequential>
<sequential unless:true="${exists}">
<local name="parent.dir" />
<dirname property="parent.dir" file="@{dir}" />
<step dir="${parent.dir}" name="@{name}" addto="@{addto}" ws="@{ws}" />
</sequential>
</sequential>
</sequential>
</macrodef>
<truth property="pom-only">
<equals arg1="${project.packaging}" arg2="pom" />
</truth>
<sequential unless:true="${pom-only}">
<union id="notices" />
<seek name="LICENSE.txt" addto="notices" />
<seek name="NOTICE.txt" addto="notices" />
<mkdir dir="${project.build.directory}/generated-resources/notices/META-INF" />
<copy verbose="true" todir="${project.build.directory}/generated-resources/notices/META-INF">
<resources refid="notices" />
</copy>
<mkdir dir="${project.build.directory}/generated-test-resources/notices/META-INF" />
<copy verbose="true" todir="${project.build.directory}/generated-test-resources/notices/META-INF">
<resources refid="notices" />
</copy>
<mkdir dir="${project.build.directory}/apidocs/META-INF" />
<copy verbose="true" todir="${project.build.directory}/apidocs/META-INF">
<resources refid="notices" />
</copy>
</sequential>
</target>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.9.4</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>attach-test-jar</id>
<phase>package</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>create-javadoc-jar</id>
<goals>
<goal>javadoc</goal>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<source>${maven.compiler.source}</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
<execution>
<id>attach-test-sources</id>
<goals>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-source-notices</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.build.directory}/generated-resources/notices</directory>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>add-test-notices</id>
<phase>generate-test-resources</phase>
<goals>
<goal>add-test-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.build.directory}/generated-test-resources/notices</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>commons-jcs-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>commons-jcs-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>commons-jcs-jcache</artifactId>
<version>${project.version}</version>
</dependency>
<!-- REQUIRED FOR JCS CORE -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
<!-- JDBC DISK CACHE -->
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<optional>true</optional>
</dependency>
<!-- JDBC DISK CACHE -->
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.10</version>
<optional>true</optional>
</dependency>
<!-- For comparative performance tests only -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons.collections.version}</version>
<scope>test</scope>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>test</scope>
</dependency>
<!-- Exclude for now -->
<!-- dependency>
<groupId>org.jgroups</groupId>
<artifactId>jgroups</artifactId>
<version>3.4.1.Final</version>
<optional>true</optional>
</dependency -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-tools</artifactId>
<version>2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-interceptor_1.1_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcache_1.0_spec</artifactId>
<version>1.0-alpha-1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-impl</artifactId>
<version>1.2.6</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- Unfortunately the 1.0 version of this jar was built for Java 1.7+, see JCS-132 -->
<groupId>javax.cache</groupId>
<artifactId>test-domain</artifactId>
<version>${jsr107.api.version}</version>
<!-- should this be scope test? -->
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>app-domain</artifactId>
<version>${jsr107.api.version}</version>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<version>${jsr107.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
<version>${jsr107.api.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.2</version>
<configuration>
<targetJdk>1.6</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.5</version>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>sandbox</id>
<modules>
<module>commons-jcs-sandbox</module>
</modules>
</profile>
<profile>
<id>release</id>
<modules>
<module>commons-jcs-dist</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<!-- disable assembly:single from commons-parent
release profile; multimodule assembly handled
by dist module -->
<phase />
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>create-source-jar</id>
<!-- suppress execution specified by parent profile -->
<phase />
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>site</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<!-- Default configuration for compiler source and target JVM -->
<maven.compiler.sourceEncoding>UTF-8</maven.compiler.sourceEncoding>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<commons.componentid>jcs</commons.componentid>
<commons.release.version>2.0-beta-1</commons.release.version>
<commons.release.desc>(Java 6.0+)</commons.release.desc>
<!-- The RC version used in the staging repository URL. -->
<commons.rc.version>RC1</commons.rc.version>
<commons.jira.id>JCS</commons.jira.id>
<commons.site.path>commons-jcs</commons.site.path>
<commons.scmPubUrl>
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}
</commons.scmPubUrl>
<!-- Ensure copies work OK (can be removed later when this is in parent POM) -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<commons.encoding>UTF-8</commons.encoding>
<commons.javadoc.java.link>http://docs.oracle.com/javase/6/docs/api/</commons.javadoc.java.link>
<jsr107.api.version>1.0.0</jsr107.api.version>
<commons.collections.version>4.0</commons.collections.version>
<commons.lang.version>3.3.2</commons.lang.version>
<test.type>Unit</test.type>
</properties>
</project>