Guest User

Untitled

a guest
Feb 17th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. <properties>
  2. <maven.compiler.source>11</maven.compiler.source>
  3. <maven.compiler.target>11</maven.compiler.target>
  4. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  5. </properties>
  6.  
  7. <build>
  8. <plugins>
  9. <plugin>
  10. <groupId>org.apache.maven.plugins</groupId>
  11. <artifactId>maven-surefire-plugin</artifactId>
  12. <version>2.22.1</version>
  13. </plugin>
  14. <plugin>
  15. <groupId>org.jacoco</groupId>
  16. <artifactId>jacoco-maven-plugin</artifactId>
  17. <version>0.8.2</version>
  18. <executions>
  19. <execution>
  20. <goals>
  21. <goal>prepare-agent</goal>
  22. </goals>
  23. </execution>
  24. <execution>
  25. <id>jacoco-check</id>
  26. <goals>
  27. <goal>check</goal>
  28. </goals>
  29. <configuration>
  30. <rules>
  31. <rule>
  32. <element>CLASS</element>
  33. <excludes>
  34. <exclude>Main</exclude>
  35. <exclude>*Test</exclude>
  36. </excludes>
  37. <limits>
  38. <limit>
  39. <counter>LINE</counter>
  40. <value>COVEREDRATIO</value>
  41. <minimum>100%</minimum>
  42. </limit>
  43. </limits>
  44. </rule>
  45. </rules>
  46. </configuration>
  47. </execution>
  48. <execution>
  49. <id>jacoco-report</id>
  50. <phase>test</phase>
  51. <goals>
  52. <goal>report</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-pmd-plugin</artifactId>
  60. <version>3.11.0</version>
  61. <configuration>
  62. <printFailingErrors>true</printFailingErrors>
  63. <linkXRef>false</linkXRef>
  64. </configuration>
  65. <executions>
  66. <execution>
  67. <goals>
  68. <goal>check</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. <plugin>
  74. <groupId>com.github.spotbugs</groupId>
  75. <artifactId>spotbugs-maven-plugin</artifactId>
  76. <version>3.1.11</version>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>check</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87.  
  88. <dependencies>
  89. <dependency>
  90. <groupId>org.junit.jupiter</groupId>
  91. <artifactId>junit-jupiter-engine</artifactId>
  92. <version>5.4.0</version>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.junit.jupiter</groupId>
  97. <artifactId>junit-jupiter-api</artifactId>
  98. <version>5.4.0</version>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.junit.jupiter</groupId>
  103. <artifactId>junit-jupiter-params</artifactId>
  104. <version>5.4.0</version>
  105. <scope>test</scope>
  106. </dependency>
  107. </dependencies>
Add Comment
Please, Sign In to add comment