Hiram R. Chirino 2006-07-11 15:32:20 +00:00
parent 1ea430e557
commit afba723191
32 changed files with 0 additions and 5265 deletions

View File

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default" xmlns:j="jelly:core">
<goal name="default" prereqs="jar:install"/>
<goal name="dc">
<attain>
<attainGoal name="clean"/>
<attainGoal name="site:deploy"/>
<j:set var="maven.test.skip" value="true"/>
<attainGoal name="jar:deploy"/>
<attainGoal name="dist:deploy"/>
</attain>
</goal>
<preGoal name="site:deploy">
<attainGoal name="javadoc"/>
<attainGoal name="java:compile"/>
<attainGoal name="clover"/>
</preGoal>
<goal name="setclasspath" prereqs="java:compile, test:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}"/>
<pathelement path="target/classes"/>
<pathelement path="target/test-classes"/>
<path refid="maven.dependency.classpath"/>
</path>
</goal>
<!-- Sample programs -->
<goal name="demo:A" prereqs="setclasspath"
description="Runs the simple ActiveCluster Demo">
<echo>Running the ActiveCluster demo...</echo>
<java classname="org.apache.activecluster.ClusterDemo" fork="true">
<classpath refid="test.classpath"/>
<sysproperty key="org.apache.commons.logging.simplelog.defaultlog" value="debug"/>
<arg value="A"/>
</java>
</goal>
<goal name="demo:B" prereqs="setclasspath"
description="Runs the simple ActiveCluster Demo">
<echo>Running the ActiveCluster demo...</echo>
<java classname="org.apache.activecluster.ClusterDemo" fork="true">
<classpath refid="test.classpath"/>
<arg value="B"/>
</java>
</goal>
<!--
Uses keyboard input so can't be run in Maven
<goal name="chat" prereqs="setclasspath"
description="Runs the ActiveCluster Chat Demo">
<echo>Running the ActiveCluster Chat demo...</echo>
<java classname="org.apache.activecluster.ChatDemo" fork="true">
<classpath refid="test.classpath"/>
</java>
</goal>
-->
</project>

View File

@ -1,40 +0,0 @@
maven.repo.remote=http://www.ibiblio.org/maven,http://dist.codehaus.org,http://people.apache.org/repository
maven.compile.source=1.4
maven.compile.target=1.4
maven.test.source=1.4
maven.compile.deprecation=true
maven.compile.debug=true
maven.compile.optimize=true
maven.javadoc.links=http://java.sun.com/j2se/1.4.1/docs/api/,http://java.sun.com/j2ee/1.4/docs/api/
maven.javadoc.source=1.4
maven.junit.fork = true
# use Sun coding standards
checkstyle.lcurly.type = eol
checkstyle.lcurly.method = eol
checkstyle.lcurly.other = eol
checkstyle.header.ignore.line = 1,2,3,4,5,6
checkstyle.const.pattern = ^[a-z][a-zA-Z0-9]*$
# disable these non-critical errors to highlight
# more important ones line missing javadoc
checkstyle.maxlinelen = 132
checkstyle.ignore.whitespace = true
#maven.checkstyle.ignore.public.in.interface = true
checkstyle.paren.pad = ignore
#####################################################
# codehaus theme
#####################################################
maven.xdoc.theme.url=http://codehaus.org/codehaus-style.css
maven.repo.central = dist.codehaus.org
maven.repo.central.directory = /dist
maven.remote.group = activecluster

View File

@ -1,164 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveCluster</name>
<artifactId>activecluster</artifactId>
<package>org.apache.activecluster</package>
<packageGroups>
<packageGroup>
<title>Core ActiveCluster API</title>
<packages>org.apache.activecluster</packages>
</packageGroup>
<packageGroup>
<title>Group organisation protocols</title>
<packages>org.apache.activecluster.group</packages>
</packageGroup>
<packageGroup>
<title>Election protocols</title>
<packages>org.apache.activecluster.election</packages>
</packageGroup>
<packageGroup>
<title>ActiveMQ specific implementation classes</title>
<packages>org.apache.activecluster.activemq</packages>
</packageGroup>
<packageGroup>
<title>Implementation classes</title>
<packages>org.apache.activecluster.impl:org.apache.activecluster.election.impl</packages>
</packageGroup>
</packageGroups>
<shortDescription>ActiveCluster is a framework for building cluster-aware software</shortDescription>
<gumpRepositoryId>activecluster</gumpRepositoryId>
<description>
ActiveCluster is a framework for building cluster-aware software
</description>
<url>http://activecluster.codehaus.org/</url>
<issueTrackingUrl>http://jira.codehaus.org/browse/ACL</issueTrackingUrl>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<url>http://jakarta.apache.org/commons/logging/</url>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
<version>1.0</version>
</dependency>
<!-- default JMS provider used for implementation -->
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
</dependency>
<!-- for unit test cases -->
<dependency>
<id>junit</id>
<version>3.8.1</version>
</dependency>
<!--concurrency -->
<dependency>
<id>backport-util-concurrent</id>
<version>2.0_01_pd</version>
</dependency>
<!-- for multi-threaded unit test cases -->
<dependency>
<id>sysunit</id>
<version>1.0-beta-13</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>scm@activecluster.codehaus.org</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>
<aspectSourceDirectory/>
<unitTest>
<resources>
<resource>
<directory>src/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
<!-- disable failing tests on some platforms -->
<exclude>**/ClusterTest.*</exclude>
<exclude>**/ClusterFunctionTest.*</exclude>
</excludes>
</unitTest>
<resources>
<!--
<resource>
<directory>src/jar</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
-->
</resources>
</build>
</project>

View File

@ -1,81 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:license="license" xmlns:util="jelly:util" xmlns:maven="jelly:maven" xmlns:artifact="artifact">
<goal name="default" prereqs="jar:install"/>
<postGoal name="clean">
<delete dir="${basedir}/activemq-data" />
<delete dir="${basedir}/foo" />
</postGoal>
<!-- ================================================================ -->
<!-- GOALS for running benchmarks -->
<!-- ================================================================ -->
<goal name="run:broker" description="Runs the broker" prereqs="setclasspath">
<j:if test="${empty(uri)}">
<j:set var="uri" value="broker://(tcp://localhost:61616)?useJmx=true" />
</j:if>
<echo>Running the ActiveMQ broker for the URI ${uri}</echo>
<java classname="org.apache.activemq.console.Main" fork="true">
<classpath refid="test.classpath" />
<arg value="${uri}" />
<sysproperty key="com.sun.management.jmxremote.port" value="5001" />
<sysproperty key="com.sun.management.jmxremote.authenticate" value="false" />
<sysproperty key="com.sun.management.jmxremote.ssl" value="false" />
</java>
</goal>
<goal name="run:consumer" description="Runs the broker" prereqs="setclasspath">
<j:if test="${empty(uri)}">
<j:set var="uri" value="tcp://localhost:61616" />
</j:if>
<echo>Running the ActiveMQ consumer for the URI ${uri}</echo>
<java classname="org.apache.activemq.console.simple.Consumer" fork="false">
<classpath refid="test.classpath" />
<arg value="${uri}" />
</java>
</goal>
<goal name="setclasspath" prereqs="java:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}" />
<pathelement path="target/classes" />
<pathelement path="target/test-classes" />
<path refid="maven.dependency.classpath" />
</path>
</goal>
<goal name="reports:site">
<attainGoal name="site" />
</goal>
<goal name="jar:deploy-javadoc"
description="Deploys javadoc binary" prereqs="javadoc:install">
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-${pom.currentVersion}_javadoc.jar"
type="jar"
project="${pom}"
/>
</goal>
</project>

View File

@ -1,6 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.changelog.range=730

View File

@ -1,266 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Console</name>
<artifactId>activemq-console</artifactId>
<description>ActiveMQ Console is an open source management console that is use to monitor a JMX enabled ActiveMQ broker.</description>
<shortDescription>ActiveMQ Management Console</shortDescription>
<package>org.apache.activemq.console</package>
<packageGroups>
<packageGroup>
<title>Console Commands</title>
<packages>org.apache.activemq.console.command</packages>
</packageGroup>
<packageGroup>
<title>Query Filters</title>
<packages>org.apache.activemq.console.filter</packages>
</packageGroup>
<packageGroup>
<title>Console Output Formatter</title>
<packages>org.apache.activemq.console.formatter</packages>
</packageGroup>
<packageGroup>
<title>Utilities</title>
<packages>org.apache.activemq.console.util</packages>
</packageGroup>
</packageGroups>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core-test</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
</dependency>
<!-- used to support optional transport configuration via URI query strings -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons_beanutils_version}</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>${commons_httpclient_version}</version>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${xbean_spring_version}</version>
<url>http://www.gbean.org</url>
</dependency>
<dependency>
<id>springframework</id>
<artifactId>spring</artifactId>
<version>${spring_version}</version>
<url>http://www.springframework.org</url>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
<version>${mx4j_remote_version}</version>
</dependency>
<!-- Derby DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
<version>${derbynet_version}</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xercesImpl_version}</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
<version>${xercesImpl_version}</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>target/generated</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<developers>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>jstrachan@logicblaze.com</email>
</developer>
<developer>
<name>Hiram Chirino</name>
<id>chirino</id>
<email>hiram@logicblaze.com</email>
</developer>
<developer>
<name>Rob Davies</name>
<id>Rob</id>
<email>rajdavies@gmail.com</email>
</developer>
<developer>
<name>Jonas Lim</name>
<id>jlim</id>
<email>jlim@exist.com</email>
</developer>
<developer>
<name>Frederick Oconer</name>
<id>foconer</id>
<email>foconer@exist.com</email>
</developer>
<developer>
<name>Joseph Gapuz</name>
<id>jgapuz</id>
<email>jgapuz@exist.com</email>
</developer>
<developer>
<name>Patrick Villacorta</name>
<id>pvillacorta</id>
<email>pvillacorta@exist.com</email>
</developer>
<developer>
<name>Darwin Flores</name>
<id>dflores</id>
<email>dflores@exist.com</email>
</developer>
<developer>
<name>Merwin Yap</name>
<id>myap</id>
<email>myap@exist.com</email>
</developer>
<developer>
<name>Adrian Co</name>
<id>aco</id>
<email>aco@exist.com</email>
</developer>
<developer>
<name>Dennis Cook</name>
<id>dcook</id>
<email>dj_cook@yahoo.com</email>
</developer>
<developer>
<name>Dag Liodden</name>
<id>daggerrz</id>
<email>dag.liodden@giantleap.no</email>
</developer>
<developer>
<name>Peter Brooke</name>
<id>pbrooke</id>
</developer>
<developer>
<name>Ramzi Saba</name>
<id>rsaba</id>
<email>rsaba@optaros.com</email>
</developer>
<developer>
<name>Brian McCallister</name>
<id>brianm</id>
<email>brianm@apache.org</email>
</developer>
</developers>
<reports>
<report>maven-javadoc-plugin</report>
<report>maven-junit-report-plugin</report>
</reports>
<repository>
<connection>scm:svn:svn://svn.activemq.org/activemq/scm/branches/activemq-4-0/activemq</connection>
<developerConnection>scm:svn:svn://svn.activemq.org/activemq/branches/activemq-4-0/activemq</developerConnection>
<url>https://svn.activemq.org/activemq/branches/activemq-4-0/activemq/</url>
</repository>
</project>

View File

@ -1,205 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:license="license" xmlns:util="jelly:util" xmlns:maven="jelly:maven" xmlns:artifact="artifact">
<goal name="default" prereqs="jar:install"/>
<postGoal name="clean">
<delete dir="${basedir}/activemq-data" />
<delete dir="${basedir}/foo" />
</postGoal>
<preGoal name="java:compile">
<attainGoal name="selector:generate" />
</preGoal>
<postGoal name="java:compile">
<attainGoal name="xbean:generate" />
</postGoal>
<postGoal name="test:compile">
<!-- Once the tests are compiled... install them -->
<ant:jar jarfile="${maven.build.dir}/${pom.artifactId}-test-${pom.currentVersion}.jar" basedir="${maven.test.dest}" index="${maven.jar.index}" compress="${maven.jar.compress}" excludes="${maven.jar.excludes}">
<j:if test="${maven.jar.manifest.available}">
<ant:setProperty name="manifest" value="${maven.jar.manifest}" />
</j:if>
<j:if test="${context.getVariable('maven.jar.includes') != null}">
<ant:setProperty name="includes" value="${maven.jar.includes}" />
</j:if>
<j:set var="licenseFileName">
<license:fileName />
</j:set>
<util:file name="${licenseFileName}" var="licenseFile" />
<ant:metainf dir="${licenseFile.canonicalFile.parent}">
<ant:include name="${licenseFile.canonicalFile.name}" />
</ant:metainf>
</ant:jar>
<mkdir dir="${maven.repo.local}/${pom.groupId}/jars" />
<echo>Copying ${maven.build.dir}/${pom.artifactId}-test-${pom.currentVersion}.jar to ${maven.repo.local}/${pom.groupId}/jars</echo>
<copy todir="${maven.repo.local}/${pom.groupId}/jars" file="${maven.build.dir}/${pom.artifactId}-test-${pom.currentVersion}.jar" />
</postGoal>
<goal name="selector:generate" description="Generates the ActiveMQ selector parser.">
<mkdir dir="${pom.build.sourceDirectory}/org/apache/activemq/selector" />
<javacc target="${basedir}/src/main/grammar/SelectorParser.jj" javacchome="${maven.repo.local}/javacc/jars" outputdirectory="${pom.build.sourceDirectory}/org/apache/activemq/selector" />
</goal>
<goal name="openwire:generate-control-data" description="Generates the openwire control data." prereqs="test:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}" />
<pathelement path="${basedir}/target/classes" />
<pathelement path="${basedir}/target/test-classes" />
<path refid="maven.dependency.classpath" />
</path>
<java classname="org.apache.activemq.openwire.DataFileGenerator" fork="true">
<classpath refid="test.classpath" />
</java>
</goal>
<goal name="openwire:generate" description="Generates the openwire marshallers.">
<ant:mkdir dir="${basedir}/target/gram-classes" />
<ant:javac destdir="target/gram-classes" excludes="**/package.html" debug="${maven.compile.debug}" deprecation="${maven.compile.deprecation}" optimize="${maven.compile.optimize}">
<ant:classpath>
<ant:path refid="maven.dependency.classpath" />
<ant:pathelement path="target/gram-classes" />
</ant:classpath>
<ant:src path="src/gram/java" />
<j:if test="${context.getVariable('maven.compile.source') != null}">
<ant:setProperty name="source" value="${maven.compile.source}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.target') != null}">
<ant:setProperty name="target" value="${maven.compile.target}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.verbose') != null}">
<ant:setProperty name="verbose" value="${maven.compile.verbose}" />
</j:if>
</ant:javac>
<path id="openwire.classpath">
<pathelement path="${java.home}/lib/tools.jar" />
<pathelement path="target/gram-classes" />
<path refid="maven.dependency.classpath" />
</path>
<java classname="org.codehaus.gram.Gram" fork="true">
<classpath refid="openwire.classpath" />
<sysproperty key="openwire.version" value="${openwire.version}" />
<arg value="src/main/java" />
<arg value="src/gram/script/GenerateCppMarshallingClasses.groovy" />
<arg value="src/gram/script/GenerateCppMarshallingHeaders.groovy" />
<arg value="src/gram/script/GenerateJavaMarshalling.groovy" />
<arg value="src/gram/script/GenerateJavaTests.groovy" />
<arg value="src/gram/script/GenerateCSharpMarshalling.groovy" />
<arg value="src/gram/script/GenerateCSharpClasses.groovy" />
<arg value="src/gram/script/GenerateCppHeaders.groovy" />
<arg value="src/gram/script/GenerateCppClasses.groovy" />
<arg value="src/gram/script/GenerateCMarshalling.groovy" />
</java>
</goal>
<!-- START SNIPPET: xbean -->
<goal name="xbean:generate" description="Generates the XBean XSD, documentation and META-INF/services files.">
<ant:mkdir dir="${basedir}/target/generated"/>
<path id="test.classpath">
<pathelement path="${maven.build.dest}" />
<pathelement path="${basedir}/target/classes" />
<pathelement path="${basedir}/target/test-classes" />
<path refid="maven.dependency.classpath" />
</path>
<taskdef name="xsdGenerate" classname="org.apache.xbean.spring.generator.MappingGeneratorTask">
<classpath refid="test.classpath" />
</taskdef>
<ant:mkdir dir="${basedir}/target/generated"/>
<xsdGenerate destFile="${basedir}/target/activemq-${pom.currentVersion}.xsd" namespace="http://activemq.org/config/1.0"
classpathref="test.classpath" srcdir="${basedir}/src/main/java" metaInfDir="${basedir}/target/generated/"/>
<copy file="${basedir}/target/activemq-${pom.currentVersion}.xsd" todir="${basedir}/../xdocs"/>
<copy file="${basedir}/target/activemq-${pom.currentVersion}.xsd.html" todir="${basedir}/../xdocs"/>
</goal>
<!-- END SNIPPET: xbean -->
<goal name="setclasspath" prereqs="java:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}" />
<pathelement path="${basedir}/target/classes" />
<pathelement path="${basedir}/target/test-classes" />
<path refid="maven.dependency.classpath" />
</path>
</goal>
<!-- ================================================================== -->
<!-- GOALs for deploying resources -->
<!-- ================================================================== -->
<!-- goal name="jar:deploy"
description="Deploy the core and core test binaries" prereqs="test:compile">
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-${pom.currentVersion}.jar"
type="jar"
project="${pom}"
/>
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-test-${pom.currentVersion}.jar"
type="jar"
project="${pom}"
/>
</goal -->
<goal name="jar:deploy-javadoc"
description="Deploys javadoc binary" prereqs="javadoc:install">
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-${pom.currentVersion}_javadoc.jar"
type="jar"
project="${pom}"
/>
</goal>
<goal name="xsd:deploy-xbean"
description="Deploys xsd generated files" prereqs="xbean:generate">
<artifact:deploy
artifact="${basedir}/target/activemq-${pom.currentVersion}.xsd"
type="distribution"
project="${pom}"
/>
<artifact:deploy
artifact="${basedir}/target/activemq-${pom.currentVersion}.xsd.html"
type="distribution"
project="${pom}"
/>
</goal>
</project>

View File

@ -1,15 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.eclipse.classpath.include=\
${basedir}/src/main/resources,\
${basedir}/src/test/eclipse-resources,\
${basedir}/src/test/resources,\
${basedir}/src/gram/java,\
${basedir}/target/generated
openwire.version=1
maven.changelog.range=730

View File

@ -1,490 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Core</name>
<artifactId>activemq-core</artifactId>
<description>ActiveMQ is an open source message broker and JMS 1.1 provider</description>
<shortDescription>ActiveMQ JMS Message Broker</shortDescription>
<package>org.apache.activemq</package>
<packageGroups>
<packageGroup>
<title>Core JMS Client API</title>
<packages>org.apache.activemq:org.apache.activemq.message</packages>
</packageGroup>
<packageGroup>
<title>JMS Broker and Region implementations</title>
<packages>org.apache.activemq.broker:org.apache.activemq.broker.*</packages>
</packageGroup>
<packageGroup>
<title>Management Statistics</title>
<packages>org.apache.activemq.management</packages>
</packageGroup>
<packageGroup>
<title>JNDI support</title>
<packages>org.apache.activemq.jndi</packages>
</packageGroup>
<packageGroup>
<title>Message filter and router</title>
<packages>org.apache.activemq.filter:org.apache.activemq.filter.*:org.apache.activemq.selector</packages>
</packageGroup>
<packageGroup>
<title>Security strategies and implementations</title>
<packages>org.apache.activemq.security</packages>
</packageGroup>
<packageGroup>
<title>Transport, Discovery and WireFormat strategies and implementations</title>
<packages>org.apache.activemq.transport:org.apache.activemq.transport.*</packages>
</packageGroup>
<packageGroup>
<title>OpenWire support</title>
<packages>org.apache.activemq.command:org.apache.activemq.openwire:org.apache.activemq.openwire.*</packages>
</packageGroup>
<packageGroup>
<title>Support for Networks</title>
<packages>org.apache.activemq.network:org.apache.activemq.network.*</packages>
</packageGroup>
<packageGroup>
<title>Message persistence strategies and implementations</title>
<packages>org.apache.activemq.store:org.apache.activemq.store.*</packages>
</packageGroup>
<packageGroup>
<title>Core router services</title>
<packages>org.apache.activemq.service:org.apache.activemq.service.*</packages>
</packageGroup>
<packageGroup>
<title>Utilities</title>
<packages>org.apache.activemq.capacity:org.apache.activemq.io.util:org.apache.activemq.util</packages>
</packageGroup>
</packageGroups>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-jaas</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<!-- used to support optional transport configuration via URI query strings -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons_beanutils_version}</version>
<properties>
<war.bundle>true</war.bundle>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<!-- parser for selectors -->
<dependency>
<groupId>javacc</groupId>
<artifactId>javacc</artifactId>
<version>${javacc_version}</version>
<jar>JavaCC.zip</jar>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>jmdns</artifactId>
<version>${jmdns_version}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>${jmock_version}</version>
<url>http://jmock.codehaus.org/</url>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>${jmock_cglib_version}</version>
<url>http://jmock.codehaus.org/</url>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-full</artifactId>
<version>${cglib_full_version}</version>
<url>http://cglib.sourceforge.net/</url>
</dependency>
<!-- Derby SQL DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
</dependency>
<!-- For Journal -->
<dependency>
<groupId>howl</groupId>
<artifactId>howl-logger</artifactId>
<version>${howl_logger_version}</version>
<url>http://forge.objectweb.org/projects/howl</url>
</dependency>
<!-- For Spring -->
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
<version>${spring_version}</version>
<url>http://www.springframework.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- for custom XML parsing -->
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>2.2</version>
<url>http://www.xbean.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xbean</artifactId>
<version>2.0.0-beta1</version>
</dependency>
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xmlpublic</artifactId>
<version>2.0.0-beta1</version>
</dependency>
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xbean_xpath</artifactId>
<version>2.0.0-beta1</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax</artifactId>
<version>1.1.1-dev</version>
</dependency>
<dependency>
<groupId>activesoap</groupId>
<artifactId>jaxp-api</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>qdox</groupId>
<artifactId>qdox</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>smack</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>smackx</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-jmx</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
<version>${mx4j_remote_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-tools</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-impl</artifactId>
<version>${mx4j_version}</version>
</dependency>
<!-- gram libraries -->
<dependency>
<groupId>groovy</groupId>
<artifactId>gram</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.0-jsr-04</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>annogen</groupId>
<artifactId>annogen</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>${ant_version}</version>
</dependency>
<!-- Axion SQL DB used for testing JDBC message store -->
<dependency>
<groupId>axion</groupId>
<artifactId>axion</artifactId>
<version>${axion_version}</version>
</dependency>
<dependency>
<groupId>commons-primitives</groupId>
<artifactId>commons-primitives</artifactId>
<version>${commons_primitives_version}</version>
</dependency>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
<version>${regexp_version}</version>
</dependency>
<!-- HSQL SQL DB used for testing JDBC message store -->
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb_version}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons_dbcp_version}</version>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>${commons_pool_version}</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
</dependency>
<!-- JAAS Login Modules -->
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-jaas</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
<!-- These tests run too slow to execute as part of the unit tests -->
<exclude>**/DefaultStoreBrokerTest.*</exclude>
<exclude>**/TcpTransportBrokerTest.*</exclude>
<exclude>**/activeio/*</exclude>
<!-- These are performance tests so take too long to run -->
<exclude>**/perf/*</exclude>
<!-- This is working for me on linux.. If it starts failing please open a issue
and describe the enviorment.
<exclude>**/RendezvousDiscoverTransportTest.*</exclude>
-->
<!-- Kaha in flux - removing tests -->
<exclude>**/KahaXARecoveryBrokerTest.*</exclude>
<exclude>**/KahaRecoveryBrokerTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-522 -->
<exclude>**/ProxyConnectorTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-594 -->
<exclude>**/SimpleNetworkTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-583 -->
<exclude>**/DiscoveryTransportBrokerTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-610 -->
<exclude>**/FanoutTransportBrokerTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-626 -->
<exclude>**/MultipleTestsWithSpringFactoryBeanTest.*</exclude>
<exclude>**/MultipleTestsWithXBeanFactoryBeanTest.*</exclude>
<exclude>**/MultipleTestsWithSpringXBeanFactoryBeanTest.*</exclude>
<!-- https://issues.apache.org/activemq/browse/AMQ-667 -->
<!--exclude>**/SslTransportBrokerTest.*</exclude-->
<!-- TODO FIX ME ASAP -->
<exclude>**/QuickJournalRecoveryBrokerTest.*</exclude>
<exclude>**/MulticastNetworkTest.*</exclude>
<exclude>**/UnreliableUdpTransportTest.*</exclude>
<exclude>**/MulticastTransportTest.*</exclude>
<exclude>**/UdpSendReceiveWithTwoConnectionsAndLargeMessagesTest.*</exclude>
<exclude>**/UnreliableUdpTransportTest.*</exclude>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>target/generated</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<developers>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>jstrachan@logicblaze.com</email>
</developer>
<developer>
<name>Hiram Chirino</name>
<id>chirino</id>
<email>hiram@logicblaze.com</email>
</developer>
<developer>
<name>Rob Davies</name>
<id>Rob</id>
<email>rajdavies@gmail.com</email>
</developer>
<developer>
<name>Jonas Lim</name>
<id>jlim</id>
<email>jlim@exist.com</email>
</developer>
<developer>
<name>Frederick Oconer</name>
<id>foconer</id>
<email>foconer@exist.com</email>
</developer>
<developer>
<name>Joseph Gapuz</name>
<id>jgapuz</id>
<email>jgapuz@exist.com</email>
</developer>
<developer>
<name>Patrick Villacorta</name>
<id>pvillacorta</id>
<email>pvillacorta@exist.com</email>
</developer>
<developer>
<name>Darwin Flores</name>
<id>dflores</id>
<email>dflores@exist.com</email>
</developer>
<developer>
<name>Merwin Yap</name>
<id>myap</id>
<email>myap@exist.com</email>
</developer>
<developer>
<name>Adrian Co</name>
<id>aco</id>
<email>aco@exist.com</email>
</developer>
<developer>
<name>Dennis Cook</name>
<id>dcook</id>
<email>dj_cook@yahoo.com</email>
</developer>
<developer>
<name>Dag Liodden</name>
<id>daggerrz</id>
<email>dag.liodden@giantleap.no</email>
</developer>
<developer>
<name>Peter Brooke</name>
<id>pbrooke</id>
</developer>
<developer>
<name>Ramzi Saba</name>
<id>rsaba</id>
<email>rsaba@optaros.com</email>
</developer>
<developer>
<name>Brian McCallister</name>
<id>brianm</id>
<email>brianm@apache.org</email>
</developer>
</developers>
<reports>
<report>maven-javadoc-plugin</report>
<report>maven-junit-report-plugin</report>
</reports>
<repository>
<connection>scm:svn:svn://svn.activemq.org/activemq/scm/branches/activemq-4-0/activemq</connection>
<developerConnection>scm:svn:svn://svn.activemq.org/activemq/branches/activemq-4-0/activemq</developerConnection>
<url>https://svn.activemq.org/activemq/branches/activemq-4-0/activemq/</url>
</repository>
</project>

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:license="license" xmlns:util="jelly:util" xmlns:maven="jelly:maven">
<goal name="default" prereqs="jar:install" />
</project>

View File

@ -1,12 +0,0 @@
maven.repo.remote=\
http://dist.codehaus.org,\
http://www.ibiblio.org/maven,\
http://people.apache.org/repository
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.eclipse.classpath.include=${basedir}/src/test/resources
maven.junit.jvmargs=-Djava.security.auth.login.config=src/test/resources/login.config

View File

@ -1,253 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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.
-->
<!DOCTYPE project>
<project>
<pomVersion>3</pomVersion>
<artifactId>activemq-jaas</artifactId>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: JAAS</name>
<id>activemq-jaas</id>
<description>ActiveMQ is an open source message broker and JMS 1.1 provider</description>
<shortDescription>ActiveMQ JAAS Login Modules</shortDescription>
<package>org.apache.activemq.jaas</package>
<packageGroups>
<packageGroup>
<title>Utilities</title>
<packages>org.apache.activemq.jaas.*</packages>
</packageGroup>
</packageGroups>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
</dependency>
<!-- Derby SQL DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
</dependency>
<!-- Axion SQL DB used for testing JDBC message store -->
<dependency>
<groupId>axion</groupId>
<artifactId>axion</artifactId>
<version>${axion_version}</version>
</dependency>
<dependency>
<groupId>jdbm</groupId>
<artifactId>jdbm</artifactId>
<version>${jdbm_version}</version>
<url>http://jdbm.sourceforge.net</url>
</dependency>
<dependency>
<groupId>directory</groupId>
<artifactId>apacheds-core</artifactId>
<version>${apacheds_version}</version>
</dependency>
<dependency>
<groupId>directory</groupId>
<artifactId>apacheds-shared</artifactId>
<version>${apacheds_version}</version>
</dependency>
<dependency>
<groupId>directory-asn1</groupId>
<artifactId>asn1-codec</artifactId>
<version>${asn1_version}</version>
</dependency>
<dependency>
<groupId>directory-shared</groupId>
<artifactId>apache-ldapber-provider</artifactId>
<version>${apacheds_version}</version>
</dependency>
<dependency>
<groupId>directory-asn1</groupId>
<artifactId>asn1-ber</artifactId>
<version>${asn1_version}</version>
</dependency>
<dependency>
<groupId>directory-asn1</groupId>
<artifactId>asn1-der</artifactId>
<version>${asn1_version}</version>
</dependency>
<dependency>
<groupId>jdbm</groupId>
<artifactId>jdbm</artifactId>
<version>${jdbm_version}</version>
<url>http://jdbm.sourceforge.net</url>
</dependency>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
<version>${regexp_version}</version>
<url>http://jakarta.apache.org/regexp/index.html</url>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>${oro_version}</version>
<url>http://jakarta.apache.org/oro</url>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons_lang_version}</version>
<url>http://jakarta.apache.org/commons/lang/api</url>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
<url>http://jakarta.apache.org/commons/collections</url>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons_io_version}</version>
<url>http://jakarta.apache.org/commons/io</url>
</dependency>
<dependency>
<groupId>commons-primitives</groupId>
<artifactId>commons-primitives</artifactId>
<version>${commons_primitives_version}</version>
<url>http://jakarta.apache.org/commons/primitives</url>
</dependency>
<dependency>
<groupId>directory-shared</groupId>
<artifactId>ldap-common</artifactId>
<version>${apacheds_version}</version>
</dependency>
<dependency>
<groupId>directory-shared</groupId>
<artifactId>kerberos-common</artifactId>
<version>${kerberos_common_version}</version>
</dependency>
<dependency>
<groupId>directory-network</groupId>
<artifactId>mina</artifactId>
<version>${mina_version}</version>
</dependency>
<dependency>
<groupId>directory-protocols</groupId>
<artifactId>kerberos-protocol</artifactId>
<version>${kerberos_protocols_version}</version>
</dependency>
<dependency>
<groupId>directory-protocols</groupId>
<artifactId>ldap-protocol</artifactId>
<version>${ldap_protocols_version}</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>${antlr_version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j_version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons_logging_version}</version>
<url>http://jakarta.apache.org/commons/logging</url>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<developers>
<developer>
<name>Alan D. Cabrera</name>
<id>maguro</id>
<email>adc@toolazydogs.com</email>
</developer>
</developers>
<reports>
<report>maven-developer-activity-plugin</report>
</reports>
<repository>
<connection>scm:cvs:pserver:jlim@protique.exist.com:/cvs/activemq:activemq-4</connection>
<developerConnection>scm:cvs:pserver:jlim@protique.exist.com:/cvs/activemq:activemq-4</developerConnection>
<url>http://activemq.org</url>
</repository>
</project>

View File

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:ant="jelly:ant"
>
<!-- ==================== -->
<!-- Default Global Goals -->
<!-- ==================== -->
<goal name="default">
<attainGoal name="jar:install"/>
</goal>
<goal name="rebuild">
<attainGoal name="clean"/>
<attainGoal name="jar:install"/>
</goal>
<preGoal name="jar:jar">
<ant:mkdir dir="${maven.build.dir}/timestamps"/>
<!-- Unpack all the composite ActiveMQ modules into the classes dir -->
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<j:if test="${dependency.getProperty('activemq.module') == 'true'}">
<u:file var="file" name="${artifact.path}"/>
<j:if test="${file.exists()}" >
<j:set var="uptodateFile" value="${maven.build.dir}/timestamps/${artifact.name}.ts"/>
<j:set var="uptodatePropName" value="tests.uptodate"/>
<j:remove var="${uptodatePropName}"/>
<ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}" srcfile="${artifact.path}"/>
<j:if test="${context.getVariable(uptodatePropName) != 'true'}">
<unjar dest="${maven.build.dir}/classes" src="${artifact.path}"/>
<touch file="${uptodateFile}"/>
</j:if>
</j:if>
</j:if>
</j:forEach>
<!--
<j:set var="maven.build.dest" value="${basedir}/target/${pom.groupId}-${pom.currentVersion}"/>
-->
</preGoal>
</project>

View File

@ -1,5 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.eclipse.classpath.include=${basedir}/src/main/resources

View File

@ -1,219 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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.
-->
<!DOCTYPE project>
<project>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Optional</name>
<id>activemq-optional</id>
<shortDescription>ActiveMQ Optional Tools</shortDescription>
<description>ActiveMQ Optional Tools</description>
<package>org.apache.activemq</package>
<packageGroups>
<packageGroup>
<title>HTTP Message Transport</title>
<packages>org.apache.activemq.transport.http</packages>
</packageGroup>
<packageGroup>
<title>Web Service and Apache Axis support</title>
<packages>org.apache.activemq.axis</packages>
</packageGroup>
</packageGroups>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<war.bundle>true</war.bundle>
<eclipse.dependency>true</eclipse.dependency>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
<version>${geronimo_spec_j2ee_connector_version}</version>
</dependency>
<dependency>
<id>springframework</id>
<artifactId>spring</artifactId>
<version>${spring_version}</version>
<url>http://www.springframework.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-pool</id>
<artifactId>commons-pool</artifactId>
<version>${commons_pool_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-collections</id>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- this should be an optional dependency now, when 1.1.2 of Spring is out -->
<dependency>
<id>aopalliance</id>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
<version>${axis_version}</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>${commons_httpclient_version}</version>
</dependency>
<!-- web container -->
<dependency>
<groupId>jetty</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet_api_version}</version>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty</artifactId>
<version>${jetty_version}</version>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty_version}</version>
</dependency>
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
<version>${xstream_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>${xmlpull_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>jmdns</artifactId>
<version>${jmdns_version}</version>
</dependency>
<!-- MX4J Dependency -->
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
<version>${mx4j_remote_version}</version>
</dependency>
<!-- Used for unit tests -->
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core-test</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
<!-- http://jira.activemq.org/jira/browse/AMQ-631 -->
<exclude>**/HttpsTransportBrokerTest.*</exclude>
<exclude>**/HttpTransportBrokerTest.*</exclude>
<exclude>**/Http*Test.*</exclude>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
</project>

View File

@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default">
<goal name="default" prereqs="rar:install" />
<postGoal name="clean">
<delete dir="${basedir}/activemq-data" />
</postGoal>
<preGoal name="rar:rar">
<attainGoal name="jar:install" />
</preGoal>
<preGoal name="rar:deploy">
<attainGoal name="jar:deploy" />
</preGoal>
<postGoal name="java:compile">
<attainGoal name="xbean:generate" />
</postGoal>
<goal name="xbean:generate" description="Generates the XBean XSD, documentation and META-INF/services files.">
<path id="test.classpath">
<pathelement path="${maven.build.dest}" />
<pathelement path="target/classes" />
<pathelement path="target/test-classes" />
<path refid="maven.dependency.classpath" />
</path>
<taskdef name="xsdGenerate" classname="org.apache.xbean.spring.generator.MappingGeneratorTask">
<classpath refid="test.classpath" />
</taskdef>
<xsdGenerate destFile="target/activemq-ra.xsd" namespace="http://activemq.org/ra/config/1.0" classpathref="test.classpath" srcdir="src/main/java" />
</goal>
</project>

View File

@ -1,8 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=rar
maven.rar.src=${basedir}/src/main/rar
<!-- used by spring module -->
spring_ra_version=1.2.6

View File

@ -1,203 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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.
-->
<!DOCTYPE project>
<project>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Resource Adapter</name>
<id>activemq-ra</id>
<shortDescription>
JCA Managed Connections and Resource Adapters
</shortDescription>
<description>
The ActiveMQ Java Connector Architecture Resource Adapter used to
manage ActiveMQ connection when run inside a J2EE app server.
</description>
<package>org.apache.activemq.ra</package>
<packageGroups>
<packageGroup>
<title>JCA Managed Connections and Resource Adapters</title>
<packages>org.apache.activemq.ra</packages>
</packageGroup>
</packageGroups>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
<version>${geronimo_spec_j2ee_connector_version}</version>
<properties>
<rar.bundle>false</rar.bundle>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>${jmock_version}</version>
<url>http://jmock.codehaus.org/</url>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>${jmock_cglib_version}</version>
<url>http://jmock.codehaus.org/</url>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-full</artifactId>
<version>${cglib_full_version}</version>
<url>http://cglib.sourceforge.net/</url>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>jmdns</artifactId>
<version>${jmdns_version}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
<properties>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
<properties>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<!-- Needed to start the broker on java 1.4 -->
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-jmx</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
<version>${mx4j_remote_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-tools</artifactId>
<version>${mx4j_version}</version>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-impl</artifactId>
<version>${mx4j_version}</version>
</dependency>
<!-- For Spring -->
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
<version>${spring_ra_version}</version>
<url>http://www.springframework.org</url>
<properties>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<!-- for custom XML parsing -->
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${xbean_spring_version}</version>
<url>http://www.gbean.org</url>
<properties>
<war.bundle>true</war.bundle>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<dependency>
<groupId>annogen</groupId>
<artifactId>annogen</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>qdox</groupId>
<artifactId>qdox</artifactId>
<version>1.5</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
</project>

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven">
<!-- we want the code to be built as a jar not a war -->
<goal name="default" prereqs="jar:install"/>
<goal name="run" prereqs="setclasspath"
description="Runs the Web Application in an embedded Jetty server">
<echo>Running the Web Application</echo>
<java classname="org.apache.activemq.web.JettyServer" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
</java>
</goal>
<goal name="setclasspath" prereqs="test:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}"/>
<pathelement path="target/classes"/>
<pathelement path="target/test-classes"/>
<path refid="maven.dependency.classpath"/>
</path>
</goal>
</project>

View File

@ -1,5 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.war.src=${maven.src.dir}/main/webapp

View File

@ -1,216 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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.
-->
<!DOCTYPE project>
<project>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Web</name>
<id>activemq-web</id>
<description>
Web Connector for REST API and Streamlets support
</description>
<shortDescription>
Web Connector for REST API and Streamlets support
</shortDescription>
<package>org.apache.activemq.web</package>
<packageGroups>
<packageGroup>
<title>Web Connector for REST API and Streamlets support</title>
<packages>org.apache.activemq.web</packages>
</packageGroup>
</packageGroups>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<war.bundle>true</war.bundle>
<eclipse.dependency>truex</eclipse.dependency>
</properties>
</dependency>
<dependency><!-- Used for unit tests -->
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core-test</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
<!-- for custom XML parsing -->
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${xbean_spring_version}</version>
<url>http://www.gbean.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- Derby SQL DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- For Spring servlet -->
<dependency>
<id>springframework</id>
<artifactId>spring</artifactId>
<version>${spring_version}</version>
<url>http://www.springframework.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- Rome RSS Reader -->
<dependency>
<id>rome</id>
<version>${rome_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jdom</id>
<version>${jdom_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
<version>${xstream_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>${xmlpull_version}</version>
</dependency>
<!-- optional used for in-web container testing -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jsp_2.0_spec</artifactId>
<version>${geronimo_spec_jsp_version}</version>
<properties>
<war.bundle>false</war.bundle>
<!-- <eclipse.dependency>true</eclipse.dependency> -->
</properties>
</dependency>
<!-- web container -->
<dependency>
<groupId>jetty</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet_api_version}</version>
<properties>
<war.bundle>false</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty</artifactId>
<version>${jetty_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty_version}</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>target/generated</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
</project>

View File

@ -1,787 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:ant="jelly:ant"
xmlns:util="jelly:util"
xmlns:artifact="artifact"
>
<!-- ================= -->
<!-- Global Properties -->
<!-- ================= -->
<!-- Determine what the top-level project root is -->
<j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
<!-- ==================== -->
<!-- Default Global Goals -->
<!-- ==================== -->
<goal name="default">
<ant:copy todir="${basedir}/src/test/org/apache/activemq/usecases" file="${basedir}/src/release/conf/activemq.xml" overwrite="true"/>
<attainGoal name="dist:build-bin"/>
</goal>
<goal name="prepare"
prereqs="dist:prepare-bin-filesystem"/>
<postGoal name="clean">
<delete dir="${basedir}/activemq-data" />
</postGoal>
<preGoal name="jar:jar">
<ant:mkdir dir="${maven.build.dir}/timestamps"/>
<!-- Unpack all the composite ActiveMQ modules into the classes dir -->
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<j:if test="${dependency.getProperty('activemq.module') == 'true'}">
<u:file var="file" name="${artifact.path}"/>
<j:if test="${file.exists()}" >
<j:set var="uptodateFile" value="${maven.build.dir}/timestamps/${artifact.name}.ts"/>
<j:set var="uptodatePropName" value="tests.uptodate"/>
<j:remove var="${uptodatePropName}"/>
<ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}" srcfile="${artifact.path}"/>
<j:if test="${context.getVariable(uptodatePropName) != 'true'}">
<unjar dest="${maven.build.dir}/classes" src="${artifact.path}"/>
<ant:move todir="${maven.build.dir}/classes/META-INF/${artifact.name}">
<fileset dir="${maven.build.dir}/classes/META-INF">
<include name="MANIFEST.MF*"/>
<include name="COPYRIGHT*"/>
<include name="LICENSE*"/>
<include name="NOTICE*"/>
<include name="DISCLAIMER*"/>
</fileset>
</ant:move>
<touch file="${uptodateFile}"/>
</j:if>
</j:if>
</j:if>
</j:forEach>
</preGoal>
<goal name="rebuild">
<attainGoal name="clean"/>
<attainGoal name="default"/>
</goal>
<goal
name="dist:prepare-bin-filesystem"
prereqs="jar:install"
description="Builds the binary distribution file system.">
<!--
This is the directory where everything is copied to so that it can
be archived.
-->
<ant:delete dir="${maven.dist.bin.assembly.dir}"/>
<ant:mkdir dir="${maven.dist.bin.assembly.dir}"/>
<ant:mkdir dir="${maven.build.dir}/unjar"/>
<ant:echo>
+-------------------------------------------------------+
| C R E A T I N G B I N A R Y D I S T R I B U T I O N |
+-------------------------------------------------------+
</ant:echo>
<!-- Copy in distribution files -->
<ant:copy todir="${maven.dist.bin.assembly.dir}">
<ant:fileset dir="src/release"/>
</ant:copy>
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}/bin" eol="crlf" eof="doc" includes="*.bat"/>
<ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}/bin" eol="lf" eof="unix" includes="*" excludes="*.bat"/>
<ant:chmod perm="ugo+rx">
<ant:fileset dir="${maven.dist.bin.assembly.dir}/bin">
<ant:include name="activemq"/>
</ant:fileset>
</ant:chmod>
<ant:jar destfile="${maven.dist.bin.assembly.dir}/bin/run.jar" basedir="${maven.build.dir}/classes">
<ant:include name="org/apache/activemq/console/Main*.class"/>
<ant:manifest>
<ant:attribute name="Main-Class" value="org.apache.activemq.console.Main"/>
</ant:manifest>
</ant:jar>
<ant:copy todir="${maven.dist.bin.assembly.dir/conf}">
<ant:fileset dir="${maven.build.dir}/classes" includes="**/activemq.dtd"/>
</ant:copy>
<!--
<ant:unjar src="${maven.repo.local}/${pom.groupId}/jars/activemq-core-${pom.currentVersion}.jar"
dest="${maven.build.dir}/unjar">
<ant:patternset>
<ant:include name="**/activemq.dtd"/>
</ant:patternset>
</ant:unjar>
<ant:copy todir="${maven.dist.bin.assembly.dir}/conf" flatten="true">
<ant:fileset dir="${maven.build.dir}/unjar" includes="**/activemq.dtd"/>
</ant:copy>
-->
<ant:copy todir="${maven.dist.bin.assembly.dir}" file="${maven.repo.local}/${pom.groupId}/jars/${pom.artifactId}-${pom.currentVersion}.jar"/>
<!-- Copy the runtime dependencies into lib and create a classpath for the server.jar file -->
<j:set var="libDir" value="${maven.dist.bin.assembly.dir}/lib"/>
<j:set var="optionalDir" value="${maven.dist.bin.assembly.dir}/lib/optional"/>
<ant:mkdir dir="${libDir}"/>
<ant:mkdir dir="${optionalDir}"/>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<j:if test="${dependency.getProperty('lib') == 'true'}">
<ant:copy todir="${libDir}" file="${artifact.path}"/>
<j:set var="classpath" value="${classpath} ../lib/${artifact.name}"/>
</j:if>
</j:forEach>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<echo>${artifact.path} ${dependency.getProperty('optional') == 'true'}</echo>
</j:forEach>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<echo>${artifact.path}</echo>
<j:if test="${dependency.getProperty('optional') == 'true'}">
<ant:copy todir="${optionalDir}" file="${artifact.path}"/>
<j:if test="${dependency.extension == 'jar'}">
<j:set var="classpath" value="${classpath} ../lib/optional/${artifact.name}"/>
</j:if>
<!--
<j:if test="${dependency.extension == 'rar'}">
<ant:unzip src="${artifact.path}" dest="${optionalDir}">
<ant:patternset>
<include name="${dependency.artifactId}*.jar"/>
</ant:patternset>
</ant:unzip>
</j:if>
-->
</j:if>
</j:forEach>
<ant:echo message="${project.root}"/>
<ant:copy todir="${maven.dist.bin.assembly.dir}">
<fileset dir="${project.root}" includes="*.txt,STATUS,NOTICE"/>
</ant:copy>
<!-- Copy documentation -->
<u:file var="file" name="${project.root}/activemq-core/target/docs"/>
<j:if test="${file.exists()}">
<j:set var="docsDest" value="${project.root}/activemq-core/target/docs"/>
<ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
<ant:fileset dir="${docsDest}">
<ant:include name="**"/>
</ant:fileset>
</ant:copy>
</j:if>
<!-- Copy example modules -->
<u:file var="file" name="${project.root}/activemq-web-console"/>
<j:if test="${file.exists()}">
<ant:copy todir="${maven.dist.bin.assembly.dir}/example/activemq-web-console">
<ant:fileset dir="${file}">
<ant:include name="**"/>
<ant:exclude name="target"/>
</ant:fileset>
</ant:copy>
</j:if>
<!-- Copy example modules -->
<u:file var="file" name="${project.root}/activemq-web-demo"/>
<j:if test="${file.exists()}">
<ant:copy todir="${maven.dist.bin.assembly.dir}/example/activemq-web-demo">
<ant:fileset dir="${file}">
<ant:include name="**"/>
<ant:exclude name="target"/>
</ant:fileset>
</ant:copy>
</j:if>
</goal>
<goal
name="dist:prepare-src-filesystem"
description="Builds the source distribution file system.">
<!-- S O U R C E D I S T R I B U T I O N -->
<ant:delete dir="${maven.dist.src.assembly.dir}" />
<ant:mkdir dir="${maven.dist.src.assembly.dir}" />
<ant:echo>
+-------------------------------------------------------+
| C R E A T I N G S O U R C E D I S T R I B U T I O N |
+-------------------------------------------------------+
</ant:echo>
<ant:copy todir="${maven.dist.src.assembly.dir}">
<ant:fileset dir="${project.root}">
<ant:exclude name="**/target/**"/>
<ant:exclude name="*/bin/**"/>
<ant:exclude name="**/CVS/**"/>
<ant:exclude name="**/.*/**"/>
<ant:exclude name="**/junit*.properties"/>
<ant:exclude name="**/*~"/>
<ant:exclude name="**/*.bak"/>
<ant:exclude name="**/activemq-data/**"/>
<ant:exclude name="activemq-core/foo/**"/>
<ant:exclude name="data/**"/>
</ant:fileset>
</ant:copy>
<ant:available property="maven.dist.build.xml.avail" file="${basedir}/build.xml"/>
<j:choose>
<j:when test="${maven.dist.build.xml.avail}">
<ant:copy todir="${maven.dist.src.assembly.dir}" file="${basedir}/build.xml"/>
</j:when>
<j:otherwise>
<j:if test="${sourcesPresent == 'true'}">
<attainGoal name="ant:generate-build"/>
<ant:move
file="${basedir}/build.xml"
tofile="${maven.dist.src.assembly.dir}/build.xml"/>
</j:if>
</j:otherwise>
</j:choose>
<!-- Copy Source -->
<util:available file="${maven.src.dir}">
<ant:copy todir="${maven.dist.src.assembly.dir}/src">
<ant:fileset dir="${maven.src.dir}" />
</ant:copy>
</util:available>
</goal>
<!-- ================================================================ -->
<!-- GOALS for running activemq components -->
<!-- ================================================================ -->
<!-- Sample programs -->
<goal name="server" prereqs="setclasspath"
description="Runs the ActiveMQ server">
<j:choose>
<j:when test="${empty(url)}">
<!-- run using XML deployment descriptor -->
<j:if test="${empty(config)}">
<j:set var="config" value="xbean:file:src/release/conf/activemq.xml"/>
</j:if>
<echo>Running an ActiveMQ server with $$config = ${config}</echo>
<java classname="org.apache.activemq.console.Main" fork="yes" maxmemory="512M">
<classpath refid="test.classpath"/>
<arg value="${config}"/>
<j:if test="${!empty(debug)}">
<jvmarg value="-Xdebug"/>
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/>
<jvmarg value="-Djava.compiler=NONE"/>
</j:if>
<j:if test="${empty(ignoreServer) || !empty(debug)}">
<jvmarg value="-server"/>
</j:if>
<sysproperty key="derby.system.home" value="target/derby"/>
<sysproperty key="derby.storage.fileSyncTransactionLog" value="true"/>
</java>
</j:when>
<j:otherwise>
<!-- run simple server using just a URL -->
<echo>Running an ActiveMQ server at $$url = ${url}</echo>
<java classname="org.apache.activemq.console.Main" fork="yes" maxmemory="512M">
<classpath refid="test.classpath"/>
<arg value="${url}"/>
<j:if test="${!empty(debug)}">
<jvmarg value="-Xdebug"/>
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/>
<jvmarg value="-Djava.compiler=NONE"/>
</j:if>
<j:if test="${empty(ignoreServer) || !empty(debug)}">
<jvmarg value="-server"/>
</j:if>
<sysproperty key="derby.system.home" value="target/derby"/>
<sysproperty key="derby.storage.fileSyncTransactionLog" value="true"/>
<sysproperty key="activemq.persistenceAdapterFactory" value="${activemq.persistenceAdapterFactory}"/>
</java>
</j:otherwise>
</j:choose>
</goal>
<goal name="profile:server" prereqs="setclasspath"
description="Profiles the ActiveMQ server with OptimizeIt">
<j:if test="${empty(OPTIT_HOME)}">
<j:set var="OPTIT_HOME" value="C:/java/OptimizeitSuite/OptimizeitSuite50"/>
</j:if>
<j:choose>
<j:when test="${empty(url)}">
<!-- run using XML deployment descriptor -->
<j:if test="${empty(config)}">
<j:set var="config" value="src/sample-conf/default.xml"/>
</j:if>
<echo>Profiling an ActiveMQ server with $$config = ${config}</echo>
<java classname="intuitive.audit.Audit" fork="yes" maxmemory="64M">
<classpath refid="test.classpath"/>
<classpath path="${OPTIT_HOME}/lib/optit.jar"/>
<jvmarg value="-classic"/>
<jvmarg value="-Xrunpri"/>
<jvmarg value="-Xbootclasspath/a:${OPTIT_HOME}/lib/oibcp.jar"/>
<jvmarg value="-Xnoclassgc"/>
<arg value="-pause"/>
<arg value="org.apache.activemq.console.Main"/>
<arg value="${config}"/>
</java>
</j:when>
<j:otherwise>
<!-- run simple server using just a URL -->
<echo>Profiling an ActiveMQ server at $$url = ${url}</echo>
<java classname="intuitive.audit.Audit" fork="yes" maxmemory="64M">
<classpath refid="test.classpath"/>
<classpath path="${OPTIT_HOME}/lib/optit.jar"/>
<jvmarg value="-classic"/>
<jvmarg value="-Xrunpri"/>
<jvmarg value="-Xbootclasspath/a:${OPTIT_HOME}/lib/oibcp.jar"/>
<jvmarg value="-Xnoclassgc"/>
<arg value="-pause"/>
<arg value="org.apache.activemq.console.Main"/>
<arg value="${url}"/>
<sysproperty key="derby.system.home" value="target/derby"/>
<sysproperty key="derby.storage.fileSyncTransactionLog" value="true"/>
<sysproperty key="activemq.persistenceAdapterFactory" value="${activemq.persistenceAdapterFactory}"/>
</java>
</j:otherwise>
</j:choose>
</goal>
<goal name="webserver" prereqs="setclasspath"
description="Runs the ActiveMQ server embedded inside a web server">
<!--
<j:set var="maven.test.skip" value="true"/>
<attainGoal name="war"/>
-->
<j:if test="${empty(url)}">
<j:set var="url" value="${maven.repo.local}/${pom.groupId}/wars/activemq-web-${pom.currentVersion}.war"/>
</j:if>
<echo>Running an ActiveMQ web server with webapp = ${url}</echo>
<java classname="org.apache.activemq.tool.WebServer" fork="yes">
<classpath refid="test.classpath"/>
<jvmarg value="-server"/>
<arg value="${url}"/>
<sysproperty key="org.apache.commons.logging.simplelog.defaultlog" value="debug"/>
</java>
</goal>
<goal name="consumer" prereqs="setclasspath"
description="Runs a simple consumer">
<j:if test="${empty(url)}">
<j:set var="url" value="tcp://localhost:61616"/>
</j:if>
<j:if test="${empty(topic)}">
<j:set var="topic" value="true"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="FOO.BAR"/>
</j:if>
<j:if test="${empty(durable)}">
<j:set var="durable" value="false"/>
</j:if>
<j:if test="${empty(max)}">
<j:set var="max" value="0"/>
</j:if>
<echo>Running consumer against server at $$url = ${url} for subject $$subject = ${subject}</echo>
<java classname="org.apache.activemq.tool.ConsumerTool" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
<jvmarg value="-server"/>
<arg value="${url}"/>
<arg value="${topic}"/>
<arg value="${subject}"/>
<arg value="${durable}"/>
<arg value="${max}"/>
</java>
</goal>
<goal name="producer" prereqs="setclasspath"
description="Runs a simple producer">
<j:if test="${empty(url)}">
<j:set var="url" value="tcp://localhost:61616"/>
</j:if>
<j:if test="${empty(topic)}">
<j:set var="topic" value="true"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="FOO.BAR"/>
</j:if>
<j:if test="${empty(durable)}">
<j:set var="durable" value="false"/>
</j:if>
<j:if test="${empty(messageCount)}">
<j:set var="messageCount" value="10"/>
</j:if>
<j:if test="${empty(messageSize)}">
<j:set var="messageSize" value="255"/>
</j:if>
<echo>Running producer against server at $$url = ${url} for subject $$subject = ${subject}</echo>
<java classname="org.apache.activemq.tool.ProducerTool" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
<jvmarg value="-server"/>
<arg value="${url}"/>
<arg value="${topic}"/>
<arg value="${subject}"/>
<arg value="${durable}"/>
<arg value="${messageCount}"/>
<arg value="${messageSize}"/>
</java>
</goal>
<!-- JNDI examples -->
<goal name="jndi:producer" prereqs="setclasspath"
description="Runs a simple producer using JNDI to find the ConnectionFactory and Destination">
<j:if test="${!empty(jndi)}">
<echo>Using JNDI properties ${jndi}</echo>
<copy tofile="target/test-classes/jndi.properties" file="${jndi}" overwrite="true"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="MyQueue"/>
</j:if>
<j:if test="${empty(messageCount)}">
<j:set var="messageCount" value="10"/>
</j:if>
<echo>Running producer using subject $$subject = ${subject}</echo>
<java classname="org.apache.activemq.demo.SimpleProducer" fork="yes">
<classpath refid="test.classpath"/>
<jvmarg value="-server"/>
<arg value="${subject}"/>
<arg value="${messageCount}"/>
</java>
</goal>
<goal name="jndi:consumer" prereqs="setclasspath"
description="Runs a simple consumer using JNDI to find the ConnectionFactory and Destination">
<j:if test="${!empty(jndi)}">
<echo>Using JNDI properties ${jndi}</echo>
<copy tofile="target/test-classes/jndi.properties" file="${jndi}" overwrite="true"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="MyQueue"/>
</j:if>
<echo>Running consumer using subject $$subject = ${subject}</echo>
<java classname="org.apache.activemq.demo.SimpleConsumer" fork="yes">
<classpath refid="test.classpath"/>
<jvmarg value="-server"/>
<arg value="${subject}"/>
</java>
</goal>
<!-- benchmark tools -->
<goal name="bench:consumer" prereqs="setclasspath"
description="Runs a benchmark consumer">
<j:if test="${empty(topic)}">
<j:set var="topic" value="true"/>
</j:if>
<j:if test="${empty(url)}">
<j:set var="url" value="tcp://localhost:61616"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="FOO.BAR"/>
</j:if>
<j:if test="${empty(durable)}">
<j:set var="durable" value="false"/>
</j:if>
<j:if test="${empty(connections)}">
<j:set var="connections" value="1"/>
</j:if>
<echo>Running topic consumer against server at $$url = ${url} for subject $$subject = ${subject} with $$topic = ${topic}</echo>
<java classname="org.apache.activemq.benchmark.Consumer" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
<j:if test="${empty(ignoreServer)}">
<jvmarg value="-server"/>
</j:if>
<arg value="${url}"/>
<arg value="${topic}"/>
<arg value="${subject}"/>
<arg value="${durable}"/>
<arg value="${connections}"/>
</java>
</goal>
<goal name="bench:producer" prereqs="setclasspath"
description="Runs a benchmark producer">
<j:if test="${empty(topic)}">
<j:set var="topic" value="true"/>
</j:if>
<j:if test="${empty(url)}">
<j:set var="url" value="tcp://localhost:61616"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="FOO.BAR"/>
</j:if>
<j:if test="${empty(durable)}">
<j:set var="durable" value="false"/>
</j:if>
<j:if test="${empty(messageSize)}">
<j:set var="messageSize" value="1000"/>
</j:if>
<j:if test="${empty(connections)}">
<j:set var="connections" value="1"/>
</j:if>
<echo>Running topic producer against server at $$url = ${url} for subject $$subject = ${subject} with $$topic = ${topic} $$messageSize = ${messageSize}</echo>
<java classname="org.apache.activemq.benchmark.Producer" fork="yes">
<classpath refid="test.classpath"/>
<j:if test="${empty(ignoreServer)}">
<jvmarg value="-server"/>
</j:if>
<arg value="${url}"/>
<arg value="${topic}"/>
<arg value="${subject}"/>
<arg value="${durable}"/>
<arg value="${messageSize}"/>
<arg value="${connections}"/>
</java>
</goal>
<goal name="bench:both" prereqs="setclasspath"
description="Runs a benchmark producer and consumer inside the same JVM">
<j:if test="${empty(topic)}">
<j:set var="topic" value="true"/>
</j:if>
<j:if test="${empty(url)}">
<j:set var="url" value="tcp://localhost:61616"/>
</j:if>
<j:if test="${empty(subject)}">
<j:set var="subject" value="FOO.BAR"/>
</j:if>
<j:if test="${empty(durable)}">
<j:set var="durable" value="false"/>
</j:if>
<j:if test="${empty(connections)}">
<j:set var="connections" value="1"/>
</j:if>
<echo>Running topic producer against server at $$url = ${url} for subject $$subject = ${subject} with $$topic = ${topic}</echo>
<java classname="org.apache.activemq.benchmark.ProducerConsumer" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
<j:if test="${empty(ignoreServer)}">
<jvmarg value="-server"/>
</j:if>
<arg value="${url}"/>
<arg value="${topic}"/>
<arg value="${subject}"/>
<arg value="${durable}"/>
<arg value="${connections}"/>
</java>
</goal>
<goal name="bench:activemq-journal" prereqs="setclasspath"
description="Runs a benchmark to test the performance of the ActiveMQ journal">
<j:if test="${empty(journalDirectory)}">
<j:set var="journalDirectory" value="journal-logs"/>
</j:if>
<j:if test="${empty(workerIncrement)}">
<j:set var="workerIncrement" value="10"/>
</j:if>
<j:if test="${empty(incrementDelay)}">
<j:set var="incrementDelay" value="10000"/>
</j:if>
<j:if test="${empty(verbose)}">
<j:set var="verbose" value="true"/>
</j:if>
<j:if test="${empty(recordSize)}">
<j:set var="recordSize" value="1024"/>
</j:if>
<j:if test="${empty(syncFrequency)}">
<j:set var="syncFrequency" value="12"/>
</j:if>
<j:if test="${empty(workerThinkTime)}">
<j:set var="workerThinkTime" value="100"/>
</j:if>
<j:if test="${empty(segmentCount)}">
<j:set var="segmentCount" value="4"/>
</j:if>
<j:if test="${empty(segmentSize)}">
<j:set var="segmentSize" value="16777216"/>
</j:if>
<j:if test="${empty(OPTIT_HOME)}">
<j:set var="OPTIT_HOME" value="C:/java/OptimizeitSuite/OptimizeitSuite50"/>
</j:if>
<echo>Running ActiveMQ Journal Benchmark</echo>
<j:set var="mainClass" value="org.apache.activemq.journal.impl.JournalPerfTool"/>
<j:if test="${profile=='true'}">
<j:set var="mainClass" value="intuitive.audit.Audit"/>
</j:if>
<java classname="${mainClass}" fork="yes">
<j:if test="${profile=='true'}">
<jvmarg value="-Xrunpri:dmp=1"/>
<jvmarg value="-Xbootclasspath/a:${OPTIT_HOME}/lib/oibcp.jar"/>
<jvmarg value="-Xnoclassgc"/>
<classpath path="${OPTIT_HOME}/lib/optit.jar"/>
<arg value="-pause"/>
<arg value="org.apache.activemq.journal.impl.JournalPerfTool"/>
</j:if>
<j:elseif test="${empty(ignoreServer)}">
<jvmarg value="-server"/>
</j:elseif>
<classpath refid="test.classpath"/>
<arg value="${journalDirectory}"/>
<arg value="${workerIncrement}"/>
<arg value="${incrementDelay}"/>
<arg value="${verbose}"/>
<arg value="${recordSize}"/>
<arg value="${syncFrequency}"/>
<arg value="${workerThinkTime}"/>
<arg value="${segmentCount}"/>
<arg value="${segmentSize}"/>
</java>
</goal>
<goal name="bench:howl-journal" prereqs="setclasspath"
description="Runs a benchmark to test the performance of the HOWL journal">
<j:if test="${empty(journalDirectory)}">
<j:set var="journalDirectory" value="journal-logs"/>
</j:if>
<j:if test="${empty(workerIncrement)}">
<j:set var="workerIncrement" value="10"/>
</j:if>
<j:if test="${empty(incrementDelay)}">
<j:set var="incrementDelay" value="10000"/>
</j:if>
<j:if test="${empty(verbose)}">
<j:set var="verbose" value="true"/>
</j:if>
<j:if test="${empty(recordSize)}">
<j:set var="recordSize" value="1024"/>
</j:if>
<j:if test="${empty(syncFrequency)}">
<j:set var="syncFrequency" value="12"/>
</j:if>
<j:if test="${empty(workerThinkTime)}">
<j:set var="workerThinkTime" value="100"/>
</j:if>
<j:if test="${empty(maxLogFiles)}">
<j:set var="maxLogFiles" value="4"/>
</j:if>
<j:if test="${empty(bufferSize)}">
<j:set var="bufferSize" value="64"/> <!-- in k -->
</j:if>
<j:if test="${empty(maxBlocksPerFile)}">
<j:set var="maxBlocksPerFile" value="256"/>
</j:if>
<j:if test="${empty(maxBuffers)}">
<j:set var="maxBuffers" value="1000"/>
</j:if>
<echo>Running HOWL Journal Benchmark</echo>
<java classname="org.apache.activemq.journal.howl.JournalPerfTool" fork="no" maxmemory="100M">
<classpath refid="test.classpath"/>
<j:if test="${empty(ignoreServer)}">
<jvmarg value="-server"/>
</j:if>
<arg value="${journalDirectory}"/>
<arg value="${workerIncrement}"/>
<arg value="${incrementDelay}"/>
<arg value="${verbose}"/>
<arg value="${recordSize}"/>
<arg value="${syncFrequency}"/>
<arg value="${workerThinkTime}"/>
<arg value="${maxLogFiles}"/>
<arg value="${bufferSize}"/>
<arg value="${maxBuffers}"/>
<arg value="${maxBlocksPerFile}"/>
</java>
</goal>
<goal name="derbyserver" prereqs="setclasspath"
description="Starts a Derby Network Server">
<echo>Running Derby Network Server</echo>
<java classname="org.apache.derby.drda.NetworkServerControl" fork="yes" maxmemory="100M">
<classpath refid="test.classpath"/>
<arg value="start"/>
</java>
</goal>
<goal name="test-create-temp-queues" prereqs="setclasspath, test:compile"
description="Tests the creation of lots of temporary queues">
<java classname="org.apache.activemq.usecases.CreateLotsOfTemporaryQueuesTest" fork="yes" maxmemory="10M">
<classpath refid="test.classpath"/>
<arg value="${count}"/>
</java>
</goal>
<goal name="setclasspath">
<path id="test.classpath">
<pathelement path="src/release/conf"/>
<pathelement path="${maven.build.dest}"/>
<pathelement path="target/classes"/>
<pathelement path="target/test-classes"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${derby.db2jcc.jar.path}"/>
<pathelement path="${derby.db2jcc_license_c.jar.path}"/>
</path>
<!-- make directories for log and data -->
<mkdir dir="../var"/>
<mkdir dir="target/derby"/>
</goal>
</project>

View File

@ -1,23 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.multiproject.type=jar
maven.dist.assembly.dir=${maven.build.dir}/${maven.final.name}
maven.dist.bin.archive.dir=${maven.dist.assembly.dir}/bin
maven.dist.src.archive.dir=${maven.dist.assembly.dir}/src
maven.dist.bin.assembly.dir=${maven.dist.assembly.dir}/bin/${maven.final.name}
maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}
maven.dist.dir=${maven.build.dir}/distributions
maven.dist.tar.executable=tar
maven.dist.gunzip.executable=gunzip
maven.repo.remote=\
http://www.ibiblio.org/maven,\
http://dist.codehaus.org,\
http://people.apache.org/repository,\
http://www.openejb.org/maven
maven.jar.mainclass = org.apache.activemq.console.Main
maven.eclipse.classpath.include=${basedir}/src/test/resources

View File

@ -1,385 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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>
<pomVersion>3</pomVersion>
<extend>${basedir}/../etc/project.xml</extend>
<name>ActiveMQ :: Assembly</name>
<id>apache-incubator-activemq</id>
<shortDescription>ActiveMQ Assembly</shortDescription>
<description>ActiveMQ Assembly creates an ActiveMQ distribution</description>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<activemq.module>true</activemq.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-optional</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<activemq.module>true</activemq.module>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio_version}</version>
<properties>
<activemq.module>true</activemq.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core-test</artifactId>
<version>${pom.currentVersion}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-console</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<activemq.module>true</activemq.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-ra</artifactId>
<version>${pom.currentVersion}</version>
<type>rar</type>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-web</artifactId>
<version>${pom.currentVersion}</version>
<type>jar</type>
<properties>
<optional>true</optional>
</properties>
</dependency>
<!-- used by the WS module -->
<dependency>
<groupId>activesoap</groupId>
<artifactId>activesoap</artifactId>
<version>${activesoap_version}</version>
<type>jar</type>
</dependency>
<!-- used to support optional transport configuration via URI query strings -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons_beanutils_version}</version>
<properties>
<war.bundle>true</war.bundle>
<rar.bundle>true</rar.bundle>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
<properties>
<war.bundle>true</war.bundle>
<rar.bundle>true</rar.bundle>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>${commons_httpclient_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<!-- web container -->
<dependency>
<groupId>jetty</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet_api_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty</artifactId>
<version>${jetty_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>jrms</groupId>
<artifactId>jrms</artifactId>
<version>${jrms_version}</version>
</dependency>
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
<version>${xstream_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
<version>${xmlpull_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>jmdns</artifactId>
<version>${jmdns_version}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activecluster</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${xbean_spring_version}</version>
<url>http://www.gbean.org</url>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<id>springframework</id>
<artifactId>spring</artifactId>
<version>${spring_version}</version>
<url>http://www.springframework.org</url>
<properties>
<optional>true</optional>
</properties>
</dependency>
<!-- To create Pooled DataSources for the JDBC message store -->
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons_dbcp_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>${commons_pool_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<!-- Derby DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
<properties>
<activemq.module>true</activemq.module>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
<version>${derbynet_version}</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xercesImpl_version}</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
<version>${xercesImpl_version}</version>
</dependency>
<!-- to create a web server to test out the web stuff -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jsp_2.0_spec</artifactId>
<version>${geronimo_spec_jsp_version}</version>
<properties>
<war.bundle>false</war.bundle>
<!-- <eclipse.dependency>true</eclipse.dependency> -->
</properties>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
<version>${geronimo_spec_j2ee_connector_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
<properties>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-tools</artifactId>
<version>${mx4j_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
<version>${mx4j_remote_version}</version>
<properties>
<optional>true</optional>
</properties>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>
<aspectSourceDirectory/>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-472 -->
<exclude>**/TopicClusterTest.*</exclude>
<!-- http://jira.activemq.org/jira/browse/AMQ-562 -->
<exclude>**/TwoMulticastDiscoveryBrokerTopicSendReceiveTest.*</exclude>
<!-- http://jira.activemq.org/jira/browse/AMQ-540 -->
<exclude>**/TwoBrokerMessageNotSentToRemoteWhenNoConsumerTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-478 -->
<exclude>**/TwoBrokerTopicSendReceiveUsingTcpTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-479 -->
<exclude>**/TwoBrokerQueueClientsReconnectTest.*</exclude>
<!--http://jira.activemq.org/jira/browse/AMQ-526-->
<exclude>**/TwoBrokerMulticastQueueTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-475 -->
<exclude>**/ThreeBrokerQueueNetworkTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-476 -->
<exclude>**/ThreeBrokerTopicNetworkTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-477 -->
<exclude>**/ThreeBrokerTopicNetworkUsingTcpTest.*</exclude>
<!-- http://jira.activemq.org/jira/browse/AMQ-539 -->
<exclude>**/ThreeBrokerQueueNetworkUsingTcpTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-473 -->
<exclude>**/MultiBrokersMultiClientsTest.*</exclude>
<!-- https://jira.logicblaze.com/jira/browse/AMQ-474 -->
<exclude>**/MultiBrokersMultiClientsUsingTcpTest.*</exclude>
<!-- http://jira.activemq.org/jira/browse/AMQ-575 -->
<exclude>**/QueueClusterTest.*</exclude>
</excludes>
</unitTest>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
</project>

View File

@ -1,5 +0,0 @@
maven.site.deploy.method=ssh
#pom.siteAddress=http://activemq.codehaus.org/
#pom.siteDirectory=c:\deployment\
#maven.xdoc.distributionUrl=http://dist.codehaus.org/activemq/distributions/

View File

@ -1,185 +0,0 @@
<?xml version="1.0"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed 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.
*/
-->
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<!--
Checkstyle checks configured for Maven.
-->
<module name="Checker">
<!-- Checks that a package.html file exists for each package. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
<module name="PackageHtml"/>
<!-- Checks whether files end with a new line. -->
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<!--
<module name="NewlineAtEndOfFile"/>
-->
<!-- Checks that property files contain the same keys. -->
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
<module name="Translation"/>
<module name="TreeWalker">
<property name="cacheFile" value="${checkstyle.cache.file}"/>
<!-- ************************************************************** -->
<!-- Checks that are different from the sun coding conventions ones -->
<!-- ************************************************************** -->
<module name="Header">
<property name="headerFile" value="${maven.checkstyle.header.file}"/>
<property name="ignoreLines" value="1,2,3,4,5,6"/>
</module>
<property name="tabWidth" value="4"/>
<module name="LeftCurly">
<property name="option" value="eol"/>
</module>
<module name="RightCurly">
<property name="option" value="alone"/>
</module>
<module name="LineLength">
<property name="max" value="132"/>
</module>
<module name="MethodLength">
<property name="max" value="175"/>
</module>
<!-- No Paren pad check
<module name="ParenPad"/>
-->
<module name="ConstantName">
<property name="format" value="log|^[a-zA-Z][a-zA-Z0-9_]*$"/>
</module>
<!-- ************************************************************** -->
<!-- Default Sun coding conventions checks -->
<!-- ************************************************************** -->
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
<property name="allowUndeclaredRTE" value="true"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
</module>
<module name="JavadocType"/>
<!--
<module name="JavadocVariable"/>
-->
<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>
<module name="MemberName"/>
<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
<!--
<module name="AvoidStarImport"/>
-->
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="FileLength"/>
<module name="ParameterNumber"/>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="EmptyForIteratorPad"/>
<module name="OperatorWrap"/>
<module name="TabCharacter"/>
<!--
<module name="NoWhitespaceAfter"/>
<module name="NoWhitespaceBefore"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
-->
<!-- Modifier Checks -->
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<!-- Checks for blocks. You know, those {}'s -->
<!-- See http://checkstyle.sf.net/config_blocks.html -->
<module name="AvoidNestedBlocks"/>
<module name="EmptyBlock"/>
<module name="NeedBraces"/>
<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="AvoidInlineConditionals"/>
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE -->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="HiddenField"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
<!--<module name="RedundantThrows"/>-->
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<!-- Checks for class design -->
<!-- See http://checkstyle.sf.net/config_design.html -->
<!--<module name="DesignForExtension"/>-->
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier"/>
<!-- Miscellaneous other checks. -->
<!-- See http://checkstyle.sf.net/config_misc.html -->
<module name="ArrayTypeStyle"/>
<!-- <module name="FinalParameters"/> -->
<module name="GenericIllegalRegexp">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
</module>
<module name="TodoComment"/>
<module name="UpperEll"/>
</module>
</module>

View File

@ -1,230 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
<a href="http://activemq.org">ActiveMQ: The Open Source Message Fabric</a>
Copyright 2004-2005 Hiram Chirino
Copyright 2004-2005 Protique Ltd
Copyright 2003-2004 The Apache Software Foundation
Licensed 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 default="default"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:ant="jelly:ant"
xmlns:maven="jelly:maven"
xmlns:define="jelly:define"
>
<!-- ================= -->
<!-- Global Properties -->
<!-- ================= -->
<!-- Determine what the top-level project root is -->
<j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
<!-- Load the global properties -->
<!--
<ant:property file="${project.root}/etc/global.properties"/>
-->
<!-- set the maven.war.final.name by hand here because the variable is not -->
<!-- expanded correctly when in the global.properties file -->
<j:set var="maven.war.final.name" value="${pom.artifactId}-${pom.currentVersion}.war"/>
<!-- convert the version-info.ent into a properties file and load that file -->
<!--
<copy file="${project.root}/etc/version-info.ent" tofile="${project.root}/etc/version-info.properties" overwrite="true"/>
<replaceregexp file="${project.root}/etc/version-info.properties"
match='&lt;!ENTITY *(.*)-version *"(.*)"&gt;'
replace="\1_version=\2"
byline="true"/>
<replaceregexp file="${project.root}/etc/version-info.properties"
match="(..*)-(..*)-(..*).version=(.*)"
replace="\1_\2_\3_version=\4"
byline="true"/>
<replaceregexp file="${project.root}/etc/version-info.properties"
match="(..*)-(..*).version=(.*)"
replace="\1_\2_version=\3"
byline="true"/>
<ant:property file="${project.root}/etc/version-info.properties"/>
-->
<!-- ==================== -->
<!-- Default Global Goals -->
<!-- ==================== -->
<goal name="default">
<attainGoal name="${maven.multiproject.type}:install"/>
</goal>
<goal name="build">
<attainGoal name="default"/>
</goal>
<goal name="rebuild">
<attainGoal name="clean"/>
<attainGoal name="build"/>
</goal>
<!-- Remove classes which depend on changed files, so they will rebuild. -->
<preGoal name="java:compile">
<!-- Build failure reports: initialize compile result to fail -->
<j:set var="generateBuildReports" value="${buildreport.generate}"/>
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:set-compile-fail"/>
</j:if>
<j:if test="${sourcesPresent}">
<ant:depend srcdir="${maven.compile.source}"
destdir="${maven.build.dest}"
dump="false"
closure="false">
<j:forEach var="sm" items="${pom.build.sourceModifications}">
<ant:available property="classPresent" classname="${sm.className}"/>
<j:if test="${classPresent != 'true'}">
<j:forEach var="exclude" items="${sm.excludes}">
<ant:exclude name="${exclude}"/>
</j:forEach>
<j:forEach var="include" items="${sm.includes}">
<ant:include name="${include}"/>
</j:forEach>
</j:if>
</j:forEach>
</ant:depend>
</j:if>
</preGoal>
<!-- Remove the log files -->
<goal name="clobber"
description="Removes all (non-repository installed) build generated files">
<!-- Let clean:clean do some work first -->
<attainGoal name="clean:clean"/>
<j:jelly xmlns="jelly:ant">
<delete quiet="false" failonerror="false">
<fileset dir="${basedir}">
<include name="maven.log"/>
<include name="velocity.log*"/>
<include name="junit*.properties"/>
</fileset>
</delete>
</j:jelly>
</goal>
<!-- If there is no src/test directory you can
turn off clover in that module by overriding this goal to do nothing -->
<goal name="clover.wrapper">
<attainGoal name="clover"/>
</goal>
<preGoal name="clover:test">
<j:set var="cloveroverride" value="true"/>
</preGoal>
<!-- A goal that causes the tests to be skipped -->
<goal name="test:skip">
<j:set var="maven.test.skip" value="true"/>
</goal>
<!-- Build failure reports: initialize test result to fail -->
<preGoal name="test:test">
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:set-test-fail"/>
<!-- Build failure reports: ignore failures so test failures can be
checked (postGoal not run if tests fail) -->
<j:set var="maven.test.failure.ignore" value="true"/>
</j:if>
</preGoal>
<!-- Check if the tests need to run -->
<preGoal name="test:test">
<j:if test="${context.getVariable('maven.test.force') == null}">
<j:if test="${cloveroverride != 'true'}">
<j:set var="uptodatePropName" value="tests.uptodate"/>
<j:remove var="${uptodatePropName}"/>
<ant:mkdir dir="${basedir}/target/test-reports/"/>
<j:set var="uptodateFile" value="${basedir}/target/test-reports/tstamp"/>
<u:file var="file" name="${basedir}/src"/>
<j:if test="${file.exists()}" >
<ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}">
<ant:srcfiles dir="${basedir}/src/" includes="**/*"/>
</ant:uptodate>
</j:if>
<j:if test="${context.getVariable(uptodatePropName) == 'true'}">
<ant:echo>NOTICE: Skipping tests; they seem to have passed already</ant:echo>
<j:set var="maven.test.skip" value="true"/>
<j:set var="unitTestSourcesPresent" value="false"/>
<!-- Build failure reports: generate test reports even if
already passed -->
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:set-test-results"/>
</j:if>
</j:if>
</j:if>
</j:if>
</preGoal>
<!-- Update the timestamp of the last successful test -->
<postGoal name="test:test">
<j:if test="${context.getVariable('maven.test.failure') == null}">
<ant:touch file="${basedir}/target/test-reports/tstamp"/>
</j:if>
</postGoal>
<!-- Build failure reports: write test results. Set build to success if no
test failures -->
<postGoal name="test:test">
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:set-test-results"/>
<!-- Build failure reports: manually fail since failures are ignored
-->
<j:if test="${maven.test.failure}">
<fail message="There were test failures."/>
</j:if>
</j:if>
</postGoal>
<!--
<postGoal name="site">
<j:set var="module.root" value="${pom.file.parentFile.canonicalFile}"/>
<j:set var="moduleDirName">${pom.file.parentFile.name}</j:set>
<j:set var="moduleTypeDirName">${pom.file.parentFile.parentFile.name}</j:set>
<j:set var="outputDir">${project.root}/target/docs/${moduleTypeDirName}/${moduleDirName}</j:set>
<ant:echo>Copying site docs to: ${outputDir}...</ant:echo>
<ant:mkdir dir="${outputDir}"/>
<ant:copy todir="${outputDir}">
<ant:fileset dir="${module.root}/target/docs"/>
</ant:copy>
</postGoal>
-->
<goal name="install">
<attainGoal name="${maven.multiproject.type}:install"/>
</goal>
<preGoal name="site">
<j:set var="maven.test.skip" value="true"/>
<attainGoal name="install"/>
<j:set var="maven.test.skip" value="false"/>
</preGoal>
</project>

View File

@ -1,210 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.repo.remote=\
http://dist.codehaus.org,\
http://www.ibiblio.org/maven,\
http://people.apache.org/repository
maven.compile.source=1.4
maven.compile.target=1.4
maven.compile.deprecation=true
maven.compile.debug=true
maven.compile.optimize=true
maven.docs.src=${basedir}/xdocs
# -------------------------------------------------------------------
# Testing Properties
# -------------------------------------------------------------------
maven.test.source=1.4
maven.test.target=1.4
maven.junit.sysproperties = activemq.store.dir derby.system.home derby.storage.fileSyncTransactionLog java.security.auth.login.config
maven.junit.fork = true
maven.junit.jvmargs=-Xmx256m
activemq.store.dir = target/MessageStore
activemq.persistenceAdapterFactory = org.apache.activemq.store.DefaultPersistenceAdapterFactory
derby.system.home = target/derby
derby.storage.fileSyncTransactionLog=true
java.security.auth.login.config=src/test/resources/login.config
# -------------------------------------------------------------------
# Javadoc Properties
# -------------------------------------------------------------------
maven.javadoc.source=1.4
maven.javadoc.links=\
http://java.sun.com/j2se/1.4.1/docs/api/,\
http://java.sun.com/j2ee/1.4/docs/api/,\
http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/doc/api/,\
http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent,\
http://jakarta.apache.org/commons/logging/apidocs
maven.javadoc.additionalparam = -linksource
# -------------------------------------------------------------------
# Eclipse IDE Properties
# -------------------------------------------------------------------
maven.eclipse.output.dir=${basedir}/target/eclipse
maven.eclipse.test.output.dir=${basedir}target/eclipse
# -------------------------------------------------------------------
# Checkstyle Properties
# -------------------------------------------------------------------
maven.checkstyle.properties = ${basedir}/checkstyle.xml
maven.checkstyle.header.file = ${basedir}/LICENSE.txt
# -------------------------------------------------------------------
# codehaus theme
# -------------------------------------------------------------------
maven.xdoc.theme.url=http://codehaus.org/codehaus-style.css
maven.repo.list=apache
maven.repo.apache=scp://people.apache.org
maven.repo.apache.directory=/www/people.apache.org/repository
maven.repo.apache.group=apcvs
maven.repo.apache.ssh.executable=ssh
maven.repo.apache.scp.executable=scp
# -------------------------------------------------------------------
# dependency versions
# -------------------------------------------------------------------
#maven.jar.override=on
<!-- used by all modules -->
ant_version=1.6
geronimo_spec_j2ee_version=1.0
concurrent_version=1.3.4
commons_logging_version=1.0.4
log4j_version=1.2.12
junit_version=3.8.1
jmock_version=1.0.1
jmock_cglib_version=1.0.1
<!-- used by core module -->
commons_beanutils_version=1.6.1
javacc_version=2.1
activecluster_version=1.1-SNAPSHOT
activeio_version=3.0-SNAPSHOT
drools_core_version=2.0-beta-13
xerces_version=2.6.2
xml_parser_apis_version=2.2.1
<!-- used by axis module -->
axis_version=1.2-RC1
<!-- used by gbean module -->
geronimo_kernel_version=1.2-SNAPSHOT
geronimo_system_version=1.2-SNAPSHOT
geronimo_management_version=1.2-SNAPSHOT
geronimo_j2ee_version=1.2-SNAPSHOT
xmlbeans_version=1.0-DEV
<!-- used by spring module -->
spring_version=1.2.6
xbean_spring_version=2.2
<!-- used by store-bdb module -->
berkeleydb_version=1.5.1
<!-- used by store-bdbn module -->
berkeleydb_native_version=4.2
<!-- used by store-howl module -->
howl_logger_version=0.1.8
<!-- used by store-jdbc module -->
<!-- Connection Pool dependencies -->
commons_dbcp_version=1.2
commons_pool_version=1.2
<!-- Axion dependencies -->
axion_version=1.0-M3-dev
commons_collections_version=2.1
commons_primitives_version=20041207.202534
regexp_version=1.3
<!-- HSQL dependencies -->
hsqldb_version=1.7.2.2
<!-- Derby dependencies -->
derby_version=10.1.1.0
derbynet_version=10.1.1.0
<!-- used by store-jdbm module -->
jdbm_version=0.20-dev
<!-- used by transport-ember module -->
emberio_version=0.3-alpha
emberio_version=0.3-alpha
<!-- used by transport-gnet module -->
geronimo_remoting_version=1.0-SNAPSHOT
geronimo_network_version=1.0-SNAPSHOT
geronimo_core_version=1.0-SNAPSHOT
<!-- used by transport-http module -->
commons_httpclient_version=2.0.1
#servlet_api_version=2.5-6.0-SNAPSHOT
servlet_api_version=2.5-6.0.0beta14
jetty_version=6.0.0beta14
tomcat_version=5.0.28
xercesImpl_version=2.6.2
<!-- used by transport-jgroups module -->
jgroups_version=2.2.5
<!-- used by transport-jrms module -->
jrms_version=1.1
<!-- used by transport-jxta module -->
p2psockets_core_version=1.1.2
jxta_version=2.0
<!-- used by transport-xstream module -->
xstream_version=1.1.2
xmlpull_version=1.1.3.4d_b4_min
<!-- used by transport-zeroconf module -->
jmdns_version=1.0-RC2
<!-- used by itest-client module -->
maven_itest_plugin_version=1.0
geronimo_deployment_plugin_version=1.0-SNAPSHOT
openejb_core_version=2.0-SNAPSHOT
geronimo_security_version=1.0-SNAPSHOT
cglib_version=2.0
cglib_full_version=2.0
commons_jelly_tags_velocity_version=SNAPSHOT
velocity_version=1.4-rc1
<!-- j2ee API fragment jars, used for WARs -->
geronimo_spec_jms_version=1.0
geronimo_spec_jta_version=1.0
geronimo_spec_j2ee_management_version=1.0
geronimo_spec_j2ee_jacc_version=1.0
geronimo_spec_ejb_version=1.0
geronimo_spec_j2ee_connector_version=1.0
geronimo_spec_jsp_version=1.0
<!-- used by activemq-ws -->
activesoap_version=1.0-SNAPSHOT
mx4j_version=2.1.1
mx4j_remote_version=2.1.1
<!-- used by activemq-jaas -->
antlr_version=2.7.2
apacheds_version=0.9.2
asn1_version=0.3.2
commons_io_version=1.0
commons_lang_version=2.0
kerberos_common_version=0.5
kerberos_protocols_version=0.5
ldap_protocols_version=0.9.2
mina_version=0.7.3
oro_version=2.0.8
slf4j_version=1.0-beta7
<!-- used by activemq-web -->
jdom_version=1.0
rome_version=0.8

View File

@ -1,484 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
<a href="http://activemq.org">ActiveMQ: The Open Source Message Fabric</a>
Copyright 2004-2005 Hiram Chirino
Copyright 2004-2005 Protique Ltd
Licensed 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.
-->
<!DOCTYPE project>
<project>
<pomVersion>3</pomVersion>
<!-- ============== -->
<!-- Identification -->
<!-- ============== -->
<name>ActiveMQ</name>
<id>activemq</id>
<groupId>incubator-activemq</groupId>
<currentVersion>4.1-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://geronimo.apache.org</url>
<logo>http://geronimo.apache.org/images/geronimo-logo.png</logo>
</organization>
<inceptionYear>2004</inceptionYear>
<logo>http://geronimo.apache.org/images/geronimo-logo.png</logo>
<description>ActiveMQ is an open source message broker and JMS 1.1 provider</description>
<shortDescription>ActiveMQ is a message broker and a JMS 1.1 provider</shortDescription>
<url>http://geronimo.apache.org.apache.activemq</url>
<issueTrackingUrl>https://jira.logicblaze.com/jira/browse/AMQ</issueTrackingUrl>
<gumpRepositoryId>activemq</gumpRepositoryId>
<!-- Used for artifact deployment -->
<siteAddress>geronimo.apache.org</siteAddress>
<siteDirectory>/www/incubator.apache.org/activemq</siteDirectory>
<!-- SCM Information-->
<repository>
<connection>scm:subversion:http://svn.apache.org/repos/asf/incubator/activemq/trunk</connection>
<developerConnection>scm:subversion:https://svn.apache.org/repos/asf/incubator/activemq/trunk</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/incubator/activemq/trunk</url>
</repository>
<branches>
<branch>
<tag>trunk</tag>
</branch>
</branches>
<versions>
<version>
<id>4.1-SNAPSHOT</id>
<name>4.1-SNAPSHOT</name>
<tag>trunk</tag>
</version>
</versions>
<branches>
</branches>
<mailingLists>
<mailingList>
<name>ActiveMQ Developer List</name>
<subscribe>dev-subscribe@activemq.codehaus.org</subscribe>
<unsubscribe>dev-unsubscribe@activemq.codehaus.org</unsubscribe>
<archive>http://www.nabble.com/ActiveMQ---Dev-f2355.html</archive>
</mailingList>
<mailingList>
<name>ActiveMQ User List</name>
<subscribe>activemq-users-subscribe@geronimo.apache.org</subscribe>
<unsubscribe>activemq-users-unsubscribe@geronimo.apache.org</unsubscribe>
<archive>http://www.nabble.com/ActiveMQ---User-f2356.html</archive>
</mailingList>
<mailingList>
<name>ActiveMQ SCM List</name>
<subscribe>activemq-commits-subscribe@geronimo.apache.org</subscribe>
<unsubscribe>activemq-commits-unsubscribe@geronimo.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/geronimo-activemq-commits/</archive>
</mailingList>
</mailingLists>
<package>org.apache.activemq</package>
<packageGroups>
<packageGroup>
<title>Core JMS Client API</title>
<packages>org.apache.activemq:org.apache.activemq.message</packages>
</packageGroup>
<packageGroup>
<title>JMS Broker and Container</title>
<packages>org.apache.activemq.broker:org.apache.activemq.broker.*</packages>
</packageGroup>
<packageGroup>
<title>JCA Managed Connections, Resource Adapters and Management Statistics</title>
<packages>org.apache.activemq.ra:org.apache.activemq.management</packages>
</packageGroup>
<packageGroup>
<title>JNDI support</title>
<packages>org.apache.activemq.jndi</packages>
</packageGroup>
<packageGroup>
<title>Message filter and router</title>
<packages>org.apache.activemq.filter:org.apache.activemq.filter.*:org.apache.activemq.selector</packages>
</packageGroup>
<packageGroup>
<title>Web Connector for REST API and Streamlets support</title>
<packages>org.apache.activemq.web</packages>
</packageGroup>
<packageGroup>
<title>Web Service and Apache Axis support</title>
<packages>org.apache.activemq.axis</packages>
</packageGroup>
<packageGroup>
<title>Spring support</title>
<packages>org.apache.activemq.spring</packages>
</packageGroup>
<packageGroup>
<title>Geronimo / GBean support</title>
<packages>org.apache.activemq.gbean</packages>
</packageGroup>
<packageGroup>
<title>Security strategies and implementations</title>
<packages>org.apache.activemq.security</packages>
</packageGroup>
<packageGroup>
<title>Transport and WireFormat strategies and implementations</title>
<packages>org.apache.activemq.transport:org.apache.activemq.transport.*</packages>
</packageGroup>
<packageGroup>
<title>Message persistence strategies and implementations</title>
<packages>org.apache.activemq.store:org.apache.activemq.store.*</packages>
</packageGroup>
<packageGroup>
<title>Journal strategies, implementations and adapters</title>
<packages>org.apache.activemq.journal:org.apache.activemq.journal.*</packages>
</packageGroup>
<packageGroup>
<title>Core router services</title>
<packages>org.apache.activemq.service:org.apache.activemq.service.*</packages>
</packageGroup>
<packageGroup>
<title>Utilities</title>
<packages>org.apache.activemq.capacity:org.apache.activemq.io.util:org.apache.activemq.util</packages>
</packageGroup>
</packageGroups>
<developers>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>jstrachan@protique.com</email>
<organization>Protique</organization>
</developer>
<developer>
<name>Hiram Chirino</name>
<id>chirino</id>
<email>hiram@protique.com</email>
<organization>Protique</organization>
</developer>
<developer>
<name>Geir Magnusson Jr.</name>
<id>geir</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Joe Walnes</name>
<id>joe</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>David Jencks</name>
<id>djencks</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Dain Sundstrom</name>
<id>dain</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Alan D. Cabrera</name>
<id>maguro</id>
<email></email>
<organization></organization>
</developer>
<developer>
<name>Aaron Mulder</name>
<id>ammulder</id>
<email>ammulder@alumni.princeton.edu</email>
<organization></organization>
</developer>
<developer>
<name>Michael Gaffney</name>
<id>mgaffney</id>
<email>mike@gaffney.cc</email>
<organization>Panacya Inc.</organization>
</developer>
<developer>
<name>Dennis Cook</name>
<id>dcook</id>
<email>dj_cook@yahoo.com</email>
</developer>
<developer>
<name>Darwin Flores</name>
<id>dflores</id>
<email>dflores@logicblaze.com</email>
</developer>
<developer>
<name>Fritz Oconer</name>
<id>foconer</id>
<email>foconer@logicblaze.com</email>
</developer>
<developer>
<name>Jonas Lim</name>
<id>jlim</id>
<email>jlim@logicblaze.com</email>
</developer>
<developer>
<name>Joseph Gapuz</name>
<id>jgapuz</id>
<email>jgapuz@logicblaze.com</email>
</developer>
<developer>
<name>Merwin Yap</name>
<id>myap</id>
<email>myap@logicblaze.com</email>
</developer>
<developer>
<name>Patrick Villacorta</name>
<id>pvillacorta</id>
<email>pvillacorta@logicblaze.com</email>
</developer>
</developers>
<contributors>
<contributor>
<name>Charles Anthony</name>
<email></email>
</contributor>
<contributor>
<name>Brian Guan</name>
<email></email>
</contributor>
<contributor>
<name>Niklas Gustavsson</name>
<email></email>
</contributor>
<contributor>
<name>Mike Perham</name>
<email></email>
</contributor>
<contributor>
<name>Oliver Belikan</name>
<email></email>
</contributor>
<contributor>
<name>Paul Smith</name>
<email></email>
</contributor>
<contributor>
<name>Ross Mason</name>
<email></email>
</contributor>
<contributor>
<name>Thomas Heller</name>
<email></email>
</contributor>
<contributor>
<name>Peter Henning</name>
<email></email>
</contributor>
<contributor>
<name>Mats Henricson</name>
<email></email>
</contributor>
<contributor>
<name>Leo Pechersky</name>
<email></email>
</contributor>
<contributor>
<name>Li Ma</name>
<email></email>
</contributor>
<contributor>
<name>Mark Bucayan</name>
<email></email>
</contributor>
<contributor>
<name>Neil Clayton</name>
<email></email>
</contributor>
</contributors>
<!-- ==================================== -->
<!-- Dependencies Used by all the Modules -->
<!-- ==================================== -->
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<url>http://jakarta.apache.org/commons/logging/</url>
<version>${commons_logging_version}</version>
<properties>
<lib>true</lib>
<activemq.module>true</activemq.module>
<rar.bundle>true</rar.bundle>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>${geronimo_spec_jms_version}</version>
<properties>
<activemq.module>true</activemq.module>
<rar.bundle>false</rar.bundle>
<lib>true</lib>
<war.bundle>true</war.bundle>
<!-- <eclipse.dependency>true</eclipse.dependency> -->
</properties>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
<version>${geronimo_spec_jta_version}</version>
<properties>
<lib>false</lib>
<rar.bundle>false</rar.bundle>
<war.bundle>false</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
<version>${geronimo_spec_j2ee_management_version}</version>
<properties>
<activemq.module>true</activemq.module>
<lib>true</lib>
<rar.bundle>true</rar.bundle>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
<version>${geronimo_spec_j2ee_jacc_version}</version>
<properties>
<rar.bundle>false</rar.bundle>
<optional>true</optional>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
<version>2.1</version>
<properties>
<lib>true</lib>
<activemq.module>true</activemq.module>
<rar.bundle>true</rar.bundle>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j_version}</version>
<properties>
<optional>true</optional>
<rar.bundle>true</rar.bundle>
</properties>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit_version}</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@activemq.codehaus.org</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>
<aspectSourceDirectory/>
<unitTest>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/.*</exclude>
</excludes>
</resource>
</resources>
<includes>
<include>**/*Test.*</include>
</includes>
</unitTest>
<resources>
<resource>
<directory>src/conf</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/.*</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/target/xmlbeans</directory>
<includes>
<include>schema/**/*.xsb</include>
</includes>
</resource>
</resources>
</build>
<reports>
<!--
|
| These should all be completely self contained. You should be able
| to generate each of them individually without needing the final
| xdoc transformation.
|
| Each report plugin with it's POM and plugin.jelly logic should
| contain everything needed to produced the report.
|
-->
<report>maven-jdepend-plugin</report>
<!--
<report>maven-clover-plugin</report>
-->
<!-- re-enable when we can get the warnings down to less than a few Mb!
<report>maven-checkstyle-plugin</report>
<report>maven-simian-plugin</report>
<report>maven-faq-plugin</report>
-->
<!--
<report>maven-changes-plugin</report>
<report>maven-changelog-plugin</report>
<report>maven-file-activity-plugin</report>
<report>maven-developer-activity-plugin</report>
<report>maven-tasklist-plugin</report>
-->
<report>maven-javadoc-plugin</report>
<report>maven-jxr-plugin</report>
<report>maven-junit-report-plugin</report>
<report>maven-pmd-plugin</report>
</reports>
</project>

293
maven.xml
View File

@ -1,293 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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 default="default"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:ant="jelly:ant"
xmlns:modules="local:modules"
xmlns:maven="jelly:maven"
>
<!-- ======================= -->
<!-- The multi project goals -->
<!-- ======================= -->
<!--
| The main goals for multi project build are:
|
| default or build
| Executes default build for all projects
|
| clean
| Deletes the 'target' directory in all projects
|
| clean-repo
| Deletes the local repository artifacts
|
| rebuild
| Same as clean default
|
| rebuild-all
| Same as clean clean-repo default
|
| In addition to the above we support a -Dmodules command line
| option which is a comma seperated list of module names (ie.
| common, core, ...)
-->
<j:set var="distDir" value="target/${pom.groupId}-${pom.currentVersion}"/>
<goal name="init">
<ant:fileScanner var="scanner">
<ant:fileset dir="${basedir}">
<u:tokenize var="includes" delim=",">${maven.multiproject.includes}</u:tokenize>
<j:forEach var="include" items="${includes}">
<ant:include name="${include}"/>
</j:forEach>
<u:tokenize var="excludes" delim=",">${maven.multiproject.excludes}</u:tokenize>
<j:forEach var="exclude" items="${excludes}">
<ant:exclude name="${exclude}"/>
</j:forEach>
</ant:fileset>
</ant:fileScanner>
<j:set var="maven.multiproject.includes" value=""/>
<j:set var="maven.multiproject.excludes" value=""/>
<j:set var="modules.directories" value=""/>
<u:tokenize var="moduleList" delim=",">${modules}</u:tokenize>
<j:set var="currentDir" value="${basedir}/"/>
<j:forEach var="file" items="${scanner.iterator()}">
<j:set var="directory" value="${file.parentFile.absolutePath}"/>
<j:set var="include" value="${file.absolutePath.substring(currentDir.length())}"/>
<j:if test="${moduleList.isEmpty() || moduleList.contains(file.parentFile.name)}">
<j:choose>
<j:when test="${context.getVariable('maven.multiproject.includes') == ''}">
<j:set var="modules.directories" value="${directory}"/>
<j:set var="maven.multiproject.includes" value="${include}"/>
</j:when>
<j:otherwise>
<j:set var="modules.directories" value="${modules.directories},${directory}"/>
<j:set var="maven.multiproject.includes" value="${maven.multiproject.includes},${include}"/>
</j:otherwise>
</j:choose>
</j:if>
</j:forEach>
</goal>
<!-- Build failure reports: initial file creation and data-->
<preGoal name="default">
<j:set var="generateBuildReports" value="${buildreport.generate}"/>
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:init-report"/>
</j:if>
</preGoal>
<goal name="null" description="temp target for Continuum 1.0 alpha 2">
<attainGoal name="nightly-build"/>
</goal>
<goal name="rebuild" prereqs="clean,default"/>
<goal name="rebuild-all">
<attainGoal name="clean"/>
<attainGoal name="clean-repo"/>
<attainGoal name="default"/>
</goal>
<goal name="build" prereqs="default"/>
<goal name="default" prereqs="init">
<j:set var="goal" value="default"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="assembly:goal" prereqs="init">
<maven:reactor
basedir="."
includes="assembly/project.xml"
goals="${goal}"
ignoreFailures="false"
/>
</goal>
<goal name="site:deploy" prereqs="init">
<j:set var="goal" value="site:deploy"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="dist:build" prereqs="init">
<j:set var="goal" value="dist:build"/>
<attainGoal name="assembly:goal"/>
</goal>
<goal name="dist:build-bin" prereqs="init">
<j:set var="goal" value="dist:build-bin"/>
<attainGoal name="assembly:goal"/>
</goal>
<goal name="dist:deploy" prereqs="init">
<j:set var="goal" value="dist:deploy"/>
<attainGoal name="assembly:goal"/>
</goal>
<goal name="clean" prereqs="init">
<!-- should remove the base dir target and xdocs as well -->
<ant:delete dir="${basedir}/target"/>
<ant:delete dir="${basedir}/xdocs"/>
<j:set var="goal" value="clean"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="clean-targets" prereqs="init">
<u:tokenize var="directories" delim=",">${modules.directories}</u:tokenize>
<ant:delete dir="${basedir}/target"/>
<j:forEach var="directory" items="${directories}">
<ant:echo>+----------------------------------------</ant:echo>
<ant:echo>| Cleaning: ${directory} </ant:echo>
<ant:echo>+----------------------------------------</ant:echo>
<ant:delete dir="${directory}/target"/>
<ant:delete quiet="false" failonerror="false">
<ant:fileset dir="${directory}">
<ant:include name="maven.log"/>
<ant:include name="velocity.log*"/>
<ant:include name="junit*.properties"/>
</ant:fileset>
</ant:delete>
<ant:echo></ant:echo>
</j:forEach>
</goal>
<goal name="clean-repo" prereqs="init">
<ant:echo>+----------------------------------------</ant:echo>
<ant:echo>| Cleaning: repo </ant:echo>
<ant:echo>+----------------------------------------</ant:echo>
<delete dir="${maven.repo.local}/activemq"/>
</goal>
<goal name="test" prereqs="init">
<j:set var="goal" value="test"/>
<attainGoal name="multiproject:goal"/>
</goal>
<preGoal name="continuum:default">
<j:set var="generateBuildReports" value="${buildreport.generate}"/>
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:init-report"/>
</j:if>
</preGoal>
<goal name="continuum:default" prereqs="init">
<j:choose>
<j:when test="${ignoreTestFailures==true}">
<maven:reactor basedir="." goals="default" includes="${maven.multiproject.includes}" ignoreFailures="true"/>
<j:if test="${!failedProjects.isEmpty()}">
<ant:echo> </ant:echo>
<ant:echo>There are test failures in the following modules:</ant:echo>
<j:forEach var="failedProj" items="${failedProjects}">
<ant:echo> ${failedProj} </ant:echo>
</j:forEach>
<fail message="There are test failures."/>
</j:if>
</j:when>
<j:otherwise>
<maven:reactor basedir="." goals="default" includes="${maven.multiproject.includes}" ignoreFailures="false"/>
</j:otherwise>
</j:choose>
</goal>
<goal name="eclipse" prereqs="init">
<j:set var="goal" value="eclipse"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="intellij" prereqs="idea"/>
<goal name="idea" prereqs="init">
<attainGoal name="idea:multiproject"/>
</goal>
<goal name="jar:deploy" prereqs="init">
<j:set var="goal" value="jar:deploy"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="jar:install" prereqs="init">
<j:set var="goal" value="jar:install"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="install">
<attainGoal name="multiproject:install"/>
</goal>
<goal name="activemq:site">
<attainGoal name="multiproject:site"/>
</goal>
<goal name="convert-snapshots-auto">
<j:set var="goal" value="convert-snapshots-auto"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="dc">
<attain>
<attainGoal name="clean"/>
<attainGoal name="multiproject:install"/>
<attainGoal name="multiproject:deploy"/>
<attainGoal name="dist:deploy"/>
</attain>
</goal>
<goal name="rebuild-dist-bin">
<attainGoal name="rebuild-all"/>
<attainGoal name="dist:build-bin"/>
</goal>
<goal name="rebuild-it-all">
<attainGoal name="rebuild-all"/>
<attainGoal name="dist:build-bin"/>
<attainGoal name="site"/>
</goal>
<goal name="temp-site">
<attainGoal name="init"/>
<attainGoal name="multiproject:create-nav"/>
<attainGoal name="multiproject:create-overview-page"/>
<attainGoal name="site"/>
</goal>
<goal name="nightly-build" description="create a snapshot build and deploys it to the website">
<echo>Cleaning the directory</echo>
<attainGoal name="clean"/>
<echo>Compiling the codes</echo>
<attainGoal name="default"/>
<echo>Building the bin and src bundle </echo>
<attainGoal name="dist:build"/>
<echo>Creating deploy "site" </echo>
<attainGoal name="site:deploy"/>
</goal>
<goal name="reports:site">
<attainGoal name="site"/>
</goal>
</project>

View File

@ -1,32 +0,0 @@
# -------------------------------------------------------------------
# Build Properties
# -------------------------------------------------------------------
maven.repo.remote=\
http://dist.codehaus.org,\
http://www.ibiblio.org/maven,\
http://people.apache.org/repository
maven.multiproject.includes=\
activecluster/project.xml,\
activemq-core/project.xml,\
activemq-jaas/project.xml,\
activemq-ra/project.xml,\
activemq-web/project.xml,\
activemq-console/project.xml,\
activemq-optional/project.xml,\
activemq-gbean/project.xml,\
activemq-gbean-management/project.xml,\
assembly/project.xml
#activeio/project.xml,\
#activemq-systest/project.xml,\
maven.multiproject.excludes=\
etc/project.xml
maven.jar.mainclass=org.apache.activemq.console.Main
# -------------------------------------------------------------------
# ChangeLog Properties (Reports)
# -------------------------------------------------------------------
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
maven.changelog.range=7

View File

@ -1,188 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation
Licensed 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.
-->
<!-- $Rev: 54087 $ $Date$ -->
<project>
<name>ActiveMQ</name>
<id>activemq</id>
<groupId>incubator-activemq</groupId>
<currentVersion>4.0-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://incubator.apache.org/activemq</url>
<logo>http://incubator.apache.org/images/apache-incubator-logo.png</logo>
</organization>
<inceptionYear>2003</inceptionYear>
<package>org.apache.activemq</package>
<logo>http://www.logicblaze.com/images/logos/products/ActiveMQ/ActiveMQ_logo_200.jpg</logo>
<description>
ActiveMQ is a fast open source JMS 1.1 provider and Message Fabric supporting
clustering, peer networks, discovery, TCP, SSL, multicast, persistence, XA
and integrates seamlessly into J2EE 1.4 containers, light weight
containers and any Java application.
</description>
<shortDescription>An open source JMS 1.1 provider</shortDescription>
<url>http://activemq.org/</url>
<issueTrackingUrl>ihttps://jira.logicblaze.com/jira/browse/AMQ</issueTrackingUrl>
<siteAddress>http://incubator.apache.org/activemq</siteAddress>
<siteDirectory>/www/geronimo.apache.org.apache.activemq/${pom.artifactId}</siteDirectory>
<distributionSite>geronimo.apache.org</distributionSite>
<distributionDirectory>/www/geronimo.apache.org/builds</distributionDirectory>
<repository>
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/activemq/trunk/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/activemq/trunk/</developerConnection>
<url>scm:svn:https://svn.apache.org/repos/asf/incubator/activemq/trunk/</url>
</repository>
<mailingLists>
<mailingList>
<name>ActiveMQ User List</name>
<subscribe>mailto:activemq-users-subscribe@geronimo.apache.org</subscribe>
<unsubscribe>mailto:activemq-users-unsubscribe@geronimo.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/geronimo-activemq-users/</archive>
</mailingList>
<mailingList>
<name>ActiveMQ Developer List</name>
<subscribe>mailto:activemq-dev-subscribe@geronimo.apache.org</subscribe>
<unsubscribe>mailto:activemq-dev-unsubscribe@geronimo.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/geronimo-activemq-dev/</archive>
</mailingList>
<mailingList>
<name>ActiveMQ SCM List</name>
<subscribe>mailto:activemq-commits-subscribe@geronimo.apache.org</subscribe>
<unsubscribe>mailto:activemq-commits-unsubscribe@geronimo.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/geronimo-activemq-commits/</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>jstrachan@logicblaze.com</email>
</developer>
<developer>
<name>Hiram Chirino</name>
<id>chirino</id>
<email>hiram@logicblaze.com</email>
</developer>
<developer>
<name>Rob Davies</name>
<id>stewie</id>
<email>rajdavies@exist.com</email>
</developer>
<developer>
<name>Jonas Lim</name>
<id>jlim</id>
<email>jlim@exist.com</email>
</developer>
<developer>
<name>Frederick Oconer</name>
<id>foconer</id>
<email>foconer@exist.com</email>
</developer>
<developer>
<name>Joseph Gapuz</name>
<id>jgapuz</id>
<email>jgapuz@exist.com</email>
</developer>
<developer>
<name>Patrick Villacorta</name>
<id>pvillacorta</id>
<email>pvillacorta@exist.com</email>
</developer>
<developer>
<name>Darwin Flores</name>
<id>dflores</id>
<email>dflores@exist.com</email>
</developer>
<developer>
<name>Merwin Yap</name>
<id>myap</id>
<email>myap@exist.com</email>
</developer>
<developer>
<name>Adrian Co</name>
<id>aco</id>
<email>aco@exist.com</email>
</developer>
<developer>
<name>Dennis Cook</name>
<id>dcook</id>
<email>dj_cook@yahoo.com</email>
</developer>
<developer>
<name>Dag Liodden</name>
<id>daggerrz</id>
<email>dag.liodden@giantleap.no</email>
</developer>
<developer>
<name>Peter Brooke</name>
<id>pbrooke</id>
</developer>
<developer>
<name>Ramzi Saba</name>
<id>rsaba</id>
<email>rsaba@optaros.com</email>
</developer>
<developer>
<name>Brian McCallister</name>
<id>brianm</id>
<email>brianm@apache.org</email>
</developer>
</developers>
<build>
<nagEmailAddress>mailto:activemq-dev@geronimo.apache.org</nagEmailAddress>
<sourceDirectory />
<unitTestSourceDirectory />
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude />
</excludes>
</unitTest>
</build>
<reports>
<report>maven-changelog-plugin</report>
<report>maven-changes-plugin</report>
<report>maven-checkstyle-plugin</report>
<!-- <report>maven-cobertura-plugin</report> -->
<report>maven-developer-activity-plugin</report>
<report>maven-faq-plugin</report>
<report>maven-file-activity-plugin</report>
<!-- <report>maven-findbugs-plugin</report> -->
<report>maven-javadoc-plugin</report>
<report>maven-jdepend-plugin</report>
<report>maven-junit-report-plugin</report>
<report>maven-jxr-plugin</report>
<report>maven-pmd-plugin</report>
<report>maven-simian-plugin</report>
<report>maven-tasklist-plugin</report>
</reports>
</project>