pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright (c) 2016 Sebastian Stenzel This file is licensed under the terms of the MIT license. See the LICENSE.txt file for more info. -->
  3. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.cryptomator</groupId>
  7. <artifactId>main</artifactId>
  8. <version>1.3.0-rc7</version>
  9. </parent>
  10. <artifactId>jacoco-report</artifactId>
  11. <name>Cryptomator Code Coverage Report</name>
  12. <packaging>pom</packaging>
  13. <dependencies>
  14. <!-- all modules containing unit tests: -->
  15. <dependency>
  16. <groupId>org.cryptomator</groupId>
  17. <artifactId>commons</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.cryptomator</groupId>
  21. <artifactId>keychain</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.cryptomator</groupId>
  25. <artifactId>ui</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.cryptomator</groupId>
  29. <artifactId>launcher</artifactId>
  30. <exclusions>
  31. <exclusion>
  32. <!-- conflict with codacy-coverage-reporter -->
  33. <groupId>org.apache.logging.log4j</groupId>
  34. <artifactId>*</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!-- binary dependency used during build -->
  39. <dependency>
  40. <groupId>com.codacy</groupId>
  41. <artifactId>codacy-coverage-reporter</artifactId>
  42. <version>1.0.13</version>
  43. <classifier>assembly</classifier>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>*</groupId>
  47. <artifactId>*</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.jacoco</groupId>
  56. <artifactId>jacoco-maven-plugin</artifactId>
  57. <executions>
  58. <execution>
  59. <id>report-aggregate</id>
  60. <phase>verify</phase>
  61. <goals>
  62. <goal>report-aggregate</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.codehaus.mojo</groupId>
  69. <artifactId>exec-maven-plugin</artifactId>
  70. <version>1.5.0</version>
  71. <executions>
  72. <execution>
  73. <phase>verify</phase>
  74. <goals>
  75. <goal>java</goal>
  76. </goals>
  77. <configuration>
  78. <mainClass>com.codacy.CodacyCoverageReporter</mainClass>
  79. <arguments>
  80. <argument>-l</argument>
  81. <argument>Java</argument>
  82. <argument>-r</argument>
  83. <argument>${project.build.directory}/site/jacoco-aggregate/jacoco.xml</argument>
  84. </arguments>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>