You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/03/05 21:31:46 UTC

svn commit: r514856 - /tapestry/tapestry5/tapestry-project/trunk/pom.xml

Author: hlship
Date: Mon Mar  5 12:31:46 2007
New Revision: 514856

URL: http://svn.apache.org/viewvc?view=rev&rev=514856
Log:
TAPESTRY-1291: Configure Surefire to run tests with 500MB of heap, and to write output to a file, rather than the console.

Modified:
    tapestry/tapestry5/tapestry-project/trunk/pom.xml

Modified: tapestry/tapestry5/tapestry-project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/pom.xml?view=diff&rev=514856&r1=514855&r2=514856
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/pom.xml (original)
+++ tapestry/tapestry5/tapestry-project/trunk/pom.xml Mon Mar  5 12:31:46 2007
@@ -1,276 +1,251 @@
 <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/maven-v4_0_0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.apache.tapestry</groupId>
-	<artifactId>tapestry-project</artifactId>
-	<packaging>pom</packaging>
-	<version>5.0.3-SNAPSHOT</version>
-	<name>Tapestry 5 Project</name>
-	<inceptionYear>2006</inceptionYear>
-	<url>http://tapestry.apache.org/tapestry5/</url>
-	<licenses>
-		<license>
-			<name>Apache Software License 2.0</name>
-			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-			<distribution>repo</distribution>
-		</license>
-	</licenses>
-	<organization>
-		<name>Apache Software Foundation</name>
-		<url>http://www.apache.org</url>
-	</organization>
-	<!-- Due to Maven 2 bugs, this has to be copied into each module POM. -->
-	<scm>
-		<connection>
-			scm:svn:https://svn.apache.org/repos/asf/tapestry/tapestry5/${pom.artifactId}/trunk/
-		</connection>
-		<url>
-			http://svn.apache.org/viewvc/tapestry/tapestry5/${pom.artifactId}/trunk/
-		</url>
-	</scm>
-	<developers>
-		<developer>
-			<id>hls</id>
-			<name>Howard M. Lewis Ship</name>
-			<email>hlship@apache.org</email>
-			<url>http://howardlewisship.com</url>
-			<roles>
-				<role>Menace</role>
-			</roles>
-			<timezone>PDT</timezone>
-		</developer>
-	</developers>
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.tapestry</groupId>
+  <artifactId>tapestry-project</artifactId>
+  <packaging>pom</packaging>
+  <version>5.0.3-SNAPSHOT</version>
+  <name>Tapestry 5 Project</name>
+  <inceptionYear>2006</inceptionYear>
+  <url>http://tapestry.apache.org/tapestry5/</url>
+  <licenses>
+    <license>
+      <name>Apache Software License 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org</url>
+  </organization>
+  <!-- Due to Maven 2 bugs, this has to be copied into each module POM. -->
+  <scm>
+    <connection>
+      scm:svn:https://svn.apache.org/repos/asf/tapestry/tapestry5/${pom.artifactId}/trunk/ </connection>
+    <url> http://svn.apache.org/viewvc/tapestry/tapestry5/${pom.artifactId}/trunk/ </url>
+  </scm>
+  <developers>
+    <developer>
+      <id>hls</id>
+      <name>Howard M. Lewis Ship</name>
+      <email>hlship@apache.org</email>
+      <url>http://howardlewisship.com</url>
+      <roles>
+        <role>Menace</role>
+      </roles>
+      <timezone>PDT</timezone>
+    </developer>
+  </developers>
 
-	<ciManagement>
-		<system>bamboo</system>
-		<url>http://tapestry.formos.com/bamboo/</url>
-	</ciManagement>
+  <ciManagement>
+    <system>bamboo</system>
+    <url>http://tapestry.formos.com/bamboo/</url>
+  </ciManagement>
 
-	<mailingLists>
-		<mailingList>
-			<name>Tapestry User List</name>
-			<subscribe>users-subscribe@tapestry.apache.org</subscribe>
-			<unsubscribe>
-				users-unsubscribe@tapestry.apache.org
-			</unsubscribe>
-			<archive>
-				http://mail-archives.apache.org/mod_mbox/tapestry-users/
-			</archive>
-		</mailingList>
-		<mailingList>
-			<name>Tapestry Developer List</name>
-			<subscribe>dev-subscribe@tapestry.apache.org</subscribe>
-			<unsubscribe>
-				dev-unsubscribe@tapestry.apache.org
-			</unsubscribe>
-			<archive>
-				http://mail-archives.apache.org/mod_mbox/tapestry-dev/
-			</archive>
-		</mailingList>
-		<mailingList>
-			<name>Tapestry Commits List</name>
-			<subscribe>commits-subscribe@tapestry.apache.org</subscribe>
-			<unsubscribe>
-				commits-unsubscribe@tapestry.apache.org
-			</unsubscribe>
-			<archive>
-				http://mail-archives.apache.org/mod_mbox/tapestry-commits/
-			</archive>
-		</mailingList>
-	</mailingLists>
+  <mailingLists>
+    <mailingList>
+      <name>Tapestry User List</name>
+      <subscribe>users-subscribe@tapestry.apache.org</subscribe>
+      <unsubscribe> users-unsubscribe@tapestry.apache.org </unsubscribe>
+      <archive> http://mail-archives.apache.org/mod_mbox/tapestry-users/ </archive>
+    </mailingList>
+    <mailingList>
+      <name>Tapestry Developer List</name>
+      <subscribe>dev-subscribe@tapestry.apache.org</subscribe>
+      <unsubscribe> dev-unsubscribe@tapestry.apache.org </unsubscribe>
+      <archive> http://mail-archives.apache.org/mod_mbox/tapestry-dev/ </archive>
+    </mailingList>
+    <mailingList>
+      <name>Tapestry Commits List</name>
+      <subscribe>commits-subscribe@tapestry.apache.org</subscribe>
+      <unsubscribe> commits-unsubscribe@tapestry.apache.org </unsubscribe>
+      <archive> http://mail-archives.apache.org/mod_mbox/tapestry-commits/ </archive>
+    </mailingList>
+  </mailingLists>
 
-	<modules>
-	  <module>../tapestry-test</module>
-		<module>../tapestry-ioc</module>
-		<module>../tapestry-core</module>
-		<module>../tapestry-spring-integration</module>
-		
-		<!-- Temporarily removed until the project is named correctly and set up with a trunk, etc. 
+  <modules>
+    <module>../tapestry-test</module>
+    <module>../tapestry-ioc</module>
+    <module>../tapestry-core</module>
+    <module>../tapestry-spring-integration</module>
+
+    <!-- Temporarily removed until the project is named correctly and set up with a trunk, etc. 
 			<module>../tapestry-Workbench</module>
 		-->
-		<!-- Now we're getting into the archetypes. -->
-		<module>../tapestry-simple</module>
-		<!-- And the Maven plugin. -->
-		<module>../tapestry-component-report</module>
-	</modules>
-	<dependencyManagement>
-		<dependencies>
-
-			<dependency>
-				<groupId>log4j</groupId>
-				<artifactId>log4j</artifactId>
-				<version>1.2.9</version>
-				<scope>test</scope>
-			</dependency>
-			<dependency>
-				<groupId>javax.servlet</groupId>
-				<artifactId>servlet-api</artifactId>
-				<version>2.4</version>
-				<scope>provided</scope>
-			</dependency>
-			<dependency>
-				<groupId>jboss</groupId>
-				<artifactId>javassist</artifactId>
-				<version>3.4.ga</version>
-				<scope>runtime</scope>
-			</dependency>
-			<dependency>
-				<groupId>commons-logging</groupId>
-				<artifactId>commons-logging</artifactId>
-				<version>1.0.4</version>
-			</dependency>
-			<dependency>
-				<groupId>org.easymock</groupId>
-				<artifactId>easymock</artifactId>
-				<version>2.2</version>
-				<scope>test</scope>
-			</dependency>
-		  
-			<!-- Now, artifacts created by Tapestry sub-projects. -->
+    <!-- Now we're getting into the archetypes. -->
+    <module>../tapestry-simple</module>
+    <!-- And the Maven plugin. -->
+    <module>../tapestry-component-report</module>
+  </modules>
+  <dependencyManagement>
+    <dependencies>
 
-			<dependency>
-				<groupId>org.apache.tapestry</groupId>
-				<artifactId>tapestry-ioc</artifactId>
-				<version>5.0.3-SNAPSHOT</version>
-				<scope>compile</scope>
-			</dependency>
-			<dependency>
-				<groupId>org.apache.tapestry</groupId>
-				<artifactId>tapestry-core</artifactId>
-				<version>5.0.3-SNAPSHOT</version>
-				<scope>compile</scope>
-			</dependency>
-		  <dependency>
-		    <groupId>org.apache.tapestry</groupId>
-		    <artifactId>tapestry-test</artifactId>
-		    <version>5.0.3-SNAPSHOT</version>
-		    <scope>test</scope>
-		  </dependency>
-		</dependencies>
-	</dependencyManagement>
-	<build>
-		<pluginManagement>
-			<plugins>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-assembly-plugin</artifactId>
-					<configuration>
-						<descriptorRefs>
-							<descriptorRef>bin</descriptorRef>
-							<descriptorRef>src</descriptorRef>
-						</descriptorRefs>
-					</configuration>
-				</plugin>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-source-plugin</artifactId>
-					<executions>
-						<execution>
-							<goals>
-								<goal>jar</goal>
-							</goals>
-						</execution>
-					</executions>
-				</plugin>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-compiler-plugin</artifactId>
-					<configuration>
-						<source>1.5</source>
-						<target>1.5</target>
-						<optimize>true</optimize>
-					</configuration>
-				</plugin>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-surefire-plugin</artifactId>
-					<version>2.8-SNAPSHOT</version>
-					<configuration>
-						<suiteXmlFiles>
-							<suiteXmlFile>
-								src/test/conf/testng.xml
-							</suiteXmlFile>
-						</suiteXmlFiles>
-					</configuration>
-				</plugin>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-jar-plugin</artifactId>
-					<configuration>
-						<archive>
-							<compress>true</compress>
-							<index>true</index>
-						</archive>
-					</configuration>
-				</plugin>
-				
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>1.2.9</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>2.4</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>jboss</groupId>
+        <artifactId>javassist</artifactId>
+        <version>3.4.ga</version>
+        <scope>runtime</scope>
+      </dependency>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.0.4</version>
+      </dependency>
+      <dependency>
+        <groupId>org.easymock</groupId>
+        <artifactId>easymock</artifactId>
+        <version>2.2</version>
+        <scope>test</scope>
+      </dependency>
 
-				
-			</plugins>
+      <!-- Now, artifacts created by Tapestry sub-projects. -->
 
-		</pluginManagement>
-	</build>
-	<reporting>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>
-					maven-project-info-reports-plugin
-				</artifactId>
-				<reportSets>
-					<reportSet>
-						<reports>
-							<report>dependencies</report>
-							<report>license</report>
-							<report>scm</report>
-							<report>project-team</report>
-							<report>mailing-list</report>
-							<report>cim</report>
-						</reports>
-					</reportSet>
-				</reportSets>
-			</plugin>
-		</plugins>
-	</reporting>
-	<repositories>
-		<repository>
-			<id>apache.snapshots</id>
-			<url>
-				http://people.apache.org/maven-snapshot-repository
-			</url>
-		</repository>
-		<repository>
-			<id>codehaus.snapshots</id>
-			<url>http://snapshots.repository.codehaus.org</url>
-		</repository>
-		<!-- Pick up the selenium JARs. -->
-		<repository>
-			<id>openqa</id>
-			<name>OpenQA Maven Repository</name>
-			<url>http://maven.openqa.org/</url>
-		</repository>
-	</repositories>
-	<pluginRepositories>
-		<pluginRepository>
-			<id>apache.snapshots</id>
-			<url>
-				http://people.apache.org/repo/m2-snapshot-repository
-			</url>
-		</pluginRepository>
-		<!-- I believe a version of the surefire plugin lives here. -->
-		<pluginRepository>
-			<id>howardlewisship.com</id>
-			<url>http://howardlewisship.com/repository</url>
-		</pluginRepository>
-		<!-- I believe the Cobertura plugin lives here. -->
-		<pluginRepository>
-			<id>codehaus.snapshots</id>
-			<url>http://snapshots.repository.codehaus.org</url>
-		</pluginRepository>
-	</pluginRepositories>
+      <dependency>
+        <groupId>org.apache.tapestry</groupId>
+        <artifactId>tapestry-ioc</artifactId>
+        <version>5.0.3-SNAPSHOT</version>
+        <scope>compile</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.tapestry</groupId>
+        <artifactId>tapestry-core</artifactId>
+        <version>5.0.3-SNAPSHOT</version>
+        <scope>compile</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.tapestry</groupId>
+        <artifactId>tapestry-test</artifactId>
+        <version>5.0.3-SNAPSHOT</version>
+        <scope>test</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <configuration>
+            <descriptorRefs>
+              <descriptorRef>bin</descriptorRef>
+              <descriptorRef>src</descriptorRef>
+            </descriptorRefs>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <executions>
+            <execution>
+              <goals>
+                <goal>jar</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+            <optimize>true</optimize>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.8-SNAPSHOT</version>
+          <configuration>
+            <suiteXmlFiles>
+              <suiteXmlFile> src/test/conf/testng.xml </suiteXmlFile>
+            </suiteXmlFiles>
+            <argLine>-Xmx500m</argLine>
+            <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <configuration>
+            <archive>
+              <compress>true</compress>
+              <index>true</index>
+            </archive>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId> maven-project-info-reports-plugin </artifactId>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>dependencies</report>
+              <report>license</report>
+              <report>scm</report>
+              <report>project-team</report>
+              <report>mailing-list</report>
+              <report>cim</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <url> http://people.apache.org/maven-snapshot-repository </url>
+    </repository>
+    <repository>
+      <id>codehaus.snapshots</id>
+      <url>http://snapshots.repository.codehaus.org</url>
+    </repository>
+    <!-- Pick up the selenium JARs. -->
+    <repository>
+      <id>openqa</id>
+      <name>OpenQA Maven Repository</name>
+      <url>http://maven.openqa.org/</url>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <url> http://people.apache.org/repo/m2-snapshot-repository </url>
+    </pluginRepository>
+    <!-- I believe a version of the surefire plugin lives here. -->
+    <pluginRepository>
+      <id>howardlewisship.com</id>
+      <url>http://howardlewisship.com/repository</url>
+    </pluginRepository>
+    <!-- I believe the Cobertura plugin lives here. -->
+    <pluginRepository>
+      <id>codehaus.snapshots</id>
+      <url>http://snapshots.repository.codehaus.org</url>
+    </pluginRepository>
+  </pluginRepositories>
 
-	<!-- Be sure to have the following in your ~/.m2/settings.xml
+  <!-- Be sure to have the following in your ~/.m2/settings.xml
 		
 		<servers>
 		<server> <id>tapestry</id> <username>hlship</username>  </server>
@@ -287,30 +262,24 @@
 		
 	-->
 
-	<distributionManagement>
-		<site>
-			<id>tapestry</id>
-			<url>
-				scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/
-			</url>
-		</site>
-		<repository>
-			<id>tapestry</id>
-			<url>
-				scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
-			</url>
-		</repository>
-		<snapshotRepository>
-			<id>tapestry</id>
-			<url>
-				scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository
-			</url>
-		</snapshotRepository>
-	</distributionManagement>
+  <distributionManagement>
+    <site>
+      <id>tapestry</id>
+      <url> scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/ </url>
+    </site>
+    <repository>
+      <id>tapestry</id>
+      <url> scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository </url>
+    </repository>
+    <snapshotRepository>
+      <id>tapestry</id>
+      <url> scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository </url>
+    </snapshotRepository>
+  </distributionManagement>
 
-	<properties>
-		<!-- Version 2.1-SNAPSHOT lists everything as 100% covered, wierd. -->
-		<cobertura-plugin-version>2.0</cobertura-plugin-version>
-	</properties>
+  <properties>
+    <!-- Version 2.1-SNAPSHOT lists everything as 100% covered, wierd. -->
+    <cobertura-plugin-version>2.0</cobertura-plugin-version>
+  </properties>
 
 </project>