From 070aa2553010eb72d2b9da6a0b26874bb03fa7d7 Mon Sep 17 00:00:00 2001 From: Boyd Johnson Date: Tue, 27 Nov 2018 10:17:01 -0600 Subject: [PATCH] Add profiles for jdk 1.8 and 11 The jdk8 jars are needed for Android. Signed-off-by: Boyd Johnson --- pom.xml | 55 +++++++++++++++++++++- sawtooth-sdk-protos/pom.xml | 8 ---- sawtooth-sdk-signing/pom.xml | 15 ------ sawtooth-sdk-transaction-processor/pom.xml | 22 +-------- 4 files changed, 55 insertions(+), 45 deletions(-) diff --git a/pom.xml b/pom.xml index 2df77eac0..e39c30966 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,6 @@ 3.6.1 ../checkstyle.xml 3.7.0 - 11 @@ -135,6 +134,60 @@ + + default + + true + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.plugin.version} + + 11 + + + + org.ow2.asm + asm + 6.2 + + + + + + + + jdk8 + + 1.8 + false + + + ${project.artifactId} + + + maven-jar-plugin + + jdk8 + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.plugin.version} + + 1.8 + 1.8 + 1.8 + 1.8 + + + + + diff --git a/sawtooth-sdk-protos/pom.xml b/sawtooth-sdk-protos/pom.xml index 13e030706..e771e3a45 100644 --- a/sawtooth-sdk-protos/pom.xml +++ b/sawtooth-sdk-protos/pom.xml @@ -83,14 +83,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler.plugin.version} - - ${jdk.version} - - org.xolstice.maven.plugins protobuf-maven-plugin diff --git a/sawtooth-sdk-signing/pom.xml b/sawtooth-sdk-signing/pom.xml index ff0cf7a08..8ec7e153d 100644 --- a/sawtooth-sdk-signing/pom.xml +++ b/sawtooth-sdk-signing/pom.xml @@ -89,21 +89,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler.plugin.version} - - ${jdk.version} - - - - org.ow2.asm - asm - 6.2 - - - diff --git a/sawtooth-sdk-transaction-processor/pom.xml b/sawtooth-sdk-transaction-processor/pom.xml index 3345c987b..d96742d8a 100644 --- a/sawtooth-sdk-transaction-processor/pom.xml +++ b/sawtooth-sdk-transaction-processor/pom.xml @@ -62,24 +62,4 @@ 2.3.1 - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler.plugin.version} - - ${jdk.version} - - - - org.ow2.asm - asm - 6.2 - - - - - - - \ No newline at end of file +