[jbosstools-commits] JBoss Tools SVN: r42089 - trunk/as/tests/org.jboss.ide.eclipse.as.ui.test.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jun 19 11:58:05 EDT 2012


Author: mickael_istria
Date: 2012-06-19 11:58:05 -0400 (Tue, 19 Jun 2012)
New Revision: 42089

Removed:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/requirements.properties
Modified:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/pom.xml
Log:
JBIDE-11714
Use maven-dependency-plugin for an --as test

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/pom.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/pom.xml	2012-06-19 15:44:34 UTC (rev 42088)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/pom.xml	2012-06-19 15:58:05 UTC (rev 42089)
@@ -11,13 +11,37 @@
 	<packaging>eclipse-test-plugin</packaging>
 	
 	<properties>
-		<systemProperties>-Djbosstools.test.jboss.home.4.2=${requirement.build.root}/jboss-4.2.3.GA</systemProperties>
+		<systemProperties>-Djbosstools.test.jboss.home.4.2=${project.build.directory}/jboss-4.2.3.GA</systemProperties>
 		<coverage.filter>org.jboss.ide.eclipse.as.ui*</coverage.filter>
 		<emma.instrument.bundles>org.jboss.ide.eclipse.as.ui</emma.instrument.bundles>
 	</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>org.eclipse.tycho</groupId>
 				<artifactId>tycho-surefire-plugin</artifactId>

Deleted: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/requirements.properties
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/requirements.properties	2012-06-19 15:44:34 UTC (rev 42088)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/requirements.properties	2012-06-19 15:58:05 UTC (rev 42089)
@@ -1 +0,0 @@
-requirements=jbossas
\ No newline at end of file



More information about the jbosstools-commits mailing list