Maven 3 + cobertura-maven-plugin 2.7 㧠mvn site ãã㨠jar/war ãå£ãã件
ç¾è±¡
Maven 3 㨠cobertura-maven-plugin 2.7 ã®çµã¿åãã㧠mvn site ãããã¨ãçæããã jar/war ã« Cobertura ã® instrument ãæ··å
¥ããã¾ã¾ããã±ã¼ã¸ãä½ããã¦ãã¾ãã
mvn package ã ãããã¨åé¡ããªãããä¸ã¤ã®ã³ãã³ãã©ã¤ã³ã§ mvn package site ã®ããã«åæã«ãã£ã¦ãã¾ã㨠jar/war ãå£ããã
Maven 2 ã使ã£ã¦ããå ´åã«ã¯åé¡ãç¡ãã
åå
cobertura-maven-plugin 2.7 ãã integration-test ãã§ã¼ãºã§ãå®è¡ãããããã«å¤æ´ãããã
ãã®çµæãmvn site ã§ã package ãã§ã¼ãºãå®è¡ããã¦ãã¾ãããã«ãªã£ãã
Maven2 㯠integration-test ãã§ã¼ãºãç¡ãããåé¡ããªãã
対ç
Mojo's Maven plugin for Cobertura – Usage ã«æ¸ãã¦ããéãã
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.7</version> <reportSets> <reportSet> <reports> <report>cobertura</report> </reports> </reportSet> </reportSets> <configuration> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> <formats> <format>xml</format> <format>html</format> </formats> </configuration> </plugin>
ã®ããã« reportSets ãæ¸ããã¨ããã㧠site ã´ã¼ã«ã§ Cobertura ãèµ°ããªããªã£ã¦ãjar/war ã« instrument ãæ··å
¥ãããã¨ã¯ãªããªãã
ã¾ã¨ã
cobertura-maven-plugin 2.7 æé«ï¼