1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >com.mycompany</groupId >
5
+ <artifactId >DocumentosJSP</artifactId >
6
+ <version >1.0</version >
7
+ <packaging >war</packaging >
8
+ <name >DocumentosJSP</name >
9
+
10
+ <properties >
11
+ <maven .compiler.source>1.8</maven .compiler.source>
12
+ <maven .compiler.target>1.8</maven .compiler.target>
13
+ <endorsed .dir>${project.build.directory} /endorsed</endorsed .dir>
14
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15
+ <failOnMissingWebXml >false</failOnMissingWebXml >
16
+ <jakartaee >8.0</jakartaee >
17
+ </properties >
18
+
19
+ <dependencies >
20
+ <dependency >
21
+ <groupId >javax</groupId >
22
+ <artifactId >javaee-api</artifactId >
23
+ <version >${jakartaee} </version >
24
+ <scope >provided</scope >
25
+ </dependency >
26
+ </dependencies >
27
+
28
+ <build >
29
+ <plugins >
30
+ <plugin >
31
+ <groupId >org.apache.maven.plugins</groupId >
32
+ <artifactId >maven-compiler-plugin</artifactId >
33
+ <version >3.1</version >
34
+ <configuration >
35
+ <source >1.8</source >
36
+ <target >1.8</target >
37
+ <compilerArguments >
38
+ <endorseddirs >${endorsed.dir} </endorseddirs >
39
+ </compilerArguments >
40
+ </configuration >
41
+ </plugin >
42
+ <plugin >
43
+ <groupId >org.apache.maven.plugins</groupId >
44
+ <artifactId >maven-war-plugin</artifactId >
45
+ <version >3.3.1</version >
46
+ <configuration >
47
+ <failOnMissingWebXml >false</failOnMissingWebXml >
48
+ </configuration >
49
+ </plugin >
50
+ <plugin >
51
+ <groupId >org.apache.maven.plugins</groupId >
52
+ <artifactId >maven-dependency-plugin</artifactId >
53
+ <version >2.6</version >
54
+ <executions >
55
+ <execution >
56
+ <phase >validate</phase >
57
+ <goals >
58
+ <goal >copy</goal >
59
+ </goals >
60
+ <configuration >
61
+ <outputDirectory >${endorsed.dir} </outputDirectory >
62
+ <silent >true</silent >
63
+ <artifactItems >
64
+ <artifactItem >
65
+ <groupId >javax</groupId >
66
+ <artifactId >javaee-api</artifactId >
67
+ <version >${jakartaee} </version >
68
+ <type >jar</type >
69
+ </artifactItem >
70
+ </artifactItems >
71
+ </configuration >
72
+ </execution >
73
+ </executions >
74
+ </plugin >
75
+ </plugins >
76
+ </build >
77
+ </project >
0 commit comments