Skip to content

Commit ff2a8eb

Browse files
authored
Upgrade relevant poms to compile with Java 11 (rh-messaging#445)
1 parent d56581b commit ff2a8eb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

parent/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<goal>test-compile</goal>
142142
</goals>
143143
<configuration>
144-
<jvmTarget>1.8</jvmTarget>
144+
<jvmTarget>11</jvmTarget>
145145
<sourceDirs>
146146
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
147147
<sourceDir>${project.basedir}/src/test/java</sourceDir>
@@ -239,8 +239,8 @@
239239
<artifactId>maven-compiler-plugin</artifactId>
240240
<version>${plugin.compiler.version}</version>
241241
<configuration>
242-
<source>1.8</source>
243-
<target>1.8</target>
242+
<source>11</source>
243+
<target>11</target>
244244
<compilerArgument>-Xlint:all</compilerArgument>
245245
<showWarnings>true</showWarnings>
246246
<showDeprecation>true</showDeprecation>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<packaging>pom</packaging>
3030

3131
<properties>
32-
<maven.compiler.source>1.8</maven.compiler.source>
33-
<maven.compiler.target>1.8</maven.compiler.target>
32+
<maven.compiler.source>11</maven.compiler.source>
33+
<maven.compiler.target>11</maven.compiler.target>
3434
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3535
</properties>
3636

0 commit comments

Comments
 (0)