Adding stuff for m2 build

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2005-12-28 15:24:44 +00:00
parent 62623b185c
commit 0b50c3efb7
3 changed files with 176 additions and 305 deletions

20
assembly/LICENSE.txt Executable file
View File

@ -0,0 +1,20 @@
/**
*
* Copyright 2004 Protique Ltd
* Copyright 2004 Hiram Chirino
* Copyright 2005 (C) LogicBlaze, Inc. http://www.logicblaze.com
*
* 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.
*
**/

29
assembly/README.txt Executable file
View File

@ -0,0 +1,29 @@
Welcome to ActiveMQ
===================
ActiveMQ is a high performance Apache 2.0 licenced Message Broker and JMS 1.1 implementation.
To help you get started, try the following links:-
Getting Started
http://activemq.org/Getting+Started
Building
http://activemq.org/Building
Examples
http://activemq.org/Examples
We welcome contributions of all kinds, for details of how you can help
http://activemq.codehaus.org/Contributing
Please refer to the website for details of finding the issue tracker, email lists, wiki or IRC channel
http://activemq.org/
Please help us make ActiveMQ better - we appreciate any feedback you may have.
Enjoy!
-----------------
The ActiveMQ team

432
assembly/pom.xml Normal file → Executable file
View File

@ -1,311 +1,133 @@
<model>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-project</artifactId>
<version>4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>activemq</artifactId>
<packaging>jar</packaging>
<name>ActiveMQ :: Assembly</name>
<description>Puts together the ActiveMQ distribution</description>
<dependencies>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-optional</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-ra</artifactId>
<type>rar</type>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jaas</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-web</artifactId>
<type>war</type>
<version>${version}</version>
</dependency>
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
</dependency>
<dependency>
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<parent>
<groupId>activemq</groupId>
<artifactId>activemq</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jms</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jsp</artifactId>
</dependency>
<dependency>
<groupId>xbean</groupId>
<artifactId>xbean-spring</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</dependency>
<artifactId>activemq-assembly</artifactId>
<packaging>jar</packaging>
<name>ActiveMQ Assembly</name>
<dependency>
<groupId>jetty</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty</artifactId>
</dependency>
<build>
<testSourceDirectory>src/test</testSourceDirectory>
<testResources>
<testResource>
<filtering>false</filtering>
<directory>${basedir}/src/test</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<!-- This test sometimes hangs on linux and windows running on jdk1.5 -->
<exclude>**/ReliableReconnectTest.*</exclude>
<!-- This test currently fails [boxes: jafar], [jira: AMQ-228] -->
<exclude>**/SubscribeClosePublishThenConsumeTest.*</exclude>
<exclude>**/DurableConsumerCloseAndReconnectTest.*</exclude>
<exclude>**/QueueConsumerCloseAndReconnectTest.*</exclude>
<exclude>**/ChangeSessionDeliveryModeTest.*</exclude>
<exclude>**/DeadLetterTest.*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<id>assemble-jar</id>
<phase>package</phase>
<configuration>
<descriptor>src/main/assembly/dep.xml</descriptor>
</configuration>
<goals>
<goal>assembly</goal>
</goals>
</execution>
<execution>
<id>assemble-bin</id>
<phase>verify</phase>
<configuration>
<descriptor>src/main/assembly/bin.xml</descriptor>
<appendAssemblyId>false</appendAssemblyId>
<finalName>activemq-${version}</finalName>
</configuration>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>integration-test</phase>
<configuration>
<tasks>
<copy file="${basedir}/target/${project.build.finalName}-jar-with-dependencies.jar" tofile="${settings.localRepository}/activemq/activemq/${version}/activemq-${version}.jar"/>
<copy file="${basedir}/target/${project.build.finalName}-jar-with-dependencies.jar" tofile="${project.build.directory}/assembly/activemq-${version}.jar"/>
<copy todir="${project.build.directory}/assembly">
<fileset dir="${basedir}/src/release"/>
</copy>
<jar destfile="${project.build.directory}/assembly/bin/run.jar" basedir="${project.build.directory}/assembly/work/activemq-core-${version}">
<include name="org/activemq/broker/Main*.class"/>
<manifest>
<attribute name="Main-Class" value="org.activemq.broker.Main"/>
</manifest>
</jar>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jms</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jta</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee-management</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee-jacc</artifactId>
</dependency>
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>activemq-core-test</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>activemq-ra</artifactId>
<version>${version}</version>
<type>rar</type>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>activemq-ra</artifactId>
<version>${version}</version>
<type>jar</type>
</dependency>
<!-- used by the WS module -->
<dependency>
<groupId>activesoap</groupId>
<artifactId>activesoap</artifactId>
</dependency>
<!-- used to support optional transport configuration via URI query strings -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
<!-- web container -->
<dependency>
<groupId>jetty</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>jetty</artifactId>
</dependency>
<dependency>
<groupId>jrms</groupId>
<artifactId>jrms</artifactId>
</dependency>
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
<dependency>
<groupId>xmlpull</groupId>
<artifactId>xmlpull</artifactId>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>jmdns</artifactId>
</dependency>
<dependency>
<groupId>activecluster</groupId>
<artifactId>activecluster</artifactId>
</dependency>
<dependency>
<groupId>xbean</groupId>
<artifactId>xbean-spring</artifactId>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
</dependency>
<!-- To create Pooled DataSources for the JDBC message store -->
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
</dependency>
<!-- Derby DB used for testing JDBC message store -->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</dependency>
<!-- to create a web server to test out the web stuff -->
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jsp</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee-connector</artifactId>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j-remote</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<!-- Configure which tests are included/excuded -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.1.2-SNAPSHOT</version>
<configuration>
<forkMode>pertest</forkMode>
<excludes>
<!-- These tests run too slow to execute as part of the unit tests -->
<exclude implementation="java.lang.String">**/DefaultStoreBrokerTest.*</exclude>
<exclude implementation="java.lang.String">**/ActiveIOTransportBrokerTest.*</exclude>
<!-- These tests fails -->
<exclude implementation="java.lang.String">**/SpringTest.*</exclude>
<exclude implementation="java.lang.String">**/*QuickJournalRecoveryBrokerTest.*</exclude>
</excludes>
<includes>
<include implementation="java.lang.String">**/*RetroactiveConsumerTestWithDestinationBasedBufferTest.*</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>assembly</goal>
</goals>
<configuration>
<descriptor>src/main/descriptors/bin.xml</descriptor>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</model>