code_junkie

Maven2 Multiproject Cobertura Reporting Problems During mvn site Build

Nov 11th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. <build>
  2. <pluginManagement>
  3. <plugins>
  4. <plugin>
  5. <groupId>org.codehaus.mojo</groupId>
  6. <artifactId>cobertura-maven-plugin</artifactId>
  7. <inherited>true</inherited>
  8. <executions>
  9. <execution>
  10. <id>clean</id>
  11. <goals>
  12. <goal>clean</goal>
  13. </goals>
  14. </execution>
  15. </executions>
  16. </plugin>
  17. </plugins>
  18. </pluginManagement>
  19. </build>
  20. <reporting>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.codehaus.mojo</groupId>
  24. <artifactId>cobertura-maven-plugin</artifactId>
  25. <inherited>true</inherited>
  26. </plugin>
  27. </plugins>
  28. </reporting>
  29.  
  30. <reporting>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.codehaus.mojo</groupId>
  34. <artifactId>cobertura-maven-plugin</artifactId>
  35. </plugin>
  36. </plugins>
  37. </reporting>
  38.  
  39. ...
  40. [INFO] [cobertura:instrument]
  41. [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
  42. Instrumenting 3 files to C:workspacessandboxCommonJsftargetgenerated-classescobertura
  43. Cobertura: Saved information on 3 classes.
  44. Instrument time: 186ms
  45.  
  46. [INFO] Instrumentation was successful.
  47. ...
  48. [INFO] Generating "Cobertura Test Coverage" report.
  49. [INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
  50. Cobertura: Loaded information on 3 classes.
  51. Report time: 481ms
  52.  
  53. [INFO] Cobertura Report generation was successful.
  54.  
  55. <build>
  56. ...
  57. <plugins>
  58. ...
  59. <plugin>
  60. <inherited>true</inherited>
  61. <groupId>org.codehaus.mojo</groupId>
  62. <artifactId>cobertura-maven-plugin</artifactId>
  63. <version>${cobertura.plugin.version}</version>
  64. </plugin>
  65. </plugins>
  66. </build>
Add Comment
Please, Sign In to add comment