Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Maciej Szarlinski
committed
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.samples.petclinic.api</groupId>
<artifactId>spring-petclinic-api-gateway</artifactId>
<version>1.4.2</version>
<description>Spring PetClinic API Gateway</description>
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.4.2</version>
Maciej Szarlinski
committed
<dependencies>
Antoine Rey
committed
<!-- Petclinic -->
Maciej Szarlinski
committed
<dependency>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-ui</artifactId>
Maciej Szarlinski
committed
<version>${project.version}</version>
</dependency>
Antoine Rey
committed
<!-- Spring Boot -->
Maciej Szarlinski
committed
<dependency>
<groupId>org.springframework.boot</groupId>
Antoine Rey
committed
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
Maciej Szarlinski
committed
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Antoine Rey
committed
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
Maciej Szarlinski
committed
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Antoine Rey
committed
<artifactId>spring-boot-starter-actuator</artifactId>
Maciej Szarlinski
committed
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Antoine Rey
committed
<artifactId>spring-boot-starter-web</artifactId>
Maciej Szarlinski
committed
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Antoine Rey
committed
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
Maciej Szarlinski
committed
</dependency>
Antoine Rey
committed
<!-- Spring Cloud -->
Maciej Szarlinski
committed
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
Maciej Szarlinski
committed
<dependency>
Antoine Rey
committed
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zuul</artifactId>
Maciej Szarlinski
committed
</dependency>
<!-- Third parties -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
Maciej Szarlinski
committed
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
</dependencies>
<build>
<finalName>petclinic</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
<executions>
<execution>
<!-- Spring Boot Actuator displays build-related information 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>
<!-- Spring Boot Actuator displays build-related information if a META-INF/build-info.properties file is present -->
<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>
</configuration>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker.plugin.version}</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
Maciej Szarlinski
committed
<configuration>
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
Maciej Szarlinski
committed
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>