[seam-commits] Seam SVN: r14423 - branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Mar 16 18:23:40 EDT 2012


Author: dhinojosa
Date: 2012-03-16 18:23:39 -0400 (Fri, 16 Mar 2012)
New Revision: 14423

Modified:
   branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml
Log:
rearranged dependencies so that the arquillian tests will pass, seems to do so, even though surefire-reports says it does not

Modified: branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml	2012-03-16 22:22:45 UTC (rev 14422)
+++ branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml	2012-03-16 22:23:39 UTC (rev 14423)
@@ -15,31 +15,6 @@
 
    <dependencies>
       <dependency>
-         <groupId>org.jboss.embedded</groupId>
-         <artifactId>jboss-embedded-all</artifactId>
-         <version>beta3.SP15</version>
-         <exclusions>
-            <exclusion>
-               <groupId>org.jboss.microcontainer</groupId>
-               <artifactId>jboss-deployers-client-spi</artifactId>
-            </exclusion>
-            <exclusion>
-               <groupId>org.jboss.microcontainer</groupId>
-               <artifactId>jboss-deployers-core-spi</artifactId>
-            </exclusion>
-         </exclusions>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.seam.embedded</groupId>
-         <artifactId>thirdparty-all</artifactId>
-         <version>beta3.SP15</version>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.seam.embedded</groupId>
-         <artifactId>hibernate-all</artifactId>
-         <version>beta3.SP15</version>
-      </dependency>
-      <dependency>
          <groupId>org.testng</groupId>
          <artifactId>testng</artifactId>
          <classifier>jdk15</classifier>
@@ -57,19 +32,11 @@
          <scope>test</scope>
       </dependency>
       <dependency>
-         <groupId>org.slf4j</groupId>
-         <artifactId>slf4j-log4j12</artifactId>
-         <scope>test</scope>
-      </dependency>
-      <dependency>
-         <groupId>javax.faces</groupId>
+         <groupId>com.sun.faces</groupId>
          <artifactId>jsf-api</artifactId>
+         <scope>provided</scope>
       </dependency>
       <dependency>
-         <groupId>javax.mail</groupId>
-         <artifactId>mail</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.seleniumhq.selenium.server</groupId>
          <artifactId>selenium-server</artifactId>
          <classifier>standalone</classifier>
@@ -83,6 +50,24 @@
          <artifactId>functional-tests</artifactId>
          <scope>test</scope>
       </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>org.jboss.arquillian.junit</groupId>
+         <artifactId>arquillian-junit-container</artifactId>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>org.jboss.arquillian.protocol</groupId>
+         <artifactId>arquillian-protocol-servlet</artifactId>
+         <scope>test</scope>
+      </dependency>
+
    </dependencies>
 
    <build>
@@ -92,8 +77,7 @@
             <filtering>true</filtering>
          </testResource>
          <testResource>
-            <directory>src/test/bootstrap</directory>
-            <filtering>false</filtering>
+            <directory>src/test/resources-integration</directory>
          </testResource>
       </testResources>
       <plugins>
@@ -101,47 +85,51 @@
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-               <skipTests>false</skipTests>
-               <argLine>-Dsun.lang.ClassLoader.allowArraySyntax=true -Xms512m -Xmx512m</argLine>
-               <additionalClasspathElements>
-                  <additionalClasspathElement>${basedir}/../contactlist-web/src/main/webapp</additionalClasspathElement>
-                  <additionalClasspathElement>${project.build.directory}/dependency/bootstrap</additionalClasspathElement>
-               </additionalClasspathElements>
-               <suiteXmlFiles>
-                  <suiteXmlFile>src/test/resources-integration/testng.xml</suiteXmlFile>
-               </suiteXmlFiles>
+               <skip>true</skip>
             </configuration>
          </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
-               <execution>
-                  <id>copy-seam-bootstrap</id>
-                  <phase>process-resources</phase>
-                  <goals>
-                     <goal>unpack</goal>
-                  </goals>
-                  <configuration>
-                     <includes>bootstrap/**</includes>
-                     <artifactItems>
-                        <artifactItem>
-                           <groupId>org.jboss.seam</groupId>
-                           <artifactId>jboss-embedded-bootstrap</artifactId>
-                           <version>${project.version}</version>
-                           <type>jar</type>
-                           <overWrite>false</overWrite>
-                        </artifactItem>
-                     </artifactItems>
-                  </configuration>
-               </execution>
-            </executions>
-         </plugin>
       </plugins>
    </build>
 
    <profiles>
       <profile>
+         <id>integration-tests</id>
+         <activation>
+            <property>
+               <name>arquillian</name>
+            </property>
+         </activation>
+      </profile>
+
+      <profile>
+         <id>arq-jbossas-7-managed</id>
+         <activation>
+            <property>
+               <name>arquillian</name>
+               <value>jbossas-managed-7</value>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-dependency-plugin</artifactId>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+      <profile>
+         <id>arq-jbossas-7-remote</id>
+         <activation>
+            <property>
+               <name>arquillian</name>
+               <value>jbossas-remote-7</value>
+            </property>
+         </activation>
+      </profile>
+
+      <profile>
          <id>ftest-jbossas</id>
          <properties>
             <example.context.path>seam-contactlist</example.context.path>
@@ -177,7 +165,7 @@
       <profile>
          <id>ftest-tomcat</id>
          <properties>
-            <example.context.path>seam-contactlist</example.context.path>
+            <example.context.path>jboss-seam-contactlist</example.context.path>
          </properties>
          <build>
             <plugins>



More information about the seam-commits mailing list