Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.springframework.boot</groupId>
  5. <artifactId>spring-boot-maven-plugin</artifactId>
  6. <executions>
  7. <execution>
  8. <!-- Spring Boot Actuator displays build-related information
  9. if a META-INF/build-info.properties file is present -->
  10. <goals>
  11. <goal>build-info</goal>
  12. </goals>
  13. <configuration>
  14. <additionalProperties>
  15. <encoding.source>${project.build.sourceEncoding}</encoding.source>
  16. <encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting>
  17. <java.source>${maven.compiler.source}</java.source>
  18. <java.target>${maven.compiler.target}</java.target>
  19. </additionalProperties>
  20. </configuration>
  21. </execution>
  22. </executions>
  23. </plugin>
  24. <plugin>
  25. <groupId>org.jacoco</groupId>
  26. <artifactId>jacoco-maven-plugin</artifactId>
  27. <version>${jacoco.version}</version>
  28. <executions>
  29. <execution>
  30. <goals>
  31. <goal>prepare-agent</goal>
  32. </goals>
  33. </execution>
  34. <execution>
  35. <id>report</id>
  36. <phase>prepare-package</phase>
  37. <goals>
  38. <goal>report</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43.  
  44. <!-- Spring Boot Actuator displays build-related information if a git.properties
  45. file is present at the classpath -->
  46. <plugin>
  47. <groupId>pl.project13.maven</groupId>
  48. <artifactId>git-commit-id-plugin</artifactId>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>revision</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. <configuration>
  57. <verbose>true</verbose>
  58. <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
  59. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  60. <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
  61. </generateGitPropertiesFilename>
  62. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  63. </configuration>
  64. </plugin>
  65.  
  66. <plugin>
  67. <groupId>ro.isdc.wro4j</groupId>
  68. <artifactId>wro4j-maven-plugin</artifactId>
  69. <version>${wro4j.version}</version>
  70. <executions>
  71. <execution>
  72. <phase>generate-resources</phase>
  73. <goals>
  74. <goal>run</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. <configuration>
  79. <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
  80. <cssDestinationFolder>${project.build.directory}/classes/static/resources/css</cssDestinationFolder>
  81. <wroFile>${basedir}/src/main/wro/wro.xml</wroFile>
  82. <extraConfigFile>${basedir}/src/main/wro/wro.properties</extraConfigFile>
  83. <contextFolder>${basedir}/src/main/less</contextFolder>
  84. </configuration>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.webjars</groupId>
  88. <artifactId>bootstrap</artifactId>
  89. <version>${webjars-bootstrap.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.mockito</groupId>
  93. <artifactId>mockito-core</artifactId>
  94. <version>${mockito.version}</version>
  95. </dependency>
  96. </dependencies>
  97. </plugin>
  98.  
  99. </plugins>
  100. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement