[jbosstools-commits] JBoss Tools SVN: r42088 - trunk/examples/tests/org.jboss.tools.project.examples.test.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jun 19 11:44:34 EDT 2012


Author: mickael_istria
Date: 2012-06-19 11:44:34 -0400 (Tue, 19 Jun 2012)
New Revision: 42088

Removed:
   trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties
Modified:
   trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml
Log:
JBIDE-11714
Use maven-download-plugin & maven-dependency-plugin for examples tests

Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml	2012-06-19 15:32:16 UTC (rev 42087)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml	2012-06-19 15:44:34 UTC (rev 42088)
@@ -13,11 +13,55 @@
 	<packaging>eclipse-test-plugin</packaging>
 
 	<properties>
-		<systemProperties>-Djbosstools.test.jboss.home.4.2=${requirement.build.root}/jboss-4.2.3.GA -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.0.1.GA</systemProperties>
+		<systemProperties>-Djbosstools.test.jboss.home.4.2=${project.build.directory}/jboss-4.2.3.GA -Djbosstools.test.seam.2.0.1.GA.home=${project.build.directory}/jboss-seam-2.0.1.GA</systemProperties>
 	</properties>
 	<build>
 		<plugins>
 			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-dependency-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>install-jboss-as</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>unpack</goal>
+						</goals>
+						<configuration>
+							<artifactItems>
+								<artifactItem>
+									<groupId>org.jboss.jbossas</groupId>
+									<artifactId>jboss-as-dist</artifactId>
+									<version>4.2.3.GA</version>
+									<type>zip</type>
+								</artifactItem>
+							</artifactItems>
+							<outputDirectory>${project.build.directory}</outputDirectory>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>com.googlecode.maven-download-plugin</groupId>
+				<artifactId>maven-download-plugin</artifactId>
+				<version>0.2-SNAPSHOT</version>
+				<executions>
+					<execution>
+						<id>install-seam</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>wget</goal>
+						</goals>
+						<configuration>
+							<url>http://repository.jboss.org/sourceforge/jboss-seam-2.0.1.GA.zip</url>
+							<unpack>true</unpack>
+							<outputDirectory>${project.build.directory}</outputDirectory>
+							<md5>0a1accf94fd37e40ab1091ee593b8b75</md5>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
 				<groupId>org.eclipse.tycho</groupId>
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<version>${tychoVersion}</version>

Deleted: trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties	2012-06-19 15:32:16 UTC (rev 42087)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties	2012-06-19 15:44:34 UTC (rev 42088)
@@ -1 +0,0 @@
-requirements=jbossas-4.2.3.GA,seam-2.0.1.GA
\ No newline at end of file



More information about the jbosstools-commits mailing list