accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo-testing] branch master updated: Update accumulo-testing to use Java 11
Date Tue, 30 Jul 2019 00:23:06 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 862144f  Update accumulo-testing to use Java 11
862144f is described below

commit 862144fa5089c6ebd3d82fe9386ee2dd9f49c091
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Mon Jul 29 20:18:07 2019 -0400

    Update accumulo-testing to use Java 11
---
 .travis.yml | 14 +++++++++++---
 pom.xml     |  5 +++--
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1161180..d344cd4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,11 +12,19 @@
 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
+
 language: java
+# speed up builds; don't use cache with default install step
 cache:
   directories:
     - $HOME/.m2
+install: echo NOOP Skipping pre-fetch of Maven dependencies
 jdk:
-  - openjdk8
-install: true
-script: mvn clean verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+  - openjdk11
+before_script:
+  - unset _JAVA_OPTIONS
+env:
+  - BUILD_CMD="mvn -U clean verify"
+# suppress download logs which cause travis to exceed the 4MB build log output limit
+script:
+  - $BUILD_CMD -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
diff --git a/pom.xml b/pom.xml
index b3109fd..1c02093 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,8 +31,9 @@
     <accumulo.version>2.0.0-SNAPSHOT</accumulo.version>
     <eclipseFormatterStyle>${project.basedir}/contrib/Eclipse-Accumulo-Codestyle.xml</eclipseFormatterStyle>
     <hadoop.version>3.2.0</hadoop.version>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.release>11</maven.compiler.release>
+    <maven.compiler.source>11</maven.compiler.source>
+    <maven.compiler.target>11</maven.compiler.target>
     <slf4j.version>1.7.25</slf4j.version>
     <spotbugs.version>3.1.7</spotbugs.version>
     <zookeeper.version>3.4.14</zookeeper.version>


Mime
View raw message