Ensure that only JDK 8 APIs are used where JDK 8 is still required.
Closes #10842
This commit is contained in:
parent
eef325ebf4
commit
850af55edc
26 changed files with 6 additions and 84 deletions
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
<artifactId>keycloak-jetty-core</artifactId>
|
||||
<name>Keycloak Jetty Core Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.jetty.core.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.servlet.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
<artifactId>keycloak-tomcat-core-adapter</artifactId>
|
||||
<name>Keycloak Tomcat Core Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
<description />
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
<artifactId>keycloak-tomcat-adapter</artifactId>
|
||||
<name>Keycloak Tomcat Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
<description />
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.undertow.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
</properties>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
</properties>
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
<artifactId>keycloak-saml-jetty-adapter-core</artifactId>
|
||||
<name>Keycloak Jetty Core SAML Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<jetty9.version>8.1.17.v20150415</jetty9.version>
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.jetty.core.*
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
<name>Keycloak SAML Servlet Filter</name>
|
||||
<description />
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.jboss.logging</groupId>
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
<artifactId>keycloak-saml-tomcat-adapter-core</artifactId>
|
||||
<name>Keycloak Tomcat Core SAML Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
<description />
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
<artifactId>keycloak-saml-tomcat-adapter</artifactId>
|
||||
<name>Keycloak Tomcat SAML Integration</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
<description />
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.spi.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
<name>Common JBoss/Wildfly Core Classes</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.jboss.logging</groupId>
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
<artifactId>keycloak-jetty-adapter-spi</artifactId>
|
||||
<name>Keycloak Jetty Adapter SPI</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<jetty9.version>8.1.17.v20150415</jetty9.version>
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.jetty.spi.*
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.servlet.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
|
||||
<artifactId>keycloak-tomcat-adapter-spi</artifactId>
|
||||
<name>Keycloak Tomcat Adapter SPI</name>
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
<description />
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.adapters.undertow.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
<description>KeyCloak AuthZ: Client API</description>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<keycloak.osgi.export>
|
||||
org.keycloak.authorization.client.*
|
||||
</keycloak.osgi.export>
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
<description>Common library and dependencies shared with server and all adapters</description>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
<keycloak.osgi.export>
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
<keycloak.osgi.export>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Building from source
|
||||
|
||||
Ensure you have JDK 8 (or newer), Maven 3.5.4 (or newer) and Git installed
|
||||
Ensure you have JDK 11 (or newer), Maven 3.5.4 (or newer) and Git installed
|
||||
|
||||
java -version
|
||||
mvn -version
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -220,6 +220,11 @@
|
|||
|
||||
<!-- Frontend -->
|
||||
<node.version>v16.13.2</node.version>
|
||||
|
||||
<!-- Minimum Java version supported for running Keycloak -->
|
||||
<!-- maven.compiler.target and maven.compiler.source already set to 1.8 in the parent pom -->
|
||||
<!-- other modules will configure a higher Java version (for example Quarkus) -->
|
||||
<maven.compiler.release>8</maven.compiler.release>
|
||||
</properties>
|
||||
|
||||
<url>http://keycloak.org</url>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
</properties>
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
<description/>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<skip.security-manager.tests>true</skip.security-manager.tests>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
||||
|
|
|
@ -25,9 +25,4 @@
|
|||
<module>cors</module>
|
||||
<module>spring-boot-adapter-app</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
</properties>
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue