[seam-commits] Seam SVN: r15252 - branches/enterprise/WFK-2_1/examples.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 11 10:22:02 EDT 2012


Author: manaRH
Date: 2012-10-11 10:22:01 -0400 (Thu, 11 Oct 2012)
New Revision: 15252

Modified:
   branches/enterprise/WFK-2_1/examples/pom.xml
Log:
pass jacoco.agent property in integration tests arquillian.xml

Modified: branches/enterprise/WFK-2_1/examples/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/pom.xml	2012-10-11 14:21:56 UTC (rev 15251)
+++ branches/enterprise/WFK-2_1/examples/pom.xml	2012-10-11 14:22:01 UTC (rev 15252)
@@ -52,8 +52,9 @@
         <richfaces.version>4.2.3.Final-redhat-1</richfaces.version>
         <slf4j.version>1.6.1</slf4j.version>
         <version.jbossas7>7.1.1.Final</version.jbossas7>
+        <version.jacoco>0.5.8.201207111220</version.jacoco>
 
-        <!-- dependencies for functional tests -->
+     <!-- dependencies for functional tests -->
         <ant.junit.version>1.6.2</ant.junit.version>
         <ftest.version.discriminator/>
         <selenium.browser>*firefoxproxy</selenium.browser>
@@ -376,6 +377,7 @@
                                         <systemProperties>
                                             <!-- used by the jbossas-managed-7 profile in arquillian.xml for the jbossHome property-->
                                             <version.jbossas7>${version.jbossas7}</version.jbossas7>
+                                            <jacoco.agent>${jacoco.agent}</jacoco.agent>
                                         </systemProperties>
                                     </configuration>
                                 </execution>
@@ -934,6 +936,34 @@
                 </plugins>
             </build>
         </profile>          
+        <profile>
+           <id>jacoco</id>
+           <activation>
+              <activeByDefault>false</activeByDefault>
+              <property>
+                 <name>jacoco</name>
+              </property>
+           </activation>
+           <build>
+              <plugins>
+                 <plugin>
+                    <groupId>org.jacoco</groupId>
+                    <artifactId>jacoco-maven-plugin</artifactId>
+                    <version>${version.jacoco}</version>
+                    <configuration>
+                       <propertyName>jacoco.agent</propertyName>
+                    </configuration>
+                    <executions>
+                       <execution>
+                          <goals>
+                             <goal>prepare-agent</goal>
+                          </goals>
+                       </execution>
+                    </executions>
+                 </plugin>
+              </plugins>
+           </build>
+        </profile>
     </profiles>
 
 </project>



More information about the seam-commits mailing list