From 0b7156a741f8d484e65a697ee8babf096523e22a Mon Sep 17 00:00:00 2001 From: Jim Clarke Date: Sat, 9 Jan 2021 19:25:05 -0500 Subject: [PATCH 1/2] Add profile for JDK11 and Automatic-Module-Name to jars --- ndarray/pom.xml | 15 +++++++++++++++ pom.xml | 8 ++++++++ tensorflow-core/tensorflow-core-api/pom.xml | 8 ++++++++ .../tensorflow-core-generator/pom.xml | 19 +++++++++++++++---- .../tensorflow-core-platform-gpu/pom.xml | 2 ++ .../tensorflow-core-platform-mkl-gpu/pom.xml | 2 ++ .../tensorflow-core-platform-mkl/pom.xml | 2 ++ .../tensorflow-core-platform/pom.xml | 2 ++ tensorflow-framework/pom.xml | 12 ++++++++++++ 9 files changed, 66 insertions(+), 4 deletions(-) diff --git a/ndarray/pom.xml b/ndarray/pom.xml index bedf291731c..d228fbdb32a 100644 --- a/ndarray/pom.xml +++ b/ndarray/pom.xml @@ -32,6 +32,10 @@ Utility library for N-dimensional data I/O operations. + + org.tensorflow.ndarray + + org.junit.jupiter @@ -57,6 +61,17 @@ + + maven-jar-plugin + 3.2.0 + + + + ${java.module.name} + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/pom.xml b/pom.xml index eb6f943919d..147d3eb9cd6 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,14 @@ + + + jdk11 + + 11 + 11 + + diff --git a/tensorflow-core/tensorflow-core-api/pom.xml b/tensorflow-core/tensorflow-core-api/pom.xml index f0953383920..8e303f1f235 100644 --- a/tensorflow-core/tensorflow-core-api/pom.xml +++ b/tensorflow-core/tensorflow-core-api/pom.xml @@ -21,6 +21,7 @@ ${native.build.skip} ${native.build.skip} ${native.build.skip} + org.tensorflow.core.api @@ -330,6 +331,13 @@ maven-jar-plugin 3.1.0 + + + + ${java.module.name} + + +