Skip to content

Commit f3eaf30

Browse files
authored
Require Java 11. And bump build versions (#240)
1 parent 43e7680 commit f3eaf30

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
\#237: Switched to the `jakarta servlet-api`. However, legacy `javax servlet-api` support is still available via the `javax` classifier.
66

7+
\#240: Require Java 11 as the minimum version
8+
79
# Version 1.12.1 released on 2021-12-28
810

911
\#215: '[' and ']' should be encoded as they are unsafe characters. https://www.ietf.org/rfc/rfc1738.txt

pom.xml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4343

4444
<!-- works with v4.3 and forward; see .github/workflows/maven.yml -->
45-
<httpclient.version>[4.5.13,5.0)</httpclient.version>
45+
<httpclient.version>[4.5.14,5.0)</httpclient.version>
4646
<!-- the last version to provide LocalTestServer.java -->
4747
<httpclient.test.version>4.3.6</httpclient.test.version>
4848
</properties>
@@ -92,34 +92,55 @@
9292
<dependency>
9393
<groupId>org.apache.logging.log4j</groupId>
9494
<artifactId>log4j-jcl</artifactId>
95-
<version>2.17.0</version>
95+
<version>2.20.0</version>
9696
<scope>test</scope>
9797
</dependency>
9898
<dependency>
9999
<groupId>org.apache.logging.log4j</groupId>
100100
<artifactId>log4j-core</artifactId>
101-
<version>2.17.0</version>
101+
<version>2.20.0</version>
102102
<scope>test</scope>
103103
</dependency>
104104

105105
<dependency>
106106
<groupId>org.eclipse.jetty</groupId>
107107
<artifactId>jetty-servlet</artifactId>
108-
<version>11.0.13</version>
108+
<version>11.0.15</version>
109109
<scope>test</scope>
110110
</dependency>
111111
</dependencies>
112112

113113
<build>
114114
<plugins>
115115

116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-enforcer-plugin</artifactId>
119+
<version>3.3.0</version>
120+
<executions>
121+
<execution>
122+
<id>enforce-maven</id>
123+
<goals>
124+
<goal>enforce</goal>
125+
</goals>
126+
<configuration>
127+
<rules>
128+
<requireMavenVersion>
129+
<version>3.2.5</version>
130+
</requireMavenVersion>
131+
</rules>
132+
</configuration>
133+
</execution>
134+
</executions>
135+
</plugin>
136+
116137
<plugin>
117138
<groupId>org.apache.maven.plugins</groupId>
118139
<artifactId>maven-compiler-plugin</artifactId>
119140
<version>3.5.1</version>
120141
<configuration>
121-
<source>1.8</source>
122-
<target>1.8</target>
142+
<source>11</source>
143+
<target>11</target>
123144
<compilerArgs>
124145
<arg>-Xlint:all,-serial,-deprecation</arg>
125146
</compilerArgs>
@@ -246,7 +267,7 @@
246267
<version>3.2.0</version>
247268
<configuration>
248269
<!-- keep in sync with release -->
249-
<source>8</source>
270+
<source>11</source>
250271
<additionalJOptions>
251272
<additionalJOption>-Xdoclint:all</additionalJOption>
252273
<additionalJOption>-Xdoclint:-missing</additionalJOption>
@@ -299,7 +320,7 @@
299320
</executions>
300321
<configuration>
301322
<!-- keep in sync with reporting -->
302-
<source>8</source>
323+
<source>11</source>
303324
<additionalJOptions>
304325
<additionalJOption>-Xdoclint:all</additionalJOption>
305326
<additionalJOption>-Xdoclint:-missing</additionalJOption>

0 commit comments

Comments
 (0)