Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>deqo.cdog</groupId>
  8. <artifactId>my-simple-stack</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11. <name>my-simple-stack</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://www.example.com</url>
  14.  
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20.  
  21. <dependencies>
  22. <dependency>
  23. <groupId>junit</groupId>
  24. <artifactId>junit</artifactId>
  25. <version>4.12</version>
  26. <scope>test</scope>
  27. </dependency>
  28. </dependencies>
  29.  
  30. <build>
  31. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  32. <plugins>
  33. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  34. <plugin>
  35. <artifactId>maven-clean-plugin</artifactId>
  36. <version>3.1.0</version>
  37. </plugin>
  38. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  39. <plugin>
  40. <artifactId>maven-resources-plugin</artifactId>
  41. <version>3.0.2</version>
  42. </plugin>
  43. <plugin>
  44. <artifactId>maven-compiler-plugin</artifactId>
  45. <version>3.8.0</version>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-surefire-plugin</artifactId>
  49. <version>2.22.1</version>
  50. </plugin>
  51. <plugin>
  52. <artifactId>maven-jar-plugin</artifactId>
  53. <version>3.0.2</version>
  54. </plugin>
  55. <plugin>
  56. <artifactId>maven-install-plugin</artifactId>
  57. <version>2.5.2</version>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-deploy-plugin</artifactId>
  61. <version>2.8.2</version>
  62. </plugin>
  63. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  64. <plugin>
  65. <artifactId>maven-site-plugin</artifactId>
  66. <version>3.7.1</version>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-project-info-reports-plugin</artifactId>
  70. <version>3.0.0</version>
  71. </plugin>
  72. </plugins>
  73. </pluginManagement>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-surefire-plugin</artifactId>
  78. <configuration>
  79. <argLine>@{jacoco.surefire.argLine}</argLine>
  80. </configuration>
  81. </plugin>
  82.  
  83. <plugin>
  84. <groupId>org.jacoco</groupId>
  85. <artifactId>jacoco-maven-plugin</artifactId>
  86. <version>0.8.5</version>
  87. <executions>
  88. <execution>
  89. <id>pre-unit-test</id>
  90. <goals><goal>prepare-agent</goal></goals>
  91. <configuration>
  92. <propertyName>jacoco.surefire.argLine</propertyName>
  93. </configuration>
  94. </execution>
  95. <execution>
  96. <id>post-unit-test</id>
  97. <phase>pre-site</phase> <!-- ou <phase>test</phase> p.ex. -->
  98. <goals><goal>report</goal></goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. <reporting>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-jxr-plugin</artifactId>
  109. <version>2.5</version>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-checkstyle-plugin</artifactId>
  114. <version>2.17</version>
  115. <reportSets>
  116. <reportSet>
  117. <reports>
  118. <report>checkstyle</report>
  119. </reports>
  120. </reportSet>
  121. </reportSets>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.codehaus.mojo</groupId>
  125. <artifactId>findbugs-maven-plugin</artifactId>
  126. <version>3.0.3</version>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-pmd-plugin</artifactId>
  131. <version>3.8</version>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-surefire-report-plugin</artifactId>
  136. <version>2.20.1</version>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.jacoco</groupId>
  140. <artifactId>jacoco-maven-plugin</artifactId>
  141. <reportSets>
  142. <reportSet>
  143. <reports>
  144. <report>report</report>
  145. </reports>
  146. </reportSet>
  147. </reportSets>
  148. </plugin>
  149. </plugins>
  150. </reporting>
  151. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement