mirror of https://github.com/apache/activemq.git
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:
parent
0b50c3efb7
commit
1e0bbfc3ed
|
@ -13,98 +13,6 @@
|
|||
<name>ActiveMQ :: Core</name>
|
||||
<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>
|
||||
|
||||
<dependency>
|
||||
|
@ -263,4 +171,95 @@
|
|||
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue