2016-07-24 05:53:50 -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-24 05:53:50 -04:00
|
|
|
<name>dependency-injection</name>
|
2016-07-01 13:48:43 -04:00
|
|
|
<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>
|
2016-07-24 05:53:50 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
<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>
|
2016-10-22 11:21:26 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
2016-07-01 13:48:43 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-07-24 05:53:50 -04:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
</plugins>
|
2016-07-24 05:53:50 -04:00
|
|
|
|
2016-07-01 13:48:43 -04:00
|
|
|
</build>
|
2016-06-01 08:47:26 -04:00
|
|
|
|
2016-10-22 11:21:26 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2016-07-24 05:53:50 -04:00
|
|
|
<properties>
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
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-07-24 05:53:50 -04:00
|
|
|
|
2016-06-01 08:47:26 -04:00
|
|
|
</project>
|