|
<?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> |
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
<version>2.1.3.RELEASE</version> |
|
<relativePath /> <!-- lookup parent from repository --> |
|
</parent> |
|
<groupId>com.your.parent.package</groupId> |
|
<artifactId>your-artifact</artifactId> |
|
<version>0.0.1-SNAPSHOT</version> |
|
<name>proj-name</name> |
|
<description>Demo project for Spring Boot</description> |
|
|
|
<properties> |
|
<java.version>1.8</java.version> |
|
</properties> |
|
|
|
<dependencies> |
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> |
|
<dependency> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
<version>2.8.5</version> |
|
</dependency> |
|
<!-- https://mvnrepository.com/artifact/org.codehaus.jettison/jettison --> |
|
<dependency> |
|
<groupId>org.codehaus.jettison</groupId> |
|
<artifactId>jettison</artifactId> |
|
<version>1.4.0</version> |
|
</dependency> |
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
|
<dependency> |
|
<groupId>org.apache.commons</groupId> |
|
<artifactId>commons-lang3</artifactId> |
|
<version>3.8.1</version> |
|
</dependency> |
|
|
|
<!-- exclude logback , add log4j2 --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-log4j2</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.microsoft.sqlserver</groupId> |
|
<artifactId>mssql-jdbc</artifactId> |
|
<version>6.4.0.jre8</version> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.glassfish.jersey.media</groupId> |
|
<artifactId>jersey-media-json-jackson</artifactId> |
|
<version>2.22.1</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-jpa</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-cache</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-actuator</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<optional>true</optional> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>javax.xml.bind</groupId> |
|
<artifactId>jaxb-api</artifactId> |
|
<version>2.3.0</version> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<finalName>your-deployed-name</finalName> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<packaging>war</packaging> |
|
</project> |