diff --git a/pom.xml b/pom.xml index a52b878775..b64a19a1cb 100644 --- a/pom.xml +++ b/pom.xml @@ -484,8 +484,10 @@ true 3.2.2 false - 1.8 - 1.8 + 11 + ${java.version} + ${java.version} + ${java.version} 1.9.1 3.8.0 3.0.0-M2 @@ -603,13 +605,17 @@ - [1.8.0,) + [${java.version},) + + org.apache.maven.plugins + maven-compiler-plugin + org.codehaus.mojo build-helper-maven-plugin @@ -838,8 +844,8 @@ maven-compiler-plugin ${maven.compiler.version} - ${maven.build.sourceVersion} - ${maven.build.sourceVersion} + ${maven.compiler.source} + ${maven.compiler.target} @@ -849,8 +855,8 @@ testCompile - ${maven.build.testSourceVersion} - ${maven.build.testSourceVersion} + ${testJavaVersion} + ${testJavaVersion} @@ -945,7 +951,7 @@ maven-javadoc-plugin none - 8 + ${java.version} diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 35107c17f2..ff77247a54 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -24,8 +24,6 @@ - 1.8 - 1.8 testng.xml true diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index a8341706ab..7d69380667 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -12,7 +12,6 @@ - 1.8 false alfresco-governance-services-community-share alfresco-governance-services-community-repo diff --git a/rm-community/rm-community-rest-api-explorer/pom.xml b/rm-community/rm-community-rest-api-explorer/pom.xml index d49cdd9616..6215245606 100644 --- a/rm-community/rm-community-rest-api-explorer/pom.xml +++ b/rm-community/rm-community-rest-api-explorer/pom.xml @@ -11,8 +11,6 @@ - 1.8 - 1.8 false UTF-8 UTF-8