Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <project>
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>it.aiv</groupId>
  4. <artifactId>first-mvn</artifactId>
  5. <version>0.0.1</version>
  6.  
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <maven.compiler.source>1.8</maven.compiler.source>
  10. <maven.compiler.target>1.8</maven.compiler.target>
  11. </properties>
  12.  
  13. <dependencies>
  14. <dependency>
  15. <groupId>junit</groupId>
  16. <artifactId>junit</artifactId>
  17. <version>4.12</version>
  18. <scope>test</scope>
  19. </dependency>
  20. </dependencies>
  21.  
  22. <build>
  23. <plugins>
  24. <plugin>
  25. <artifactId>maven-jar-plugin</artifactId>
  26. <version>3.0.2</version>
  27. <configuration>
  28. <archive>
  29. <manifest>
  30. <mainClass>it.aiv.App</mainClass>
  31. </manifest>
  32. </archive>
  33. </configuration>
  34. </plugin>
  35.  
  36. <plugin>
  37. <groupId>org.jacoco</groupId>
  38. <artifactId>jacoco-maven-plugin</artifactId>
  39. <version>0.8.2</version>
  40. <executions>
  41. <execution>
  42. <goals>
  43. <goal>prepare-agent</goal>
  44. </goals>
  45. </execution>
  46. <execution>
  47. <id>jacoco-check</id>
  48. <phase>test</phase>
  49. <goals>
  50. <goal>check</goal>
  51. </goals>
  52. <configuration>
  53. <rules>
  54. <rule>
  55. <element>BUNDLE</element>
  56. <limits>
  57. <limit>
  58. <counter>INSTRUCTION</counter>
  59. <value>COVEREDRATIO</value>
  60. <minimum>80%</minimum>
  61. </limit>
  62. </limits>
  63. </rule>
  64. </rules>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69.  
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-site-plugin</artifactId>
  73. <version>3.7.1</version>
  74. </plugin>
  75. </plugins>
  76. </build>
  77.  
  78. <reporting>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-project-info-reports-plugin</artifactId>
  83. <version>3.0.0</version>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-javadoc-plugin</artifactId>
  88. <version>2.9</version>
  89. <reportSets>
  90. <reportSet><!-- by default, id = "default" -->
  91. <reports><!-- select non-aggregate reports -->
  92. <report>javadoc</report>
  93. <report>test-javadoc</report>
  94. </reports>
  95. </reportSet>
  96. </reportSets>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.jacoco</groupId>
  100. <artifactId>jacoco-maven-plugin</artifactId>
  101. <reportSets>
  102. <reportSet>
  103. <reports>
  104. <report>report</report>
  105. </reports>
  106. </reportSet>
  107. </reportSets>
  108. </plugin>
  109.  
  110. </plugins>
  111. </reporting>
  112. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement