2009-11-25 18:45:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-11-10 16:51:14 +00:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.springframework.samples</groupId>
|
2016-12-20 10:47:45 +00:00
|
|
|
<artifactId>spring-petclinic</artifactId>
|
2018-10-05 10:36:56 +00:00
|
|
|
<version>2.1.0.BUILD-SNAPSHOT</version>
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2018-10-05 10:36:56 +00:00
|
|
|
<version>2.1.0.BUILD-SNAPSHOT</version>
|
2016-11-10 16:51:14 +00:00
|
|
|
</parent>
|
|
|
|
<name>petclinic</name>
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<properties>
|
2015-04-14 01:27:25 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<!-- Generic properties -->
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<!-- Web dependencies -->
|
|
|
|
<webjars-bootstrap.version>3.3.6</webjars-bootstrap.version>
|
|
|
|
<webjars-jquery-ui.version>1.11.4</webjars-jquery-ui.version>
|
|
|
|
<webjars-jquery.version>2.2.4</webjars-jquery.version>
|
2016-11-17 10:51:33 +00:00
|
|
|
<wro4j.version>1.8.0</wro4j.version>
|
2016-06-17 16:38:24 +00:00
|
|
|
|
2018-10-05 10:36:56 +00:00
|
|
|
<jacoco.version>0.8.2</jacoco.version>
|
2016-06-17 16:38:24 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
</properties>
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<dependencies>
|
|
|
|
<!-- Spring and Spring Boot dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<!-- Databases - Uses HSQL by default -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2016-12-05 21:50:29 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2016-01-30 13:30:19 +00:00
|
|
|
|
2017-02-17 11:30:57 +00:00
|
|
|
<!-- caching -->
|
2017-02-16 20:08:30 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.cache</groupId>
|
|
|
|
<artifactId>cache-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<!-- webjars -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
2018-02-21 09:48:01 +00:00
|
|
|
<artifactId>webjars-locator-core</artifactId>
|
2016-11-10 16:51:14 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>jquery</artifactId>
|
|
|
|
<version>${webjars-jquery.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>jquery-ui</artifactId>
|
|
|
|
<version>${webjars-jquery-ui.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>bootstrap</artifactId>
|
|
|
|
<version>${webjars-bootstrap.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- end of webjars -->
|
2013-04-15 09:17:45 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
2018-07-10 06:43:13 +00:00
|
|
|
<optional>true</optional>
|
2016-11-10 16:51:14 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-06-28 10:02:53 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-08-24 16:26:45 +00:00
|
|
|
<!-- Spring Boot Actuator displays build-related information
|
2016-11-10 16:51:14 +00:00
|
|
|
if a META-INF/build-info.properties file is present -->
|
|
|
|
<goals>
|
|
|
|
<goal>build-info</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<additionalProperties>
|
|
|
|
<encoding.source>${project.build.sourceEncoding}</encoding.source>
|
|
|
|
<encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting>
|
|
|
|
<java.source>${maven.compiler.source}</java.source>
|
|
|
|
<java.target>${maven.compiler.target}</java.target>
|
|
|
|
</additionalProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2018-08-09 08:47:13 +00:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>${jacoco.version}</version>
|
2016-11-10 16:51:14 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2018-08-09 08:47:13 +00:00
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
2016-11-10 16:51:14 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-06-28 10:02:53 +00:00
|
|
|
|
2017-08-24 16:26:45 +00:00
|
|
|
<!-- Spring Boot Actuator displays build-related information if a git.properties
|
2016-11-10 16:51:14 +00:00
|
|
|
file is present at the classpath -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
|
|
|
|
</generateGitPropertiesFilename>
|
2017-03-06 07:19:28 +00:00
|
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
2016-11-10 16:51:14 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-06-28 10:02:53 +00:00
|
|
|
|
2016-11-10 16:51:14 +00:00
|
|
|
<plugin>
|
2016-11-17 10:51:33 +00:00
|
|
|
<groupId>ro.isdc.wro4j</groupId>
|
|
|
|
<artifactId>wro4j-maven-plugin</artifactId>
|
|
|
|
<version>${wro4j.version}</version>
|
2016-11-10 16:51:14 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-11-17 10:51:33 +00:00
|
|
|
<phase>generate-resources</phase>
|
2016-11-10 16:51:14 +00:00
|
|
|
<goals>
|
2016-11-17 10:51:33 +00:00
|
|
|
<goal>run</goal>
|
2016-11-10 16:51:14 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2016-11-17 10:51:33 +00:00
|
|
|
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
|
|
|
|
<cssDestinationFolder>${project.build.directory}/classes/static/resources/css</cssDestinationFolder>
|
|
|
|
<wroFile>${basedir}/src/main/wro/wro.xml</wroFile>
|
|
|
|
<extraConfigFile>${basedir}/src/main/wro/wro.properties</extraConfigFile>
|
|
|
|
<contextFolder>${basedir}/src/main/less</contextFolder>
|
2016-11-10 16:51:14 +00:00
|
|
|
</configuration>
|
2016-11-17 10:51:33 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>bootstrap</artifactId>
|
|
|
|
<version>${webjars-bootstrap.version}</version>
|
|
|
|
</dependency>
|
2018-10-05 10:36:56 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
</dependency>
|
2016-11-17 10:51:33 +00:00
|
|
|
</dependencies>
|
2016-11-10 16:51:14 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-12-17 18:51:44 +00:00
|
|
|
|
2017-08-24 16:26:45 +00:00
|
|
|
<!-- Apache 2 license -->
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
2018-10-05 10:36:56 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>java11+</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[11,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2013-04-25 01:00:20 +00:00
|
|
|
</project>
|