[seam-commits] Seam SVN: r15251 - in branches/enterprise/WFK-2_1: seam-integration-tests and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 11 10:21:56 EDT 2012


Author: manaRH
Date: 2012-10-11 10:21:56 -0400 (Thu, 11 Oct 2012)
New Revision: 15251

Modified:
   branches/enterprise/WFK-2_1/pom.xml
   branches/enterprise/WFK-2_1/seam-integration-tests/pom.xml
Log:
add jacoco profile to seam-integration-tests

Modified: branches/enterprise/WFK-2_1/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/pom.xml	2012-10-11 14:21:50 UTC (rev 15250)
+++ branches/enterprise/WFK-2_1/pom.xml	2012-10-11 14:21:56 UTC (rev 15251)
@@ -46,6 +46,7 @@
 		<!-- Version string properties -->
       	<version.seam>2.3.0.Final-redhat-1</version.seam>
 		<version.testng>5.14.10</version.testng>
+      <version.jacoco>0.5.8.201207111220</version.jacoco>
 		<version.jbossas7>7.1.1.Final</version.jbossas7>
 		<version.emma>2.0.5312</version.emma>
 		<version.junit>4.8.2</version.junit>
@@ -201,6 +202,11 @@
 	                    </archive>
 					</configuration>
 				</plugin>
+            <plugin>
+               <groupId>org.jacoco</groupId>
+               <artifactId>jacoco-maven-plugin</artifactId>
+               <version>${version.jacoco}</version>
+            </plugin>
 			</plugins>
 		</pluginManagement>
 

Modified: branches/enterprise/WFK-2_1/seam-integration-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/seam-integration-tests/pom.xml	2012-10-11 14:21:50 UTC (rev 15250)
+++ branches/enterprise/WFK-2_1/seam-integration-tests/pom.xml	2012-10-11 14:21:56 UTC (rev 15251)
@@ -243,6 +243,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>
@@ -377,5 +378,36 @@
                 </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>
+                    <configuration>
+                       <excludes>
+                          <exclude>org.jboss.seam.test.*</exclude>
+                       </excludes>
+                       <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