Skip to content

Commit

Permalink
WELD-368
Browse files Browse the repository at this point in the history
  • Loading branch information
kpiwko committed Jan 8, 2010
1 parent bd38b12 commit 834f152
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 141 deletions.
23 changes: 20 additions & 3 deletions jsf/login/pom.xml
Expand Up @@ -77,20 +77,25 @@
</activation>

<properties>
<ftest.artifact>ftest-login</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-login</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -99,6 +104,10 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand All @@ -113,20 +122,25 @@
</activation>

<properties>
<ftest.artifact>ftest-login</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-login</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -135,14 +149,17 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>
Expand Down
23 changes: 21 additions & 2 deletions jsf/numberguess/pom.xml
Expand Up @@ -439,27 +439,33 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
</build>
</profile>

<!-- functional tests -->
<profile>
<id>ftest-jboss-remote-51</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<properties>
<ftest.artifact>ftest-numberguess</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-numberguess</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -468,6 +474,10 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand All @@ -482,20 +492,25 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
</activation>

<properties>
<ftest.artifact>ftest-numberguess</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-numberguess</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -504,6 +519,10 @@ filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.2.5.jar|appengine-api-labs-1.2.5.
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down
37 changes: 28 additions & 9 deletions jsf/permalink/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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>

<parent>
Expand Down Expand Up @@ -424,7 +425,8 @@
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>${jetty.http.port}</port>
<maxIdleTime>3600000</maxIdleTime>
</connector>
Expand All @@ -442,28 +444,32 @@
</build>

</profile>

<profile>
<id>ftest-jboss-remote-51</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<properties>
<ftest.artifact>ftest-permalink</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-permalink</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -472,35 +478,43 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>ftest-jboss-remote-60</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<properties>
<ftest.artifact>ftest-permalink</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-permalink</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -509,6 +523,10 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand All @@ -532,9 +550,10 @@
<!--
<executions> <execution> <id>touch-web-inf</id>
<phase>validate</phase> <configuration> <tasks>
<touch file="${webapp.directory}/WEB-INF/web.xml" />
</tasks> </configuration> <goals> <goal>run</goal>
</goals> </execution> </executions>
<touch file="${webapp.directory}/WEB-INF/web.xml"
/> </tasks> </configuration> <goals>
<goal>run</goal> </goals> </execution>
</executions>
-->
</plugin>
</plugins>
Expand Down
23 changes: 20 additions & 3 deletions jsf/translator/ear/pom.xml
Expand Up @@ -65,20 +65,25 @@
</activation>

<properties>
<ftest.artifact>ftest-translator</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-translator</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -87,6 +92,10 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand All @@ -101,20 +110,25 @@
</activation>

<properties>
<ftest.artifact>ftest-translator</ftest.artifact>
<ftest.version>0.1${ftest.version.discriminator}</ftest.version>
</properties>

<dependencies>
<dependency>
<groupId>org.jboss.weld.examples.ftest</groupId>
<artifactId>ftest-translator</artifactId>
<artifactId>${ftest.artifact}</artifactId>
<version>${ftest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand All @@ -123,14 +137,17 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>failsafe-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

</profiles>


Expand Down

0 comments on commit 834f152

Please sign in to comment.