Author: andrei_exadel
Date: 2008-09-19 08:40:04 -0400 (Fri, 19 Sep 2008)
New Revision: 10504
Modified:
trunk/test-applications/regressionArea/Seam-ear/pom.xml
trunk/test-applications/regressionArea/Seam-ejb/src/main/resources/components.properties
trunk/test-applications/regressionArea/Seam-web/pom.xml
trunk/test-applications/regressionArea/pom.xml
Log:
Refactoring
Modified: trunk/test-applications/regressionArea/Seam-ear/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/Seam-ear/pom.xml 2008-09-19 12:14:40 UTC (rev
10503)
+++ trunk/test-applications/regressionArea/Seam-ear/pom.xml 2008-09-19 12:40:04 UTC (rev
10504)
@@ -77,7 +77,7 @@
</dependencies>
<build>
- <finalName>${appname}</finalName>
+ <finalName>${earname}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -86,16 +86,16 @@
<jboss>
<version>4</version>
<loader-repository>
- seam.jboss.org:loader=${appname}.ear
+ seam.jboss.org:loader=${earname}.ear
</loader-repository>
</jboss>
- <displayName>${appname}-ear</displayName>
+ <displayName>Regression Test Seam App</displayName>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<modules>
<webModule>
<groupId>org.richfaces.test-applications.regressionArea</groupId>
<artifactId>Seam-web</artifactId>
- <contextRoot>/${appname}</contextRoot>
+ <contextRoot>/${contextroot}</contextRoot>
</webModule>
</modules>
</configuration>
Modified:
trunk/test-applications/regressionArea/Seam-ejb/src/main/resources/components.properties
===================================================================
---
trunk/test-applications/regressionArea/Seam-ejb/src/main/resources/components.properties 2008-09-19
12:14:40 UTC (rev 10503)
+++
trunk/test-applications/regressionArea/Seam-ejb/src/main/resources/components.properties 2008-09-19
12:40:04 UTC (rev 10504)
@@ -1,4 +1,4 @@
#
#Wed Feb 27 12:58:12 EET 2008
-jndiPattern=Seam/#{ejbName}/local
+jndiPattern=Seam-ear-1.0-SNAPSHOT/#{ejbName}/local
embeddedEjb=true
Modified: trunk/test-applications/regressionArea/Seam-web/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/pom.xml 2008-09-19 12:14:40 UTC (rev
10503)
+++ trunk/test-applications/regressionArea/Seam-web/pom.xml 2008-09-19 12:40:04 UTC (rev
10504)
@@ -60,7 +60,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <!--skip>true</skip-->
<source>1.5</source>
<target>1.5</target>
</configuration>
@@ -70,7 +69,11 @@
<configuration>
<webResources>
<resource>
+ <filtering>true</filtering>
<directory>${project.build.directory}</directory>
+ <excludes>
+ <exclude>test-classes/**</exclude>
+ </excludes>
</resource>
</webResources>
</configuration>
@@ -88,8 +91,17 @@
</build>
<profiles>
- <profile>
+ <profile>
<id>Test</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.test-applications.regressionArea</groupId>
+ <artifactId>Seam-ear</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>ear</type>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
<build>
<plugins>
<plugin>
@@ -101,6 +113,7 @@
<id>start-container</id>
<phase>pre-integration-test</phase>
<goals>
+ <goal>deploy</goal>
<goal>start</goal>
</goals>
</execution>
@@ -129,13 +142,13 @@
</properties>
</configuration>
<deployer>
- <type>local</type>
+ <type>installed</type>
<deployables>
<deployable>
-
<groupId>org.richfaces.test-applications.regressionArea</groupId>
- <artifactId>Seam-ear</artifactId>
+
<!--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>
- <pingURL>http://localhost:${jbossport}/${Seam}/</pingURL>
</deployable>
</deployables>
</deployer>
Modified: trunk/test-applications/regressionArea/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/pom.xml 2008-09-19 12:14:40 UTC (rev 10503)
+++ trunk/test-applications/regressionArea/pom.xml 2008-09-19 12:40:04 UTC (rev 10504)
@@ -22,13 +22,13 @@
</repositories>
<properties>
- <appname>Seam</appname>
+ <contextroot>Seam</contextroot>
+ <earname>Seam-${version}</earname>
<richversion>3.2.2.GA</richversion>
<seamversion>2.0.1.GA</seamversion>
<jsfversion>1.2_09</jsfversion>
<jbosshome>D:/Install/Java/jboss-4.2.3.GA</jbosshome>
<jbosscontext>default</jbosscontext>
- <jbossport>8080</jbossport>
</properties>