2016-07-01 13:48:43 -04:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>dependency-injection</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<name>Resource vs Inject vs Autowired</name>
|
|
|
|
<description>Accompanying the demonstration of the use of the annotations related to injection mechanisms, namely
|
|
|
|
Resource, Inject, and Autowired
|
|
|
|
</description>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<version>1.10.19</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>4.2.6.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>4.2.6.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<version>4.2.6.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>4.2.6.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
<version>1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Test.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>java.net</id>
|
|
|
|
<url>https://maven.java.net/content/repositories/releases/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2016-06-01 08:47:26 -04:00
|
|
|
</project>
|