Skip to content

Commit 85b1313

Browse files
committed
Fix Java version to 11 in pom.xml
1 parent f900240 commit 85b1313

1 file changed

Lines changed: 33 additions & 15 deletions

File tree

pom.xml

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,48 @@
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/maven-v4_0_0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
5+
46
<groupId>com.web.cal</groupId>
57
<artifactId>WebAppCal</artifactId>
68
<packaging>war</packaging>
79
<version>0.0.6</version>
810
<name>WebAppCal Maven Webapp</name>
911
<url>http://maven.apache.org</url>
12+
1013
<dependencies>
1114
<dependency>
1215
<groupId>junit</groupId>
1316
<artifactId>junit</artifactId>
1417
<version>4.8.2</version>
1518
<scope>test</scope>
1619
</dependency>
17-
<!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
18-
<dependency>
19-
<groupId>javax.servlet</groupId>
20-
<artifactId>servlet-api</artifactId>
21-
<version>2.5</version>
22-
</dependency>
23-
</dependencies>
24-
<distributionManagement>
25-
<repository>
26-
<id>releases</id>
27-
<url>http://52.204.135.48:8081/nexus/content/repositories/releases</url>
28-
</repository>
29-
</distributionManagement>
20+
21+
<dependency>
22+
<groupId>javax.servlet</groupId>
23+
<artifactId>servlet-api</artifactId>
24+
<version>2.5</version>
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.8.1</version>
34+
<configuration>
35+
<source>11</source>
36+
<target>11</target>
37+
</configuration>
38+
</plugin>
39+
</plugins>
40+
</build>
41+
42+
<distributionManagement>
43+
<repository>
44+
<id>releases</id>
45+
<url>http://52.204.135.48:8081/nexus/content/repositories/releases</url>
46+
</repository>
47+
</distributionManagement>
3048
</project>

0 commit comments

Comments
 (0)