add boot-1 version

This commit is contained in:
YuCheng Hu 2021-01-09 09:32:43 -05:00
parent 50e2d44386
commit 06b90cae01
No known key found for this signature in database
GPG Key ID: 1E5CBEF8B550FB7D
2 changed files with 66 additions and 0 deletions

3
parent-boot-1/README.md Normal file
View File

@ -0,0 +1,3 @@
## Parent Boot 1
This is a parent module for all projects using Spring Boot 1.

63
parent-boot-1/pom.xml Normal file
View File

@ -0,0 +1,63 @@
<?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"
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>
<artifactId>parent-boot-1</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>parent-boot-1</name>
<packaging>pom</packaging>
<description>Parent for all Spring Boot 1.x modules</description>
<parent>
<groupId>com.ossez</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</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>
<dependencies>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${rest-assured.version}</version>
</dependency>
<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>
<!-- this is necessary as we're not using the Boot parent -->
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<properties>
<rest-assured.version>3.1.0</rest-assured.version>
<spring-boot.version>1.5.22.RELEASE</spring-boot.version>
</properties>
</project>