Author: andrei_exadel
Date: 2008-09-23 06:44:51 -0400 (Tue, 23 Sep 2008)
New Revision: 10541
Modified:
trunk/test-applications/regressionArea/Seam-web/pom.xml
trunk/test-applications/regressionArea/readMe.txt
Log:
Maven copy data source file under Jboss
Modified: trunk/test-applications/regressionArea/Seam-web/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/pom.xml 2008-09-23 08:01:37 UTC (rev
10540)
+++ trunk/test-applications/regressionArea/Seam-web/pom.xml 2008-09-23 10:44:51 UTC (rev
10541)
@@ -136,6 +136,23 @@
<build>
<plugins>
<plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copyDataSource</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy file="../Seam-ear/resources/seam-ds.xml"
toDir="${jbosshome}/server/${jbosscontext}/deploy"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>0.3.1</version>
@@ -176,12 +193,10 @@
<type>installed</type>
<deployables>
<deployable>
-
<!--groupId>org.richfaces.test-applications.regressionArea</groupId>
- <artifactId>Seam-ear</artifactId-->
<location>${settings.localRepository}/org/richfaces/test-applications/regressionArea/Seam-ear/${version}/Seam-ear-${version}.ear</location>
<type>ear</type>
</deployable>
- </deployables>
+ </deployables>
</deployer>
</configuration>
</plugin>
Modified: trunk/test-applications/regressionArea/readMe.txt
===================================================================
--- trunk/test-applications/regressionArea/readMe.txt 2008-09-23 08:01:37 UTC (rev 10540)
+++ trunk/test-applications/regressionArea/readMe.txt 2008-09-23 10:44:51 UTC (rev 10541)
@@ -2,12 +2,10 @@
2. Open regressionArea/pom.xml file. Define there jboss home property.
-3. Copy data source file from /regreassionArea/Seam-ear/resources/seam-ds.xml to jboss
deploy dir.
+3. Launch 'build.bat' to build project.
-4. Launch 'build.bat' to build project.
+4. Launch 'Test.bat' to start selenium testing.
-5. Launch 'Test.bat' to start selenium testing.
-
-----------------------------------------------------