Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DBDA1929C for ; Fri, 25 Mar 2016 00:38:26 +0000 (UTC) Received: (qmail 9354 invoked by uid 500); 25 Mar 2016 00:38:25 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 9289 invoked by uid 500); 25 Mar 2016 00:38:25 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 9046 invoked by uid 99); 25 Mar 2016 00:38:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2016 00:38:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 70FDD2C1F5A for ; Fri, 25 Mar 2016 00:38:25 +0000 (UTC) Date: Fri, 25 Mar 2016 00:38:25 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-4172) Leverage Maven Toolchains for cross-compiling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Christopher Tubbs created ACCUMULO-4172: ------------------------------------------- Summary: Leverage Maven Toolchains for cross-compiling Key: ACCUMULO-4172 URL: https://issues.apache.org/jira/browse/ACCUMULO-4172 Project: Accumulo Issue Type: Task Components: build Reporter: Christopher Tubbs Assignee: Christopher Tubbs Maven toolchains are a way of declaring prerequisites for a build, and allowing users to create configurations which convey the details of tools which satisfy those prerequisites. The most common use of toolchains is to specify the JDK version requirements, and many maven plugins will make use of the configured `jdk` toolchain to perform their work. It is becoming increasingly difficult/annoying to download and configure older JDKs for building different branches of Accumulo with different JDK requirements. The use of toolchains which specify the requirements can make it so switching a branch doesn't require one to perform any extra steps to ensure their JDK matches the build requirements for that branch. The downside is that users will be responsible for maintaining their own mapping to their local tools which satisfy the jdk requirements in `$HOME/.m2/toolchains.xml` However, this is a standard way of supporting cross-compilation across java versions, so we should consider implementing it in our maven configuration, so long as we have a requirement to ensure some branches can build and run on older JDKs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)