Advertisement
Guest User

Backup of POM

a guest
Sep 16th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.springframework.samples</groupId>
  7. <artifactId>spring-petclinic</artifactId>
  8. <version>2.1.0.BUILD-SNAPSHOT</version>
  9.  
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.1.6.RELEASE</version>
  14. </parent>
  15. <name>petclinic</name>
  16.  
  17. <properties>
  18.  
  19. <!-- Generic properties -->
  20. <java.version>1.8</java.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23.  
  24. <!-- Web dependencies -->
  25. <webjars-bootstrap.version>3.3.6</webjars-bootstrap.version>
  26. <webjars-jquery-ui.version>1.11.4</webjars-jquery-ui.version>
  27. <webjars-jquery.version>2.2.4</webjars-jquery.version>
  28. <wro4j.version>1.8.0</wro4j.version>
  29.  
  30. <jacoco.version>0.8.2</jacoco.version>
  31.  
  32. </properties>
  33.  
  34. <dependencies>
  35. <!-- Spring and Spring Boot dependencies -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-actuator</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-cache</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-data-jpa</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61.  
  62. <!-- Databases - Uses HSQL by default -->
  63. <dependency>
  64. <groupId>org.hsqldb</groupId>
  65. <artifactId>hsqldb</artifactId>
  66. <scope>runtime</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. <scope>runtime</scope>
  72. </dependency>
  73.  
  74. <!-- caching -->
  75. <dependency>
  76. <groupId>javax.cache</groupId>
  77. <artifactId>cache-api</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.ehcache</groupId>
  81. <artifactId>ehcache</artifactId>
  82. </dependency>
  83.  
  84. <!-- webjars -->
  85. <dependency>
  86. <groupId>org.webjars</groupId>
  87. <artifactId>webjars-locator-core</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.webjars</groupId>
  91. <artifactId>jquery</artifactId>
  92. <version>${webjars-jquery.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.webjars</groupId>
  96. <artifactId>jquery-ui</artifactId>
  97. <version>${webjars-jquery-ui.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.webjars</groupId>
  101. <artifactId>bootstrap</artifactId>
  102. <version>${webjars-bootstrap.version}</version>
  103. </dependency>
  104. <!-- end of webjars -->
  105.  
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-devtools</artifactId>
  109. <optional>true</optional>
  110. </dependency>
  111. </dependencies>
  112.  
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <executions>
  119. <execution>
  120. <!-- Spring Boot Actuator displays build-related information
  121. if a META-INF/build-info.properties file is present -->
  122. <goals>
  123. <goal>build-info</goal>
  124. </goals>
  125. <configuration>
  126. <additionalProperties>
  127. <encoding.source>${project.build.sourceEncoding}</encoding.source>
  128. <encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting>
  129. <java.source>${maven.compiler.source}</java.source>
  130. <java.target>${maven.compiler.target}</java.target>
  131. </additionalProperties>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.jacoco</groupId>
  138. <artifactId>jacoco-maven-plugin</artifactId>
  139. <version>${jacoco.version}</version>
  140. <executions>
  141. <execution>
  142. <goals>
  143. <goal>prepare-agent</goal>
  144. </goals>
  145. </execution>
  146. <execution>
  147. <id>report</id>
  148. <phase>prepare-package</phase>
  149. <goals>
  150. <goal>report</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155.  
  156. <!-- Spring Boot Actuator displays build-related information if a git.properties
  157. file is present at the classpath -->
  158. <plugin>
  159. <groupId>pl.project13.maven</groupId>
  160. <artifactId>git-commit-id-plugin</artifactId>
  161. <executions>
  162. <execution>
  163. <goals>
  164. <goal>revision</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. <configuration>
  169. <verbose>true</verbose>
  170. <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
  171. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  172. <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
  173. </generateGitPropertiesFilename>
  174. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  175. </configuration>
  176. </plugin>
  177.  
  178. <plugin>
  179. <groupId>ro.isdc.wro4j</groupId>
  180. <artifactId>wro4j-maven-plugin</artifactId>
  181. <version>${wro4j.version}</version>
  182. <executions>
  183. <execution>
  184. <phase>generate-resources</phase>
  185. <goals>
  186. <goal>run</goal>
  187. </goals>
  188. </execution>
  189. </executions>
  190. <configuration>
  191. <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
  192. <cssDestinationFolder>${project.build.directory}/classes/static/resources/css</cssDestinationFolder>
  193. <wroFile>${basedir}/src/main/wro/wro.xml</wroFile>
  194. <extraConfigFile>${basedir}/src/main/wro/wro.properties</extraConfigFile>
  195. <contextFolder>${basedir}/src/main/less</contextFolder>
  196. </configuration>
  197. <dependencies>
  198. <dependency>
  199. <groupId>org.webjars</groupId>
  200. <artifactId>bootstrap</artifactId>
  201. <version>${webjars-bootstrap.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.mockito</groupId>
  205. <artifactId>mockito-core</artifactId>
  206. <version>${mockito.version}</version>
  207. </dependency>
  208. </dependencies>
  209. </plugin>
  210. </plugins>
  211. </build>
  212.  
  213. <!-- Apache 2 license -->
  214. <licenses>
  215. <license>
  216. <name>Apache License, Version 2.0</name>
  217. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  218. </license>
  219. </licenses>
  220.  
  221. <repositories>
  222. <repository>
  223. <id>spring-snapshots</id>
  224. <name>Spring Snapshots</name>
  225. <url>https://repo.spring.io/snapshot</url>
  226. <snapshots>
  227. <enabled>true</enabled>
  228. </snapshots>
  229. </repository>
  230. <repository>
  231. <id>spring-milestones</id>
  232. <name>Spring Milestones</name>
  233. <url>https://repo.spring.io/milestone</url>
  234. <snapshots>
  235. <enabled>false</enabled>
  236. </snapshots>
  237. </repository>
  238. </repositories>
  239.  
  240. <pluginRepositories>
  241. <pluginRepository>
  242. <id>spring-snapshots</id>
  243. <name>Spring Snapshots</name>
  244. <url>https://repo.spring.io/snapshot</url>
  245. <snapshots>
  246. <enabled>true</enabled>
  247. </snapshots>
  248. </pluginRepository>
  249. <pluginRepository>
  250. <id>spring-milestones</id>
  251. <name>Spring Milestones</name>
  252. <url>https://repo.spring.io/milestone</url>
  253. <snapshots>
  254. <enabled>false</enabled>
  255. </snapshots>
  256. </pluginRepository>
  257. </pluginRepositories>
  258.  
  259. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement