This is an automated email from the ASF dual-hosted git repository. rotty3000 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git
commit 534db48ee44e266d2b32125ba9d003ac4cc307d0 Author: Raymond Auge <[email protected]> AuthorDate: Sat Nov 20 20:05:01 2021 -0500 make sure to properly handle invocation be different java versions for CI Signed-off-by: Raymond Auge <[email protected]> --- jax-rs.whiteboard/pom.xml | 11 +++++++++++ pom.xml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/jax-rs.whiteboard/pom.xml b/jax-rs.whiteboard/pom.xml index be4911f..baa80d9 100644 --- a/jax-rs.whiteboard/pom.xml +++ b/jax-rs.whiteboard/pom.xml @@ -137,4 +137,15 @@ </plugins> </reporting> + <profiles> + <profile> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <maven.compiler.release>8</maven.compiler.release> + </properties> + </profile> + </profiles> + </project> diff --git a/pom.xml b/pom.xml index 9f1dd3f..901bbae 100644 --- a/pom.xml +++ b/pom.xml @@ -714,6 +714,17 @@ </plugins> </build> + <profiles> + <profile> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <maven.compiler.release>${java.specification.version}</maven.compiler.release> + </properties> + </profile> + </profiles> + <reporting> <plugins> <plugin>
