162 lines
5.7 KiB
XML
162 lines
5.7 KiB
XML
|
<?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>spring-di</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<packaging>war</packaging>
|
||
|
<name>spring-di</name>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>parent-spring-5</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<relativePath>../parent-spring-5</relativePath>
|
||
|
</parent>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-test</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-beans</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-context</artifactId>
|
||
|
<version>${spring.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax.inject</groupId>
|
||
|
<artifactId>javax.inject</artifactId>
|
||
|
<version>${javax.inject.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.guava</groupId>
|
||
|
<artifactId>guava</artifactId>
|
||
|
<version>${guava.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>${lombok.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter</artifactId>
|
||
|
<version>${spring-boot.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-test</artifactId>
|
||
|
<version>${mockito.spring.boot.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.assertj</groupId>
|
||
|
<artifactId>assertj-core</artifactId>
|
||
|
<version>${assertj.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<version>${commons.io.version}</version>
|
||
|
</dependency>
|
||
|
<!-- Spring -->
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework</groupId>-->
|
||
|
<!-- <artifactId>spring-context</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>javax.annotation</groupId>
|
||
|
<artifactId>javax.annotation-api</artifactId>
|
||
|
<version>${annotation-api.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- <!– test scoped –>-->
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework</groupId>-->
|
||
|
<!-- <artifactId>spring-test</artifactId>-->
|
||
|
<!-- <scope>test</scope>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-framework-bom</artifactId>
|
||
|
<version>${org.springframework.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-core</artifactId>
|
||
|
<version>${org.springframework.version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<build>
|
||
|
<finalName>spring-di</finalName>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>${maven-war-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>dev</id>
|
||
|
<activation>
|
||
|
<activeByDefault>true</activeByDefault>
|
||
|
</activation>
|
||
|
<properties>
|
||
|
<spring.profiles.active>dev</spring.profiles.active>
|
||
|
</properties>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>prod</id>
|
||
|
<properties>
|
||
|
<spring.profiles.active>prod</spring.profiles.active>
|
||
|
</properties>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
|
||
|
<properties>
|
||
|
<start-class>org.baeldung.org.baeldung.sample.App</start-class>
|
||
|
<!-- Spring -->
|
||
|
<org.springframework.version>5.0.6.RELEASE</org.springframework.version>
|
||
|
<annotation-api.version>1.3.2</annotation-api.version>
|
||
|
|
||
|
<mockito.spring.boot.version>1.4.4.RELEASE</mockito.spring.boot.version>
|
||
|
<javax.inject.version>1</javax.inject.version>
|
||
|
<guava.version>20.0</guava.version>
|
||
|
<commons.io.version>2.5</commons.io.version>
|
||
|
<spring-boot.version>1.5.2.RELEASE</spring-boot.version>
|
||
|
<mockito.version>1.10.19</mockito.version>
|
||
|
<assertj.version>3.12.2</assertj.version>
|
||
|
</properties>
|
||
|
|
||
|
</project>
|