more m2 pom changes

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2005-12-28 15:25:44 +00:00
parent 0b50c3efb7
commit 1e0bbfc3ed
2 changed files with 92 additions and 92 deletions

View File

@ -13,98 +13,6 @@
<name>ActiveMQ :: Core</name> <name>ActiveMQ :: Core</name>
<description>The ActiveMQ Message Broker and Client implementations</description> <description>The ActiveMQ Message Broker and Client implementations</description>
<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>
</excludes>
<includes>
<include implementation="java.lang.String">**/*Test.*</include>
</includes>
</configuration>
</plugin>
<!-- generate the attached tests jar -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<mkdir dir="${basedir}/target/generated"/>
<taskdef name="xsdGenerate" classname="org.xbean.spring.generator.MappingGeneratorTask"/>
<xsdGenerate
destFile="${basedir}/target/activemq-${version}.xsd"
namespace="http://activemq.org/config/1.0"
srcdir="${basedir}/src/main/java"
metaInfDir="${basedir}/target/generated/"/>
<copy file="${basedir}/target/activemq-${version}.xsd" todir="${basedir}/../xdocs"/>
<copy file="${basedir}/target/activemq-${version}.xsd.html" todir="${basedir}/../xdocs"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>0.6.1-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
<outputDirectory>${basedir}/src/main/java/org/activemq/selector</outputDirectory>
</configuration>
<goals>
<goal>javacc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
@ -263,4 +171,95 @@
</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>
<!-- generate the attached tests jar -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<mkdir dir="${basedir}/target/generated"/>
<taskdef name="xsdGenerate" classname="org.xbean.spring.generator.MappingGeneratorTask"/>
<xsdGenerate
destFile="${basedir}/target/activemq-${version}.xsd"
namespace="http://activemq.org/config/1.0"
srcdir="${basedir}/src/main/java"
metaInfDir="${basedir}/target/generated/"/>
<copy file="${basedir}/target/activemq-${version}.xsd" todir="${basedir}/../xdocs"/>
<copy file="${basedir}/target/activemq-${version}.xsd.html" todir="${basedir}/../xdocs"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>0.6.1-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
<outputDirectory>${basedir}/src/main/java/org/activemq/selector</outputDirectory>
</configuration>
<goals>
<goal>javacc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</model> </model>

View File

@ -95,6 +95,7 @@
<module>activemq-optional</module> <module>activemq-optional</module>
<module>activemq-web</module> <module>activemq-web</module>
<module>activemq-systest</module> <module>activemq-systest</module>
<module>assembly</module>
<module>activeio</module> <module>activeio</module>
<module>activecluster</module> <module>activecluster</module>