Author: manik.surtani(a)jboss.com
Date: 2008-01-29 10:33:11 -0500 (Tue, 29 Jan 2008)
New Revision: 5253
Modified:
support/trunk/common/pom.xml
Log:
Excludes xml and properties files from the jar
Modified: support/trunk/common/pom.xml
===================================================================
--- support/trunk/common/pom.xml 2008-01-29 00:22:13 UTC (rev 5252)
+++ support/trunk/common/pom.xml 2008-01-29 15:33:11 UTC (rev 5253)
@@ -1,215 +1,199 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-support</artifactId>
- <version>1.1-SNAPSHOT</version>
- </parent>
-
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-common-parent</artifactId>
- <packaging>pom</packaging>
-
- <name>JBoss Cache Common Parent</name>
- <description>The parent POM for all JBoss Cache modules.</description>
- <
url>http://labs.jboss.org/jbosscache</url>
-
- <organization>
- <name>JBoss, a division of Red Hat</name>
- <url>http://labs.jboss.org</url>
- </organization>
-
- <licenses>
- <license>
- <name>GNU Lesser General Public License</name>
- <
url>http://www.gnu.org/copyleft/lesser.html</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosscache/core/trun...
-
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosscache/cor...
- <
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/</url>
- </scm>
-
- <issueManagement>
- <system>jira</system>
- <
url>http://jira.jboss.com/jira/browse/JBCACHE</url>
- </issueManagement>
-
- <ciManagement>
- <system>cruisecontrol</system>
- <
url>http://cruisecontrol.jboss.com/cc/</url>
- <notifiers>
- <notifier>
- <type>mail</type>
- <address>jbosscache-dev(a)lists.jboss.org</address>
- </notifier>
- </notifiers>
- </ciManagement>
-
- <mailingLists>
- <mailingList>
- <name>JBoss Cache Announcements</name>
- <post>jbosscache-announce(a)lists.jboss.org</post>
-
<
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-announce...
-
<
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-announ...
-
<
archive>http://lists.jboss.org/pipermail/jbosscache-dev/</archive>
- </mailingList>
- <mailingList>
- <name>JBoss Cache Commit Notificatons</name>
- <post>jbosscache-commits(a)lists.jboss.org</post>
-
<
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-commits&...
-
<
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-commit...
-
<
archive>http://lists.jboss.org/pipermail/jbosscache-commits/</archi...
- </mailingList>
- <mailingList>
- <name>JBoss Cache Developers</name>
- <post>jbosscache-dev(a)lists.jboss.org</post>
-
<
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-dev</...
-
<
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-dev<...
-
<
archive>http://lists.jboss.org/pipermail/jbosscache-dev/</archive>
- </mailingList>
- <mailingList>
- <name>JBoss Cache Issue Notifications</name>
- <post>jbosscache-issues(a)lists.jboss.org</post>
-
<
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-issues&l...
-
<
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-issues...
-
<
archive>http://lists.jboss.org/pipermail/jbosscache-issues/</archiv...
- </mailingList>
- </mailingLists>
-
- <build>
- <plugins>
- <!-- require at least JDK 1.5 to run the build -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-3</version>
- <executions>
- <execution>
- <id>enforce-java</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>[1.5,)</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- by default, compile to JDK 1.5 compatibility (individual modules
and/or user can override) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
-
- <!-- add specification/implementation details to the manifests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
-
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+<?xml version="1.0"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-support</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-common-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>JBoss Cache Common Parent</name>
+ <description>The parent POM for all JBoss Cache modules.</description>
+ <
url>http://labs.jboss.org/jbosscache</url>
+ <organization>
+ <name>JBoss, a division of Red Hat</name>
+ <url>http://labs.jboss.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License</name>
+ <
url>http://www.gnu.org/copyleft/lesser.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosscache/core/trun...
+ <
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosscache/cor...
+ <
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/</url>
+ </scm>
+ <issueManagement>
+ <system>jira</system>
+ <
url>http://jira.jboss.com/jira/browse/JBCACHE</url>
+ </issueManagement>
+ <ciManagement>
+ <system>cruisecontrol</system>
+ <
url>http://cruisecontrol.jboss.com/cc/</url>
+ <notifiers>
+ <notifier>
+ <type>mail</type>
+ <address>jbosscache-dev(a)lists.jboss.org</address>
+ </notifier>
+ </notifiers>
+ </ciManagement>
+ <mailingLists>
+ <mailingList>
+ <name>JBoss Cache Announcements</name>
+ <post>jbosscache-announce(a)lists.jboss.org</post>
+ <
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-announce...
+ <
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-announ...
+ <
archive>http://lists.jboss.org/pipermail/jbosscache-dev/</archive>
+ </mailingList>
+ <mailingList>
+ <name>JBoss Cache Commit Notificatons</name>
+ <post>jbosscache-commits(a)lists.jboss.org</post>
+ <
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-commits&...
+ <
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-commit...
+ <
archive>http://lists.jboss.org/pipermail/jbosscache-commits/</archi...
+ </mailingList>
+ <mailingList>
+ <name>JBoss Cache Developers</name>
+ <post>jbosscache-dev(a)lists.jboss.org</post>
+ <
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-dev</...
+ <
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-dev<...
+ <
archive>http://lists.jboss.org/pipermail/jbosscache-dev/</archive>
+ </mailingList>
+ <mailingList>
+ <name>JBoss Cache Issue Notifications</name>
+ <post>jbosscache-issues(a)lists.jboss.org</post>
+ <
subscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-issues&l...
+ <
unsubscribe>https://lists.jboss.org/mailman/listinfo/jbosscache-issues...
+ <
archive>http://lists.jboss.org/pipermail/jbosscache-issues/</archiv...
+ </mailingList>
+ </mailingLists>
+ <build>
+ <plugins>
+<!-- require at least JDK 1.5 to run the build -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-java</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>[1.5,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+<!-- by default, compile to JDK 1.5 compatibility (individual modules and/or user can
override) -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+<!-- add specification/implementation details to the manifests -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/*.xml</exclude>
+ <exclude>**/*.properties</exclude>
+ </excludes>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<mainClass>org.jboss.cache.Version</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
-
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>bind.address</name>
+ <value>127.0.0.1</value>
+ </property>
+ <property>
+ <name>jgroups.stack</name>
+ <value>udp</value>
+ </property>
+ <property>
+ <name>java.net.preferIPv4Stack</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <groups>functional</groups>
+ <forkMode>always</forkMode>
+<!-- increasing JVM heap size -->
+ <argLine>-Xmx1024M</argLine>
+<!-- Warning, this does not work right on 2.4-SNAPSHOT, (see SUREFIRE-349) -->
+<!-- This seems to fail in some cases on 2.3 as well, disable for now -->
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
+ </configuration>
+ </plugin>
+<!-- javadocs : we want these run in the 'package' lifecycle phase-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>javadoc</goal>
+ </goals>
+ <configuration>
+ <aggregate>${jbosscache.reports.aggregate}</aggregate>
+ <links>
+ <
link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+ <
link>http://java.sun.com/javaee/5/docs/api/</link>
+ </links>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+<!-- Eclipse -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <buildOutputDirectory>${basedir}/eclipse-output</buildOutputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ <finalName>${artifactId}</finalName>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+<!-- DISABLE - Maven doesn't build the classpath correctly
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <systemProperties>
- <property>
- <name>bind.address</name>
- <value>127.0.0.1</value>
- </property>
- <property>
- <name>jgroups.stack</name>
- <value>udp</value>
- </property>
- <property>
- <name>java.net.preferIPv4Stack</name>
- <value>true</value>
- </property>
- </systemProperties>
- <groups>functional</groups>
- <forkMode>always</forkMode>
- <!-- increasing JVM heap size -->
- <argLine>-Xmx1024M</argLine>
-
- <!-- Warning, this does not work right on 2.4-SNAPSHOT, (see
SUREFIRE-349) -->
- <!-- This seems to fail in some cases on 2.3 as well, disable for
now -->
- <redirectTestOutputToFile>false</redirectTestOutputToFile>
- </configuration>
- </plugin>
-
- <!-- javadocs : we want these run in the 'package' lifecycle
phase-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>javadoc</goal>
- </goals>
- <configuration>
-
<aggregate>${jbosscache.reports.aggregate}</aggregate>
- <links>
-
<
link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
-
<
link>http://java.sun.com/javaee/5/docs/api/</link>
- </links>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Eclipse -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
<configuration>
-
<buildOutputDirectory>${basedir}/eclipse-output</buildOutputDirectory>
- </configuration>
- </plugin>
- </plugins>
-
- <finalName>${artifactId}</finalName>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.3</version>
- </plugin>
-
- <!-- DISABLE - Maven doesn't build the classpath correctly
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
<aggregate>${jbosscache.reports.aggregate}</aggregate>
<links>
<
link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
@@ -218,200 +202,185 @@
</configuration>
</plugin>
-->
-
- <!-- JXR - links from javadocs and junit reports to an html representation
of the code -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <configuration>
- <aggregate>${jbosscache.reports.aggregate}</aggregate>
- </configuration>
- </plugin>
-
- <!-- PMD code analysis reports -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <aggregate>${jbosscache.reports.aggregate}</aggregate>
- <linkXref>true</linkXref>
- <minimumTokens>100</minimumTokens>
- <targetJdk>1.5</targetJdk>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <configuration>
- <aggregate>${jbosscache.reports.aggregate}</aggregate>
- <tags>
- <tag>@FIXME</tag>
- <tag>@fixme</tag>
- <tag>FIXME</tag>
- <tag>fixme</tag>
- <tag>@TODO</tag>
- <tag>@todo</tag>
- <tag>TODO</tag>
- <tag>todo</tag>
- </tags>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javancss-maven-plugin</artifactId>
- </plugin>
- <!-- Findbugs report -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <configuration>
- <onlyAnalyze>org.jboss.cache.*</onlyAnalyze>
- </configuration>
- </plugin>
-
- </plugins>
- </reporting>
-
- <properties>
- <!-- for now, at least, lets aggregate them -->
- <jbosscache.reports.aggregate>true</jbosscache.reports.aggregate>
- </properties>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <
url>http://repository.jboss.org/maven2</url>
- </repository>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <
url>http://snapshots.jboss.org/maven2</url>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>Main Maven Repo</id>
- <
url>http://repo1.maven.org/maven2/</url>
- </pluginRepository>
-
+<!-- JXR - links from javadocs and junit reports to an html representation of the code
-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <configuration>
+ <aggregate>${jbosscache.reports.aggregate}</aggregate>
+ </configuration>
+ </plugin>
+<!-- PMD code analysis reports -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <aggregate>${jbosscache.reports.aggregate}</aggregate>
+ <linkXref>true</linkXref>
+ <minimumTokens>100</minimumTokens>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <configuration>
+ <aggregate>${jbosscache.reports.aggregate}</aggregate>
+ <tags>
+ <tag>@FIXME</tag>
+ <tag>@fixme</tag>
+ <tag>FIXME</tag>
+ <tag>fixme</tag>
+ <tag>@TODO</tag>
+ <tag>@todo</tag>
+ <tag>TODO</tag>
+ <tag>todo</tag>
+ </tags>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javancss-maven-plugin</artifactId>
+ </plugin>
+<!-- Findbugs report -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <configuration>
+ <onlyAnalyze>org.jboss.cache.*</onlyAnalyze>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <properties>
+<!-- for now, at least, lets aggregate them -->
+ <jbosscache.reports.aggregate>true</jbosscache.reports.aggregate>
+ </properties>
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <
url>http://repository.jboss.org/maven2</url>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <
url>http://snapshots.jboss.org/maven2</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>Main Maven Repo</id>
+ <
url>http://repo1.maven.org/maven2/</url>
+ </pluginRepository>
<!-- Avoid enabling this, it brings in unstable plugins
<pluginRepository>
<id>apache.snapshots</id>
<
url>http://people.apache.org/repo/m2-snapshot-repository/</url>
</pluginRepository>
-->
- <pluginRepository>
- <id>repository.jboss.org</id>
- <
url>http://repository.jboss.org/maven2</url>
- </pluginRepository>
-
- <pluginRepository>
- <id>snapshots.jboss.org</id>
- <
url>http://snapshots.jboss.org/maven2</url>
- </pluginRepository>
-
- </pluginRepositories>
-
- <dependencies>
- <!-- test dependencies to run the test suites -->
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.1</version>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- </dependency>
-
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.2.2.0</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <!-- Profiles, used for test permutations -->
- <profiles>
- <profile>
- <id>jgroups-tcp</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <systemProperties>
- <property>
- <name>bind.address</name>
- <value>127.0.0.1</value>
- </property>
- <property>
- <name>jgroups.stack</name>
- <value>tcp</value>
- </property>
- </systemProperties>
- <groups>jgroups</groups>
-
<reportsDirectory>${project.build.directory}/jgroups-tcp-reports</reportsDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.3</version>
- <configuration>
-
<reportsDirectory>${project.build.directory}/jgroups-tcp-reports</reportsDirectory>
- <outputName>jgroups-tcp-report</outputName>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>transaction-jbossjta</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>bind.address</name>
- <value>127.0.0.1</value>
- </property>
- <property>
- <name>jgroups.stack</name>
- <value>udp</value>
- </property>
- <property>
- <name>org.jboss.cache.test.tm</name>
- <value>jboss-jta</value>
- </property>
- </systemProperties>
- <groups>transaction</groups>
-
<reportsDirectory>${project.build.directory}/transaction-jbossjta-reports</reportsDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <configuration>
-
<reportsDirectory>${project.build.directory}/transaction-jbossjta-reports</reportsDirectory>
- <outputName>transaction-jbossjta-report</outputName>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <
url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>snapshots.jboss.org</id>
+ <
url>http://snapshots.jboss.org/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <dependencies>
+<!-- test dependencies to run the test suites -->
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>5.1</version>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.2.2.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+<!-- Profiles, used for test permutations -->
+ <profiles>
+ <profile>
+ <id>jgroups-tcp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>bind.address</name>
+ <value>127.0.0.1</value>
+ </property>
+ <property>
+ <name>jgroups.stack</name>
+ <value>tcp</value>
+ </property>
+ </systemProperties>
+ <groups>jgroups</groups>
+ <reportsDirectory>${project.build.directory}/jgroups-tcp-reports</reportsDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <reportsDirectory>${project.build.directory}/jgroups-tcp-reports</reportsDirectory>
+ <outputName>jgroups-tcp-report</outputName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>transaction-jbossjta</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>bind.address</name>
+ <value>127.0.0.1</value>
+ </property>
+ <property>
+ <name>jgroups.stack</name>
+ <value>udp</value>
+ </property>
+ <property>
+ <name>org.jboss.cache.test.tm</name>
+ <value>jboss-jta</value>
+ </property>
+ </systemProperties>
+ <groups>transaction</groups>
+ <reportsDirectory>${project.build.directory}/transaction-jbossjta-reports</reportsDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <configuration>
+ <reportsDirectory>${project.build.directory}/transaction-jbossjta-reports</reportsDirectory>
+ <outputName>transaction-jbossjta-report</outputName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>