From: Tim P <ti...@us...> - 2008-04-02 18:43:46
|
Update of /cvsroot/webmacro/webmacro In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10641 Modified Files: pom.xml Log Message: Exclude examples from cobertura Index: pom.xml =================================================================== RCS file: /cvsroot/webmacro/webmacro/pom.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pom.xml 18 Mar 2008 22:47:35 -0000 1.10 --- pom.xml 2 Apr 2008 18:43:39 -0000 1.11 *************** *** 254,257 **** --- 254,258 ---- <includes> <include>**/Test*.java</include> + <include>**/*Test.java</include> </includes> </configuration> *************** *** 284,287 **** --- 285,308 ---- <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> + <configuration> + <instrumentation> + <!-- Test source shouldnot be included, but seems to be --> + <excludes> + <exclude>**/CheckConfig.class</exclude> + <exclude>**/GuestBook.class</exclude> + <exclude>**/HelloWorld.class</exclude> + <exclude>**/NoServlet.class</exclude> + <exclude>**/Sandbox.class</exclude> + <exclude>**/Standalone.class</exclude> + </excludes> + </instrumentation> + </configuration> + <executions> + <execution> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> </plugin> </plugins> |