Skip to content

Commit 551ee20

Browse files
author
eugenp
committed
fixes for the build
1 parent 6ee0667 commit 551ee20

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

‎dependency-injection/pom.xml‎

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xmlns="http://maven.apache.org/POM/4.0.0"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43

54
<modelVersion>4.0.0</modelVersion>
65

@@ -9,7 +8,7 @@
98
<version>0.0.1-SNAPSHOT</version>
109
<packaging>war</packaging>
1110

12-
<name>Resource vs Inject vs Autowired</name>
11+
<name>dependency-injection</name>
1312
<description>Accompanying the demonstration of the use of the annotations related to injection mechanisms, namely
1413
Resource, Inject, and Autowired
1514
</description>
@@ -54,6 +53,7 @@
5453
</dependencies>
5554

5655
<build>
56+
5757
<plugins>
5858
<plugin>
5959
<artifactId>maven-compiler-plugin</artifactId>
@@ -71,13 +71,29 @@
7171
</includes>
7272
</configuration>
7373
</plugin>
74+
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-war-plugin</artifactId>
78+
<version>${maven-war-plugin.version}</version>
79+
<configuration>
80+
<failOnMissingWebXml>false</failOnMissingWebXml>
81+
</configuration>
82+
</plugin>
83+
7484
</plugins>
85+
7586
</build>
7687

88+
<properties>
89+
<maven-war-plugin.version>2.6</maven-war-plugin.version>
90+
</properties>
91+
7792
<repositories>
7893
<repository>
7994
<id>java.net</id>
8095
<url>https://maven.java.net/content/repositories/releases/</url>
8196
</repository>
8297
</repositories>
98+
8399
</project>

0 commit comments

Comments
 (0)