Initial move to Gradle.
This commit is contained in:
parent
bd8f23d7d6
commit
993384c173
147 changed files with 673 additions and 1 deletions
9
old/.cvsignore
Normal file
9
old/.cvsignore
Normal file
|
@ -0,0 +1,9 @@
|
|||
build
|
||||
build.test
|
||||
build.properties
|
||||
dist
|
||||
*.i*
|
||||
.settings
|
||||
.fbprefs
|
||||
.fbwarnings
|
||||
.clover
|
6
old/.hg_archival.txt
Normal file
6
old/.hg_archival.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
repo: cec0503fd7a03d0d505cd298779c9360e537ce20
|
||||
node: 0f167fd17c8cbe8bc54ff6af55a23def6a6be315
|
||||
branch: default
|
||||
latesttag: v2_4_1/trunk
|
||||
latesttagdistance: 15
|
||||
changessincelatesttag: 15
|
22
old/.hgtags
Normal file
22
old/.hgtags
Normal file
|
@ -0,0 +1,22 @@
|
|||
b7492cd8c07a635a3e68caea9035f5853fd48dc8 v2_0_beta_2
|
||||
0f86681123c9655c51f3192d4a50b3fac93900b7 v2_0
|
||||
d89751f6dcec297b9a208b7efee4ef4bdd7e595c v2_0_1
|
||||
65afa90270ba4e49944e930798fcf8737911b58b v2_0_2
|
||||
4895938a47d91229b5de22fdf22709ce7b13213a v2_1
|
||||
2507938446fee2869ffc1c48264e9d4075b3fd35 Root_v2_1_1
|
||||
ecbbc5adc32fefab262c1d831a51c3f4f8d5b8d7 Root_amarch_sandbox
|
||||
1b4d987e855bc02bf08bc2fa2a1108b90c98e9ee v2_2-rc
|
||||
bf3f6d64f71f5df293ebfa013436f7cad6c4174a v2_2
|
||||
861e6b8461d62713433fbab21ba419ec0819c65c v2_3
|
||||
4bde37724bf310846d8477f2baa405315a94e101 v2_3_1
|
||||
274a32e71716a5e8abf1f9fe4d58e7a7bd3a4525 v2_3_2
|
||||
aa3aca67671d3a690e6814e7e9181a5fc018e21b v2_4
|
||||
dfacfe8055d0abdb02e1db6b63b539cdfcee43b2 v2_4
|
||||
387d7900897c90e64994858b90355a48119ea60e v2_4
|
||||
cdf414156c2cd0b70d375afe9ea3c457a5284a70 v2_4
|
||||
b8ad75c5a7496184cfaa03b0e261a25d99b16b61 v2_4
|
||||
983dd56faabaf83c7c435c50bfc764e190fd4890 v2_4
|
||||
7169b41cea95570f43fce9ee1e65d6c6a101b0fe v2_4
|
||||
fb73d9245d05d829c427e9c2e8942f597d14b83c v2_4
|
||||
2371325c217681ad4daaf93bb913f14bef9986f7 v2_4_1
|
||||
5fe61334beb77f2314b1f5595962bdf748605633 v2_4_1/trunk
|
390
old/build.xml
Normal file
390
old/build.xml
Normal file
|
@ -0,0 +1,390 @@
|
|||
<?xml version="1.0" ?>
|
||||
|
||||
<!-- OSCache build file - http://www.opensymphony.com/oscache -->
|
||||
<project name="oscache" default="jar" basedir=".">
|
||||
|
||||
<!-- overridden properties (must be before the import!) -->
|
||||
|
||||
<property name="compile.version" value="1.4"/>
|
||||
<property name="test.compile.version" value="1.4"/>
|
||||
|
||||
<property name="lib.optional" value="${lib}/plugins"/> <!-- overwritten -->
|
||||
<property name="jar.excludes" value="test/**, docs/**, *.war, **/*.html"/>
|
||||
|
||||
<property name="tmp.dir" value="tmp"/> <!-- ??? -->
|
||||
|
||||
<!-- This property must match with what is included in the oscache.properties files -->
|
||||
<property name="test.cache.path" value="/tmp/cachetagscache"/>
|
||||
|
||||
<!-- debug -->
|
||||
<property name="debug" value="true"/>
|
||||
|
||||
<!-- import common osbuild.xml -->
|
||||
|
||||
<property name="common.build" value="osbuild.xml"/>
|
||||
<import file="${common.build}"/>
|
||||
|
||||
<property name="clover.initstring" location="${build.clover}/coverageBase.db"/>
|
||||
|
||||
<!-- project properties -->
|
||||
|
||||
<property name="src.webapp" value="${src}/webapp"/> <!-- new -->
|
||||
|
||||
<patternset id="src.test.pattern.base">
|
||||
<include name="**/TestComplete*.class"/>
|
||||
<exclude name="**/web/*.*"/>
|
||||
<exclude name="**/clustersupport/*.*"/>
|
||||
</patternset>
|
||||
|
||||
<patternset id="src.test.pattern.web">
|
||||
<include name="**/web/TestComplete*.class"/>
|
||||
<include name="**/web/TestLoadComplete*.class"/>
|
||||
</patternset>
|
||||
|
||||
<patternset id="src.test.pattern.cluster">
|
||||
<include name="**/TestCompleteCluster.class"/>
|
||||
</patternset>
|
||||
|
||||
<!-- init -->
|
||||
|
||||
<target name="init" depends="ivy-check,common.init">
|
||||
<taskdef name="ivy-configure" classname="fr.jayasoft.ivy.ant.IvyConfigure"/>
|
||||
<taskdef name="ivy-resolve" classname="fr.jayasoft.ivy.ant.IvyResolve"/>
|
||||
<taskdef name="ivy-retrieve" classname="fr.jayasoft.ivy.ant.IvyRetrieve"/>
|
||||
<taskdef name="ivy-publish" classname="fr.jayasoft.ivy.ant.IvyPublish"/>
|
||||
<taskdef name="ivy-report" classname="fr.jayasoft.ivy.ant.IvyReport"/>
|
||||
<taskdef name="ivy-deliver" classname="fr.jayasoft.ivy.ant.IvyDeliver"/>
|
||||
|
||||
<ivy-retrieve/>
|
||||
</target>
|
||||
|
||||
<!-- Ivy -->
|
||||
|
||||
<target name="ivyrep.copy-ivy" depends="init">
|
||||
<ivy-deliver deliverpattern="${ivyrep.path}/opensymphony/${name}/[artifact]-[revision].[ext]"
|
||||
pubrevision="${version}-${TIME}" pubdate="${TIME}"/>
|
||||
</target>
|
||||
|
||||
<available property="ivy.available" classname="fr.jayasoft.ivy.ant.IvyRetrieve"/>
|
||||
|
||||
<target name="ivy-check" unless="ivy.available">
|
||||
<fail message="Please download Ivy at http://www.jayasoft.org/ivy and copy ivy.jar to ${ant.home}${file.separator}lib"/>
|
||||
</target>
|
||||
|
||||
<!-- Prepares the build directory -->
|
||||
<target name="prepare" depends="init">
|
||||
<mkdir dir="${build.java}/META-INF"/>
|
||||
<copy file="${src}/etc/META-INF/taglib.tld" tofile="${build.java}/META-INF/taglib.tld"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Compiles the core source code -->
|
||||
<target name="compile" depends="prepare">
|
||||
<javac srcdir="${src.java}" destdir="${build.java}" includes="com/opensymphony/oscache/**" debug="${debug}" classpathref="cp" source="${compile.version}" target="${compile.version}"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Prepares and compiles the web application, which includes the web test suite -->
|
||||
<target name="example-war" depends="jar">
|
||||
<mkdir dir="${build}/webapp"/>
|
||||
<mkdir dir="${dist}"/>
|
||||
|
||||
<javac srcdir="${src.webapp}/WEB-INF/classes" destdir="${build}/webapp" includes="com/opensymphony/oscache/**" debug="${debug}" classpath="${build.java}" classpathref="cp"/>
|
||||
|
||||
<war destfile="${dist}/${name}-example.war" basedir="${src.webapp}" webxml="${src.webapp}/WEB-INF/web.xml" excludes="WEB-INF/web.xml">
|
||||
<lib file="${build}/${name}-${version}.jar"/>
|
||||
<lib file="${lib}/commons-logging.jar"/>
|
||||
<classes dir="${build}/webapp"/>
|
||||
</war>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Deploy example war for the test web -->
|
||||
<target name="deploy-example-war" depends="example-war" if="test.web.deployDir">
|
||||
<!-- Use auto deployment of app server, e.g. BEA WLS -->
|
||||
<copy file="${dist}/${name}-example.war" tofile="${test.web.deployDir}/${name}-example.war" overwrite="yes"/>
|
||||
<!-- if your pc is to fast, sleep here for a while to allow redeployment of the web app -->
|
||||
<echo message="Deploying example web app and waiting for a while..." level="info"/>
|
||||
<sleep seconds="30"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Build a usable jar file -->
|
||||
<target name="jar" depends="compile">
|
||||
<mkdir dir="${build}"/>
|
||||
|
||||
<jar jarfile="${build}/${name}-${version}.jar" basedir="${build.java}" excludes="${jar.excludes}">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="${fullname}"/>
|
||||
<attribute name="Implementation-Version" value="${version}"/>
|
||||
<attribute name="Implementation-Vendor" value="OpenSymphony"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- macrodef for tests -->
|
||||
|
||||
<macrodef name="testBase">
|
||||
<attribute name="file"/>
|
||||
<attribute name="message"/>
|
||||
<sequential>
|
||||
<echo message="@{message}" level="info"/>
|
||||
<copy file="@{file}" tofile="${build.test}/oscache.properties" overwrite="yes"/>
|
||||
|
||||
<!-- Clear out any previous persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
|
||||
<junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes" failureproperty="test.failure">
|
||||
<classpath>
|
||||
<pathelement location="${build.test}"/>
|
||||
<path refid="cp"/>
|
||||
</classpath>
|
||||
|
||||
<formatter type="xml"/>
|
||||
|
||||
<batchtest todir="${dist.docs}/junit">
|
||||
<fileset dir="${build.test}">
|
||||
<patternset refid="src.test.pattern.base"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
|
||||
<!-- Clear out persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<macrodef name="testWeb">
|
||||
<attribute name="file"/>
|
||||
<attribute name="message"/>
|
||||
<sequential>
|
||||
<echo message="@{message}" level="info"/>
|
||||
<copy file="@{file}" tofile="${build.test}/oscache.properties" overwrite="yes"/>
|
||||
|
||||
<!-- Clear out any previous persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
|
||||
<javac srcdir="${src.test}" destdir="${build.test}" includes="com/opensymphony/oscache/web/**" debug="${debug}" classpath="${build}" classpathref="cp"/>
|
||||
|
||||
<java classname="com.opensymphony.oscache.web.CheckDeployment" failonerror="true" classpath="${build.test}" fork="yes">
|
||||
<arg value="${test.web.baseURL}"/>
|
||||
</java>
|
||||
|
||||
<junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes" failureproperty="test.failure">
|
||||
<sysproperty key="test.web.baseURL" value="${test.web.baseURL}"/>
|
||||
<classpath>
|
||||
<pathelement location="${build.test}"/>
|
||||
<pathelement location="${build}"/>
|
||||
<path refid="cp"/>
|
||||
</classpath>
|
||||
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" useFile="false"/>
|
||||
|
||||
<batchtest todir="${dist.docs}/junit">
|
||||
<fileset dir="${build.test}">
|
||||
<patternset refid="src.test.pattern.web"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
|
||||
<!-- Clear out persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<!-- Compiling sources for junit tests and clover -->
|
||||
<target name="test-compile" depends="junit-check, clover-check">
|
||||
<mkdir dir="${dist.docs}/junit"/>
|
||||
<mkdir dir="${dist.docs}/clover"/>
|
||||
<mkdir dir="${build.test}"/>
|
||||
<mkdir dir="${build.clover}"/>
|
||||
<mkdir dir="${build.clover}/history" />
|
||||
|
||||
<taskdef resource="clovertasks"/>
|
||||
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
|
||||
|
||||
<javac destdir="${build.test}" debug="${debug}" classpathref="cp" source="${test.compile.version}" target="${test.compile.version}" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter">
|
||||
<src path="${src.java}"/>
|
||||
</javac>
|
||||
|
||||
<javac destdir="${build.test}" debug="${debug}" classpathref="cp" source="${test.compile.version}" target="${test.compile.version}">
|
||||
<src path="${src.test}"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- Run base tests -->
|
||||
<target name="test-base-mc" depends="test-compile" unless="test.failure" description="run base tests">
|
||||
<!-- Run tests using Memory Cache Only -->
|
||||
<testBase file="${src.test}/oscacheMemoryOnly.properties" message="Running base tests with memory cache only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-base-dc" depends="test-compile" unless="test.failure" description="run base tests">
|
||||
<!-- Rerun tests using Disk Cache Only -->
|
||||
<testBase file="${src.test}/oscacheDiskOnly.properties" message="Running base tests with disk cache only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-base-dc-hash" depends="test-compile" unless="test.failure" description="run base tests">
|
||||
<!-- Rerun tests using Disk Cache Only -->
|
||||
<testBase file="${src.test}/oscacheDiskOnlyHash.properties" message="Running base tests with disk cache hash persistence only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-base-dmc" depends="test-compile" unless="test.failure" description="run base tests">
|
||||
<!-- ReRun tests using Disk and Memory Cache -->
|
||||
<testBase file="${src.test}/oscacheDiskAndMemory.properties" message="Running base tests with disk and memory caches"/>
|
||||
</target>
|
||||
|
||||
<target name="test-base-mdoc" depends="test-compile" unless="test.failure" description="run base tests">
|
||||
<!-- ReRun tests using Memory and Disk Overflow Cache -->
|
||||
<testBase file="${src.test}/oscacheMemoryAndOverflowToDisk.properties" message="Running base tests with memory and disk overflow caches"/>
|
||||
</target>
|
||||
|
||||
<target name="test-base" depends="test-base-mc, test-base-dc, test-base-dc-hash, test-base-dmc, test-base-mdoc" description="run all base tests"/>
|
||||
|
||||
<!-- Run web tests -->
|
||||
<target name="test-web-mc" depends="test-compile, example-war, deploy-example-war" unless="test.failure" if="test.web.baseURL" description="run web tests">
|
||||
<!-- Run tests using Memory Cache Only -->
|
||||
<testWeb file="${src.test}/oscacheMemoryOnly.properties" message="Running web tests with memory cache only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-web-dc" depends="test-compile, example-war, deploy-example-war" unless="test.failure" if="test.web.baseURL" description="run web tests">
|
||||
<!-- Rerun tests using Disk Cache Only -->
|
||||
<testWeb file="${src.test}/oscacheDiskOnly.properties" message="Running web tests with disk cache only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-web-dc-hash" depends="test-compile, example-war, deploy-example-war" unless="test.failure" if="test.web.baseURL" description="run web tests">
|
||||
<!-- Rerun tests using Disk Cache Only -->
|
||||
<testWeb file="${src.test}/oscacheDiskOnlyHash.properties" message="Running web tests with disk cache hash persistence only"/>
|
||||
</target>
|
||||
|
||||
<target name="test-web-dmc" depends="test-compile, example-war, deploy-example-war" unless="test.failure" if="test.web.baseURL" description="run web tests">
|
||||
<!-- ReRun tests using Disk and Memory Cache -->
|
||||
<testWeb file="${src.test}/oscacheDiskAndMemory.properties" message="Running web tests with disk and memory caches"/>
|
||||
</target>
|
||||
|
||||
<target name="test-web-mdoc" depends="test-compile, example-war, deploy-example-war" unless="test.failure" if="test.web.baseURL" description="run web tests">
|
||||
<!-- ReRun tests using Memory and Disk Overflow Cache -->
|
||||
<testWeb file="${src.test}/oscacheMemoryAndOverflowToDisk.properties" message="Running web tests with memory and disk overflow caches"/>
|
||||
</target>
|
||||
|
||||
<target name="test-web" depends="test-web-mc, test-web-dc, test-web-dc-hash, test-web-dmc, test-web-mdoc" description="run all web tests"/>
|
||||
|
||||
<!-- Run clustering tests -->
|
||||
<target name="test-cluster" depends="test-compile" unless="test.failure" if="test-cluster" description="run cluster tests">
|
||||
<echo message="Running tests with memory caches and clustering" level="info"/>
|
||||
|
||||
<!-- Clear out any previous persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
|
||||
<junit printsummary="yes" haltonfailure="no" haltonerror="yes" fork="yes" failureproperty="test.failure">
|
||||
<classpath>
|
||||
<pathelement location="${build.test}"/>
|
||||
<path refid="cp"/>
|
||||
</classpath>
|
||||
|
||||
<formatter type="xml"/>
|
||||
|
||||
<batchtest todir="${dist.docs}/junit">
|
||||
<fileset dir="${build.test}">
|
||||
<patternset refid="src.test.pattern.cluster"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
|
||||
<!-- Clear out persistent cache directory -->
|
||||
<delete dir="${test.cache.path}" failonerror="false"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Run JUnit tests using different combinations of disk and memory caching -->
|
||||
<target name="test" depends="test-base, test-web, test-cluster" description="run all tests"/>
|
||||
|
||||
|
||||
<!-- Create the distribution zip files -->
|
||||
<target name="dist" depends="jar, docs, example-war">
|
||||
<!-- copy the standard file -->
|
||||
<copy file="${build}/${name}-${version}.jar" tofile="${dist}/${name}-${version}.jar"/>
|
||||
|
||||
<!-- create the full package -->
|
||||
<mkdir dir="${tmp.dir}/docs"/>
|
||||
<mkdir dir="${tmp.dir}/src"/>
|
||||
<mkdir dir="${tmp.dir}/lib"/>
|
||||
<mkdir dir="${tmp.dir}/etc"/>
|
||||
|
||||
<copy todir="${tmp.dir}/docs">
|
||||
<fileset dir="${dist.docs}"/>
|
||||
</copy>
|
||||
<copy todir="${tmp.dir}/src">
|
||||
<fileset dir="${src}" excludes="etc/**"/>
|
||||
</copy>
|
||||
|
||||
<copy file="${lib}/commons-logging.jar" todir="${tmp.dir}/lib"/>
|
||||
<copy file="${lib}/jgroups-all.jar" todir="${tmp.dir}/lib"/>
|
||||
|
||||
<copy file="${build}/${name}-${version}.jar" todir="${tmp.dir}"/>
|
||||
|
||||
<copy file="${src}/etc/oscache.properties" tofile="${tmp.dir}/etc/oscache.properties"/>
|
||||
<copy file="${src}/etc/META-INF/taglib.tld" tofile="${tmp.dir}/etc/META-INF/${name}.tld"/>
|
||||
<copy file="readme.txt" tofile="${tmp.dir}/readme.txt" failonerror="false"/>
|
||||
|
||||
<zip zipfile="${dist}/${name}-${version}-full.zip" basedir="${tmp.dir}" includes="**"/>
|
||||
|
||||
<!-- Remove everything that's not in the binary release -->
|
||||
<delete dir="${tmp.dir}/src"/>
|
||||
<delete dir="${tmp.dir}/${lib.build}"/>
|
||||
<delete dir="${tmp.dir}/docs/junit"/>
|
||||
<delete dir="${tmp.dir}/docs/clover"/>
|
||||
<delete file="${tmp.lib}/jgroups-all.jar"/>
|
||||
|
||||
<zip zipfile="${dist}/${name}-${version}-binary.zip" basedir="${tmp.dir}" includes="**"/>
|
||||
|
||||
<delete dir="${tmp.dir}"/>
|
||||
|
||||
<!-- Creates checksum for the distribution files -->
|
||||
<checksum>
|
||||
<fileset dir="${dist}">
|
||||
<include name="*.jar"/>
|
||||
<include name="*.zip"/>
|
||||
<include name="*.war"/>
|
||||
</fileset>
|
||||
</checksum>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="clover.report" depends="test">
|
||||
<clover-report>
|
||||
<current outfile="${dist.docs}/clover">
|
||||
<fileset dir="${src.java}" excludes="**/Test*"/>
|
||||
<format type="html"/>
|
||||
</current>
|
||||
</clover-report>
|
||||
<!--
|
||||
<clover-historypoint historyDir="${build.clover}/history" />
|
||||
|
||||
<clover-report>
|
||||
<historical outfile="${dist.docs}/clover/historical.pdf" historyDir="${build.clover}/history" />
|
||||
</clover-report>
|
||||
-->
|
||||
</target>
|
||||
|
||||
<target name="junit.report" depends="test">
|
||||
<junitreport todir="${dist.docs}/junit">
|
||||
<fileset dir="${dist.docs}/junit">
|
||||
<include name="TEST-*.xml"/>
|
||||
</fileset>
|
||||
<report format="frames" todir="${dist.docs}/junit"/>
|
||||
</junitreport>
|
||||
|
||||
<!-- we fail here (instead of in the test target) so that the reports get generated first) -->
|
||||
<fail if="test.failure" message="Tests did not all pass, failing!"/>
|
||||
</target>
|
||||
|
||||
<target name="reports" depends="common.reports">
|
||||
<mkdir dir="${dist.docs}/dependencies"/>
|
||||
<ivy-report todir="${dist.docs}/dependencies" graph="false"/>
|
||||
</target>
|
||||
|
||||
</project>
|
51
old/ivy.xml
Normal file
51
old/ivy.xml
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://www.jayasoft.fr/org/ivyrep/ivy-doc.xsl"?>
|
||||
<ivy-module version="1.0">
|
||||
<info organisation="opensymphony" module="oscache"
|
||||
revision="2.4.2"
|
||||
status="integration"
|
||||
publication="20081109150000">
|
||||
<license name="Apache" url="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
|
||||
<ivyauthor name="opensymphony" url="http://www.opensymphony.com/"/>
|
||||
|
||||
<description homepage="http://www.opensymphony.com/oscache/">
|
||||
OSCache is a caching solution that includes a JSP tag library and set of classes to perform
|
||||
fine grained dynamic caching of JSP content, servlet responses or arbitrary objects. It
|
||||
provides both in memory and persistent on disk caches, and can allow your site to have
|
||||
graceful error tolerance (eg if an error occurs like your db goes down, you can serve the
|
||||
cached content so people can still surf the site almost without knowing).
|
||||
</description>
|
||||
</info>
|
||||
|
||||
<configurations>
|
||||
<conf name="build" visibility="private"/>
|
||||
<conf name="default" description="Default configuration"/>
|
||||
<conf name="jgroups" description="JGroups integration"/>
|
||||
</configurations>
|
||||
|
||||
<publications>
|
||||
<artifact name="oscache" type="jar" conf="default"/>
|
||||
</publications>
|
||||
|
||||
<dependencies>
|
||||
<!-- build dependencies -->
|
||||
<dependency org="clover" name="clover" rev="1.3.9" conf="build->*"/>
|
||||
<dependency org="junit" name="junit" rev="3.8.2" conf="build->*"/>
|
||||
<dependency org="javax.servlet" name="servletapi" rev="2.3" conf="build->*"/>
|
||||
<dependency org="javax.jms" name="jms" rev="1.1" conf="build->*"/>
|
||||
<dependency org="httpunit" name="httpunit" rev="1.6" conf="build->*"/>
|
||||
<dependency org="com/clarkware" name="junitperf" rev="1.9.1" conf="build->*"/>
|
||||
<dependency org="org.hibernate" name="hibernate3" rev="3.2.3" conf="build->*" />
|
||||
<dependency org="net/sourceforge/groboutils" name="groboutils-core" rev="5" conf="build->*" />
|
||||
<!--
|
||||
<dependency org="backport-util-concurrent" name="backport-util-concurrent" rev="3.0" conf="build->*" />
|
||||
-->
|
||||
|
||||
<!-- oscache -->
|
||||
<dependency org="apache" name="commons-logging" rev="1.1" conf="default->*"/>
|
||||
|
||||
<!-- jgroups -->
|
||||
<dependency org="jgroups" name="jgroups-all" rev="2.2.8" conf="jgroups->*"/>
|
||||
|
||||
</dependencies>
|
||||
</ivy-module>
|
2
old/ivyconf.properties
Normal file
2
old/ivyconf.properties
Normal file
|
@ -0,0 +1,2 @@
|
|||
ivy.retrieve.pattern = lib/[artifact].[ext]
|
||||
integration.repository = lib/integration
|
36
old/ivyconf.xml
Normal file
36
old/ivyconf.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<ivyconf>
|
||||
<properties file="ivyconf.properties"/>
|
||||
<conf defaultResolver="default" checkUpToDate="true"/>
|
||||
<resolvers>
|
||||
<chain name="default">
|
||||
<filesystem name="integration" checkmodified="true">
|
||||
<ivy pattern="${integration.repository}/[organisation]/[module]/ivy-[revision].xml"/>
|
||||
<artifact pattern="${integration.repository}/[organisation]/[module]/[artifact]-[revision].[ext]"/>
|
||||
</filesystem>
|
||||
<url name="opensymphony" checkmodified="true">
|
||||
<ivy pattern="http://ivyrep.opensymphony.com/[organisation]/[module]/ivy-[revision].xml"/>
|
||||
<artifact pattern="http://ivyrep.opensymphony.com/[organisation]/[module]/[artifact]-[revision].[type]"/>
|
||||
</url>
|
||||
<url name="maven2.opensymphony">
|
||||
<artifact pattern="http://oss.sonatype.org/content/repositories/opensymphony-releases/[organisation]/[module]/[revision]/[module]-[revision].[type]"/>
|
||||
</url>
|
||||
<url name="contegix">
|
||||
<ivy pattern="http://repository.contegix.com/ivyrep/[organisation]/[module]/ivy-[revision].xml"/>
|
||||
<artifact pattern="http://repository.contegix.com/ivyrep/[organisation]/[module]/[artifact]-[revision].[type]"/>
|
||||
</url>
|
||||
<ivyrep name="ivyrep"/>
|
||||
<ibiblio name="contegix-maven" root="http://repository.contegix.com/maven"/>
|
||||
<url name="maven">
|
||||
<artifact pattern="http://www.ibiblio.org/maven/[organisation]/jars/[module]-[revision].[type]"/>
|
||||
</url>
|
||||
<url name="maven">
|
||||
<artifact pattern="http://www.ibiblio.org/maven/[organisation]/jars/[module]-[revision].[type]"/>
|
||||
</url>
|
||||
<!--
|
||||
<url name="maven2">
|
||||
<artifact pattern="http://mirrors.ibiblio.org/pub/mirrors/maven2/[organisation]/[module]/[module]-[revision].[type]"/>
|
||||
</url>
|
||||
-->
|
||||
</chain>
|
||||
</resolvers>
|
||||
</ivyconf>
|
1
old/lib/.cvsignore
Normal file
1
old/lib/.cvsignore
Normal file
|
@ -0,0 +1 @@
|
|||
*.jar
|
383
old/osbuild.xml
Normal file
383
old/osbuild.xml
Normal file
|
@ -0,0 +1,383 @@
|
|||
<project name="common" default="jar" basedir=".">
|
||||
<!--
|
||||
OpenSymphony Common Build
|
||||
=========================
|
||||
TODO (Introduction)
|
||||
|
||||
Layout
|
||||
=========================
|
||||
TODO
|
||||
|
||||
Overriding
|
||||
=========================
|
||||
TODO
|
||||
Example: <target name="compile" depends="myPreCompile,common.compile,myPostCompile"/>
|
||||
|
||||
-->
|
||||
<!-- NOTE: this property is purely here to make a clear distinction in IDEA where the common build is -->
|
||||
<property name="------common-properties-below------" value="Common properties below:"/>
|
||||
|
||||
<property name="compile.version" value="1.3"/>
|
||||
<property name="test.compile.version" value="1.3"/>
|
||||
|
||||
<dirname property="common.dir" file="${ant.file.common}"/>
|
||||
<property file="build.properties"/>
|
||||
<property file="release.properties"/>
|
||||
<property file="ivyrep.properties"/>
|
||||
|
||||
<property name="lib" location="lib"/>
|
||||
<property name="lib.core" value="${lib}/core"/>
|
||||
<property name="lib.build" value="${lib}/build"/>
|
||||
<property name="lib.optional" value="${lib}/optional"/>
|
||||
|
||||
<property name="src" location="src"/>
|
||||
<property name="src.java" value="${src}/java"/>
|
||||
|
||||
<property name="test" value="${src}/test"/>
|
||||
<property name="src.test" value="${test}/java"/>
|
||||
|
||||
<property name="build" location="build"/>
|
||||
<property name="build.test" value="${build}/test"/>
|
||||
<property name="build.java-test" value="${build}/java-test"/>
|
||||
<property name="build.java" value="${build}/java"/>
|
||||
<property name="build.clover" value="${build}/clover"/>
|
||||
<property name="dist" location="dist"/>
|
||||
|
||||
<property name="docs" location="docs"/>
|
||||
<property name="docs.packages" value="com.opensymphony.*"/>
|
||||
|
||||
<property name="jar.manifest" value="${common.dir}/EMPTY.MF"/>
|
||||
<property name="jar.excludes" value=""/>
|
||||
|
||||
<property name="testcase" value="*"/>
|
||||
<patternset id="src.test.pattern">
|
||||
<exclude name="**/Abstract*.java"/>
|
||||
<include name="**/${testcase}Test.java"/>
|
||||
<include name="**/${testcase}TestCase.java"/>
|
||||
</patternset>
|
||||
|
||||
<path id="cp">
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
<include name="**/*.zip"/>
|
||||
<exclude name="**/jalopy/**"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<path id="junit.cp">
|
||||
<pathelement location="${build.test}"/>
|
||||
<pathelement location="${build.java-test}"/>
|
||||
<path refid="cp"/>
|
||||
</path>
|
||||
|
||||
<available property="junit.available" classname="junit.framework.TestCase"/>
|
||||
<available property="clover.available" classname="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/>
|
||||
|
||||
<target name="init" depends="init-anthill, init-standalone">
|
||||
<tstamp/>
|
||||
</target>
|
||||
|
||||
<!-- in Anthill, the docs should be the Intranet copyDir -->
|
||||
<target name="init-anthill" if="anthill.copyDir">
|
||||
<property name="dist.docs" value="${anthill.copyDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- when building Standalone, the docs should be the normal place -->
|
||||
<target name="init-standalone" unless="anthill.copyDir">
|
||||
<property name="dist.docs" value="${dist}/docs"/>
|
||||
</target>
|
||||
|
||||
<target name="junit-check" depends="init" unless="junit.available">
|
||||
<fail message="Cannot run test cases. Please copy lib/build/junit-3.8.1.jar to ${ant.home}/lib"/>
|
||||
</target>
|
||||
|
||||
<target name="clover-check" depends="init" unless="clover.available">
|
||||
<fail message="Cannot run coverage tests. Please copy lib/build/clover.jar and lib/build/clover.license (if it exists) to ${ant.home}/lib"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init">
|
||||
<delete dir="${build}"/>
|
||||
<delete dir="${dist}"/>
|
||||
</target>
|
||||
|
||||
<target name="precompile"/>
|
||||
|
||||
<macrodef name="compile">
|
||||
<attribute name="srcdir"/>
|
||||
<attribute name="destdir"/>
|
||||
<attribute name="classpath" default=""/>
|
||||
<attribute name="classpathref" default="cp"/>
|
||||
<attribute name="excludes" default=""/>
|
||||
<attribute name="source" default="${compile.version}"/>
|
||||
<attribute name="target" default="${compile.version}"/>
|
||||
<sequential>
|
||||
<mkdir dir="@{destdir}"/>
|
||||
<javac srcdir="@{srcdir}" destdir="@{destdir}" classpath="@{classpath}" classpathref="@{classpathref}"
|
||||
debug="on" source="@{source}" target="@{target}"/>
|
||||
<copy filtering="no" todir="@{destdir}">
|
||||
<fileset dir="@{srcdir}">
|
||||
<exclude name="**/*.java"/>
|
||||
<exclude name="**/package.html"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<target name="compile" depends="init,precompile" description="compile project">
|
||||
<compile srcdir="${src.java}" destdir="${build.java}"/>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile" description="build the project jar file">
|
||||
<mkdir dir="${build}"/>
|
||||
|
||||
<jar basedir="${build.java}" excludes="${jar.excludes}" jarfile="${build}/${name}-${version}.jar"
|
||||
manifest="${jar.manifest}">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="${fullname}"/>
|
||||
<attribute name="Implementation-Version" value="${version}"/>
|
||||
<attribute name="Implementation-Vendor" value="OpenSymphony"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
<!-- <jar basedir="${src.java}" jarfile="${build}/${name}-${version}-src.jar">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="${fullname}" />
|
||||
<attribute name="Implementation-Version" value="${version}" />
|
||||
<attribute name="Implementation-Vendor" value="OpenSymphony" />
|
||||
</manifest>
|
||||
</jar> -->
|
||||
</target>
|
||||
|
||||
<target name="src-jar" depends="init" description="build a jar of the project source code">
|
||||
<mkdir dir="${build}"/>
|
||||
<jar basedir="${src.java}" jarfile="${build}/${name}-${version}-src.jar">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="${fullname}"/>
|
||||
<attribute name="Implementation-Version" value="${version}"/>
|
||||
<attribute name="Implementation-Vendor" value="OpenSymphony"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="test-compile" unless="skip.tests">
|
||||
<compile srcdir="${src.test}" destdir="${build.test}" classpath="${build.java}"
|
||||
source="${test.compile.version}" target="${test.compile.version}"/>
|
||||
|
||||
<taskdef resource="clovertasks"/>
|
||||
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
|
||||
|
||||
<mkdir dir="${build.clover}"/>
|
||||
<clover-setup initString="${build.clover}/coverage.db">
|
||||
<files>
|
||||
<exclude name="${src.test}/**/*.java"/>
|
||||
</files>
|
||||
</clover-setup>
|
||||
|
||||
<compile srcdir="${src.java}" destdir="${build.java-test}"/>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="junit-check, clover-check, compile, test-compile" description="run tests"
|
||||
unless="skip.tests">
|
||||
<run-junit />
|
||||
</target>
|
||||
|
||||
<macrodef name="run-junit">
|
||||
<attribute name="classpathref" default="junit.cp" />
|
||||
<sequential>
|
||||
<mkdir dir="${dist.docs}/junit"/>
|
||||
<junit haltonfailure="no" haltonerror="yes" fork="yes" forkmode="once" failureproperty="test.failure">
|
||||
<jvmarg value="-Djava.awt.headless=true"/>
|
||||
<jvmarg value="-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl"/>
|
||||
<classpath>
|
||||
<path refid="@{classpathref}"/>
|
||||
</classpath>
|
||||
|
||||
<formatter type="plain" useFile="false"/>
|
||||
<formatter type="xml"/>
|
||||
|
||||
<batchtest todir="${dist.docs}/junit">
|
||||
<fileset dir="${src.test}">
|
||||
<patternset refid="src.test.pattern"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<target name="javadocs" description="generate javadocs" depends="init">
|
||||
<mkdir dir="${dist.docs}/api"/>
|
||||
<javadoc sourcepath="${src.java}"
|
||||
destdir="${dist.docs}/api"
|
||||
packagenames="${docs.packages}"
|
||||
classpathref="cp"
|
||||
author="true"
|
||||
version="true"
|
||||
overview="${src.java}/overview.html"
|
||||
windowTitle="${fullname} API - ${version}"
|
||||
doctitle="${fullname} API (${version})"
|
||||
footer="<a href="http://www.opensymphony.com/${name}/" target="_top">${fullname} Project Page</a>"
|
||||
use="true"
|
||||
verbose="false">
|
||||
<link href="http://java.sun.com/j2se/${compile.version}/docs/api/"/>
|
||||
<link href="http://java.sun.com/j2ee/${compile.version}/docs/api/"/>
|
||||
</javadoc>
|
||||
<!-- <copy overwrite="yes" file="${docs}/main.css" tofile="${docs}/api/stylesheet.css"/> -->
|
||||
</target>
|
||||
|
||||
<target name="docs.impl">
|
||||
<copy todir="${dist.docs}">
|
||||
<fileset dir="${docs}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="reports" depends="junit.report, clover.report, javadocs"
|
||||
description="generate javadocs and junit and coverage reports"/>
|
||||
|
||||
<target name="docs" depends="reports, docs.impl"/>
|
||||
|
||||
<target name="clover.report" depends="test" description="generate coverage reports" unless="skip.tests">
|
||||
<clover-report>
|
||||
<current outfile="${dist.docs}/clover">
|
||||
<format type="html"/>
|
||||
</current>
|
||||
</clover-report>
|
||||
</target>
|
||||
|
||||
<target name="clover.historical" depends="clover.report" description="generate coverage historical reports"
|
||||
unless="skip.tests">
|
||||
<clover-historypoint historyDir="${build.clover}"/>
|
||||
|
||||
<clover-report>
|
||||
<historical outfile="${dist.docs}/clover" historyDir="${build.clover}">
|
||||
<format type="html"/>
|
||||
</historical>
|
||||
</clover-report>
|
||||
</target>
|
||||
|
||||
<target name="junit.report" depends="test" description="generate junit reports" unless="skip.tests">
|
||||
<junitreport todir="${dist.docs}/junit">
|
||||
<fileset dir="${dist.docs}/junit">
|
||||
<include name="TEST-*.xml"/>
|
||||
</fileset>
|
||||
<report format="frames" todir="${dist.docs}/junit"/>
|
||||
</junitreport>
|
||||
|
||||
<!-- we fail here (instead of in the test target) so that the reports get generated first) -->
|
||||
<fail if="test.failure" message="Tests did not all pass, failing!"/>
|
||||
</target>
|
||||
|
||||
<target name="predist"/>
|
||||
|
||||
<target name="predist.zip"/>
|
||||
|
||||
<target name="dist" depends="jar, docs, predist" description="generate distribution zip file">
|
||||
<copy todir="${dist}">
|
||||
<fileset dir="${build}">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${dist}/src">
|
||||
<fileset dir="${src}"/>
|
||||
</copy>
|
||||
|
||||
<mkdir dir="${dist}/lib"/>
|
||||
<copy todir="${dist}/lib">
|
||||
<fileset dir="${lib}">
|
||||
<exclude name="**/no_dist/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${dist}">
|
||||
<fileset dir="${basedir}">
|
||||
<include name="*build.*"/>
|
||||
<include name="readme.txt"/>
|
||||
<include name="license.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- give a chance for project builds to do more before the zip is made. -->
|
||||
<antcall target="predist.zip"/>
|
||||
|
||||
<zip zipfile="${build}/${name}-${version}.zip" basedir="${dist}">
|
||||
<exclude name="docs/clover/**/*"/>
|
||||
<exclude name="docs/junit/**/*"/>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
<target name="website" depends="javadocs, docs.impl"/>
|
||||
|
||||
<target name="ivyrep" depends="jar">
|
||||
<tstamp>
|
||||
<format property="TIME" pattern="yyyyMMddHHmmss"/>
|
||||
</tstamp>
|
||||
|
||||
<!-- make sure we have the latest -->
|
||||
<echo>svn update</echo>
|
||||
<exec executable="svn">
|
||||
<arg value="update"/>
|
||||
<arg line="${ivyrep.path}/opensymphony/${name}"/>
|
||||
</exec>
|
||||
|
||||
<!-- delete the old timestamped builds and commit -->
|
||||
<fileset dir="${ivyrep.path}/opensymphony/${name}" id="filesref">
|
||||
<include name="${name}-${version}-*"/>
|
||||
<include name="ivy-${version}-*"/>
|
||||
</fileset>
|
||||
<pathconvert property="files" refid="filesref" pathsep=" "/>
|
||||
<echo>svn delete: ${files}</echo>
|
||||
<exec executable="svn">
|
||||
<arg value="delete"/>
|
||||
<arg line="${files}"/>
|
||||
</exec>
|
||||
|
||||
<!-- copy over the new build -->
|
||||
<copy file="${build}/${name}-${version}.jar"
|
||||
tofile="${ivyrep.path}/opensymphony/${name}/${name}-${version}-${TIME}.jar"/>
|
||||
<echo>svn add (jar)</echo>
|
||||
<exec executable="svn">
|
||||
<arg value="add"/>
|
||||
<arg value="${ivyrep.path}/opensymphony/${name}/${name}-${version}-${TIME}.jar"/>
|
||||
</exec>
|
||||
|
||||
<antcall target="ivyrep.copy-ivy"/>
|
||||
<exec executable="svn">
|
||||
<arg value="add"/>
|
||||
<arg value="${ivyrep.path}/opensymphony/${name}/ivy-${version}-${TIME}.xml"/>
|
||||
</exec>
|
||||
|
||||
<!-- now commit everything -->
|
||||
<echo>svn commit</echo>
|
||||
<exec executable="svn">
|
||||
<arg value="commit"/>
|
||||
<arg value="--username"/>
|
||||
<arg value="${ivyrep.username}"/>
|
||||
<arg value="--password"/>
|
||||
<arg value="${ivyrep.password}"/>
|
||||
<arg value="--non-interactive"/>
|
||||
<arg value="-m"/>
|
||||
<arg value="automatic commit"/>
|
||||
<arg value="${ivyrep.path}/opensymphony/${name}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="ivyrep.copy-ivy">
|
||||
<!--
|
||||
Note: Default implementation does not use Ivy itself to generate these files.
|
||||
However, Ivy is really the best way to generate these, so projects that
|
||||
do use Ivy should override this target like so:
|
||||
|
||||
<ivy-deliver deliverpattern="${ivyrep.path}/opensymphony/${name}/[artifact]-[revision].[ext]"
|
||||
pubrevision="${version}-${TIME}" pubdate="${TIME}"/>
|
||||
|
||||
Over time as more projects adopt Ivy, this may become built in to the
|
||||
common build.
|
||||
-->
|
||||
<copy file="ivy.xml" tofile="${ivyrep.path}/opensymphony/${name}/ivy-${version}-${TIME}.xml">
|
||||
<filterset id="ivy.filter">
|
||||
<filter token="VERSION" value="${version}-${TIME}"/>
|
||||
<filter token="STATUS" value="${status}"/>
|
||||
<filter token="PUBLICATION" value="${TIME}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
</target>
|
||||
</project>
|
312
old/pom.xml
Normal file
312
old/pom.xml
Normal file
|
@ -0,0 +1,312 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>
|
||||
<groupId>opensymphony</groupId>
|
||||
<artifactId>oscache</artifactId>
|
||||
<version>2.4.2</version>
|
||||
<name>OSCache</name>
|
||||
<description>
|
||||
OSCache is a caching solution that includes a JSP tag library
|
||||
and set of classes to perform fine grained dynamic caching of
|
||||
JSP content, servlet responses or arbitrary objects.
|
||||
</description>
|
||||
<url>http://www.opensymphony.com/oscache/</url>
|
||||
<organization>
|
||||
<name>OpenSymphony</name>
|
||||
<url>http://www.opensymphony.com/</url>
|
||||
</organization>
|
||||
<issueManagement>
|
||||
<system>JIRA</system>
|
||||
<url>http://jira.opensymphony.com/browse/CACHE</url>
|
||||
</issueManagement>
|
||||
<distributionManagement>
|
||||
<!--
|
||||
For this to work, you need to:
|
||||
|
||||
1) Get the private key from someone that trusts you :)
|
||||
2) Add the following to ~/.m2/settings.xml
|
||||
|
||||
<settings>
|
||||
...
|
||||
<servers>
|
||||
<server>
|
||||
<id>opensymphony</id>
|
||||
<username>maven</username>
|
||||
<privateKey>/path/to/private/maven_opensymphony_key</privateKey>
|
||||
</server>
|
||||
</servers>
|
||||
...
|
||||
</settings>
|
||||
-->
|
||||
<repository>
|
||||
<id>opensymphony</id>
|
||||
<name>OpenSymphony Maven Repository</name>
|
||||
<url>scp://maven2.opensymphony.com/opt/repository/maven2</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>User discussion and support list for OSCache</name>
|
||||
<post>mailto:users@oscache.dev.java.net</post>
|
||||
<subscribe>https://oscache.dev.java.net/servlets/ProjectMailingListList</subscribe>
|
||||
<archive>https://oscache.dev.java.net/servlets/SummarizeList?listName=users</archive>
|
||||
<otherArchives>
|
||||
<otherArchive>http://forums.opensymphony.com/forum.jspa?forumID=4</otherArchive>
|
||||
</otherArchives>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<scm>
|
||||
<url>http://svn.opensymphony.com/svn/oscache/trunk/</url>
|
||||
</scm>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The OpenSymphony Software License 1.1</name>
|
||||
<url>http://opensymphony.com/webwork/license.action</url>
|
||||
<comments>
|
||||
This license is derived and fully compatible with the Apache Software
|
||||
License - see http://www.apache.org/LICENSE.txt
|
||||
</comments>
|
||||
</license>
|
||||
</licenses>
|
||||
<build>
|
||||
<sourceDirectory>src/java</sourceDirectory>
|
||||
<testSourceDirectory>src/test</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/java</directory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.html</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/etc</directory>
|
||||
<includes>
|
||||
<include>**/*.tld</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.xml</exclude>
|
||||
<exclude>**/*.properties</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/test</directory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.html</exclude>
|
||||
</excludes>
|
||||
</testResource>
|
||||
</testResources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-idea-plugin</artifactId>
|
||||
<configuration>
|
||||
<jdkName>1.5</jdkName>
|
||||
<exclude>target,test-output,.clover,build</exclude>
|
||||
<useShortDependencyNames>true</useShortDependencyNames>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>2.0-beta-5</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<verbose>true</verbose>
|
||||
<source>1.4</source>
|
||||
<target>1.4</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-source</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<groups>
|
||||
<group>
|
||||
<title>OSCache Packages</title>
|
||||
<packages>com.opensymphony.oscache*</packages>
|
||||
</group>
|
||||
</groups>
|
||||
<show>private</show>
|
||||
<links>
|
||||
<link>http://java.sun.com/j2se/1.4.2/docs/api</link>
|
||||
<link>http://jakarta.apache.org/commons/logging/apidocs/</link>
|
||||
<link>http://logging.apache.org/log4j/docs/api/</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-source</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<url>${pom.url}</url>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<defaultGoal>install</defaultGoal>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
</plugin>
|
||||
<!--plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.0</version>
|
||||
<configuration>
|
||||
<aggregate>true</aggregate>
|
||||
</configuration>
|
||||
</plugin-->
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>jxr-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!--plugin>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<configuration>
|
||||
<linkXref>true</linkXref>
|
||||
<sourceEncoding>utf-8</sourceEncoding>
|
||||
<minimumTokens>100</minimumTokens>
|
||||
<targetJdk>1.5</targetJdk>
|
||||
</configuration>
|
||||
</plugin-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-changes-plugin</artifactId>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>jira-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</reporting>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.jms</groupId>
|
||||
<artifactId>jms</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jgroups</groupId>
|
||||
<artifactId>jgroups-all</artifactId>
|
||||
<version>2.2.8</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate</artifactId>
|
||||
<version>3.2.3.ga</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>httpunit</groupId>
|
||||
<artifactId>httpunit</artifactId>
|
||||
<version>1.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junitperf</groupId>
|
||||
<artifactId>junitperf</artifactId>
|
||||
<version>1.9.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>groboutils</groupId>
|
||||
<artifactId>groboutils-core</artifactId>
|
||||
<version>5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
Loading…
Add table
Add a link
Reference in a new issue