File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 >
5453 </dependencies >
5554
5655 <build >
56+
5757 <plugins >
5858 <plugin >
5959 <artifactId >maven-compiler-plugin</artifactId >
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 >
You can’t perform that action at this time.
0 commit comments