Author: maschmid
Date: 2012-09-27 06:35:20 -0400 (Thu, 27 Sep 2012)
New Revision: 15169

Modified:
   branches/community/Seam_2_3/pom.xml
   branches/community/Seam_2_3/seam-integration-tests/pom.xml
Log:
add jacoco profile to seam-integration-tests


Modified: branches/community/Seam_2_3/pom.xml
===================================================================
--- branches/community/Seam_2_3/pom.xml 2012-09-26 21:42:22 UTC (rev 15168)
+++ branches/community/Seam_2_3/pom.xml 2012-09-27 10:35:20 UTC (rev 15169)
@@ -49,6 +49,7 @@
                <version.wicket>1.4.14</version.wicket>
                <version.testng>5.14.10</version.testng>
                <version.resteasy>2.0.1.GA</version.resteasy>
+               <version.jacoco>0.5.8.201207111220</version.jacoco>
                <version.jbossas7>7.1.1.Final</version.jbossas7>
                <version.emma>2.0.5312</version.emma>
                <version.jsf2>2.1.7</version.jsf2>
@@ -345,17 +346,22 @@
                                        <version>2.3</version>
                                        <configuration>
                                                <ejbVersion>3.0</ejbVersion>
-                                       <archive>
-                               <manifest>
-                                   
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                                   
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                               </manifest>
-                               <manifestEntries>
-                                 
<Seam-Version>${project.version}</Seam-Version>
-                               </manifestEntries>
-                           </archive>
+                                               <archive>
+                                                       <manifest>
+                                                               
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                                                               
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                                                       </manifest>
+                                                       <manifestEntries>
+                                                               
<Seam-Version>${project.version}</Seam-Version>
+                                                       </manifestEntries>
+                                               </archive>
                                        </configuration>
                                </plugin>
+                               <plugin>
+                                       <groupId>org.jacoco</groupId>
+                                       
<artifactId>jacoco-maven-plugin</artifactId>
+                                       <version>${version.jacoco}</version>
+                               </plugin>
                        </plugins>
                </pluginManagement>
 

Modified: branches/community/Seam_2_3/seam-integration-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/seam-integration-tests/pom.xml  2012-09-26 
21:42:22 UTC (rev 15168)
+++ branches/community/Seam_2_3/seam-integration-tests/pom.xml  2012-09-27 
10:35:20 UTC (rev 15169)
@@ -258,6 +258,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>
@@ -392,5 +393,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>

_______________________________________________
seam-commits mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-commits

Reply via email to