java-tutorials/parent-boot-2/pom.xml

84 lines
2.9 KiB
XML
Raw Normal View History

2018-05-06 03:53:26 -04:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2018-05-06 03:53:26 -04:00
<modelVersion>4.0.0</modelVersion>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>parent-boot-2</name>
2018-05-06 03:53:26 -04:00
<packaging>pom</packaging>
2018-07-18 16:44:34 -04:00
<description>Parent for all Spring Boot 2 modules</description>
2018-05-06 03:53:26 -04:00
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
2018-05-06 03:53:26 -04:00
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2018-05-06 03:53:26 -04:00
<dependencies>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
</dependency>
2018-05-06 03:53:26 -04:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
<mainClass>${start-class}</mainClass>
2018-10-26 15:30:56 -04:00
<!-- this is necessary as we're not using the Boot parent -->
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2018-05-06 03:53:26 -04:00
<profiles>
<profile>
<id>thin-jar</id>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<dependencies>
<!-- The following enables the "thin jar" deployment option. -->
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>${thin.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
2018-05-06 03:53:26 -04:00
</profiles>
<properties>
<rest-assured.version>3.1.0</rest-assured.version>
<!-- plugins -->
<thin.version>1.0.21.RELEASE</thin.version>
<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
2018-05-06 03:53:26 -04:00
</properties>
2018-10-20 14:53:54 -04:00
</project>