kwin commented on a change in pull request #23:
URL:
https://github.com/apache/sling-org-apache-sling-models-impl/pull/23#discussion_r552802100
##########
File path: pom.xml
##########
@@ -103,6 +104,22 @@
<attach>false</attach>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>11</release>
Review comment:
Also "release" is only available since JDK9 and we must make sure that
compilation still works with JDK8.
##########
File path: pom.xml
##########
@@ -103,6 +104,22 @@
<attach>false</attach>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>11</release>
Review comment:
we must compile for Java 8 still (which is not a problem for JDK11,
though)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]