2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-14 08:12:38 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-di</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>spring-di</name>
|
2019-12-05 09:56:52 -05:00
|
|
|
<packaging>war</packaging>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-spring-5</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-spring-5</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<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>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<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>
|
2021-01-07 14:42:57 -05:00
|
|
|
<version>${commons-io.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2019-12-07 12:12:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
<version>${aspectjweaver.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- Spring -->
|
2021-05-14 08:12:38 -04:00
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.springframework</groupId> -->
|
|
|
|
<!-- <artifactId>spring-context</artifactId> -->
|
|
|
|
<!-- </dependency> -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>${annotation-api.version}</version>
|
|
|
|
</dependency>
|
2021-05-14 08:12:38 -04:00
|
|
|
<!-- <!– test scoped –> -->
|
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.springframework</groupId> -->
|
|
|
|
<!-- <artifactId>spring-test</artifactId> -->
|
|
|
|
<!-- <scope>test</scope> -->
|
|
|
|
<!-- </dependency> -->
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<spring-boot.version>1.5.2.RELEASE</spring-boot.version>
|
|
|
|
<mockito.version>1.10.19</mockito.version>
|
|
|
|
<assertj.version>3.12.2</assertj.version>
|
2019-12-07 12:12:06 -05:00
|
|
|
<aspectjweaver.version>1.9.5</aspectjweaver.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|