From commits-return-74377-archive-asf-public=cust-asf.ponee.io@maven.apache.org Sun Jul 8 14:14:36 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 493CA180630 for ; Sun, 8 Jul 2018 14:14:36 +0200 (CEST) Received: (qmail 91954 invoked by uid 500); 8 Jul 2018 12:14:35 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 91945 invoked by uid 99); 8 Jul 2018 12:14:35 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jul 2018 12:14:35 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id C59CC81E67; Sun, 8 Jul 2018 12:14:34 +0000 (UTC) Date: Sun, 08 Jul 2018 12:14:34 +0000 To: "commits@maven.apache.org" Subject: [maven-compiler-plugin] branch MCOMPILER-323 updated: Trying to figure out why multiproject fails on build.a.o MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153105207475.22699.39652697934726523@gitbox.apache.org> From: rfscholte@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: maven-compiler-plugin X-Git-Refname: refs/heads/MCOMPILER-323 X-Git-Reftype: branch X-Git-Oldrev: 001a2630de1c0d907fbc6455e95d1a52dc7c4dc2 X-Git-Newrev: 1e4d6e7da52526b46f93bef88d1b256af6c1611e X-Git-Rev: 1e4d6e7da52526b46f93bef88d1b256af6c1611e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch MCOMPILER-323 in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git The following commit(s) were added to refs/heads/MCOMPILER-323 by this push: new 1e4d6e7 Trying to figure out why multiproject fails on build.a.o 1e4d6e7 is described below commit 1e4d6e7da52526b46f93bef88d1b256af6c1611e Author: rfscholte AuthorDate: Sun Jul 8 14:14:26 2018 +0200 Trying to figure out why multiproject fails on build.a.o --- pom.xml | 1 + src/it/multirelease-patterns/multiproject/verify.groovy | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 6a077db..4c7df92 100644 --- a/pom.xml +++ b/pom.xml @@ -362,6 +362,7 @@ under the License. multirelease-patterns/singleproject-toolchains/pom.xml + true diff --git a/src/it/multirelease-patterns/multiproject/verify.groovy b/src/it/multirelease-patterns/multiproject/verify.groovy index 38cdec0..07bc887 100644 --- a/src/it/multirelease-patterns/multiproject/verify.groovy +++ b/src/it/multirelease-patterns/multiproject/verify.groovy @@ -19,6 +19,11 @@ import java.util.jar.JarFile +def log = new File(basedir,'build.log') +assert 1 == log.text.count('[INFO] Building multirelease-parent 1.0.0-SNAPSHOT') : 'parent should be built once' +assert 2 == log.text.count('[INFO] Building Base 1.0.0-SNAPSHOT') : 'base should be built twice' +assert 1 == log.text.count('[INFO] Building multirelease-nine 1.0.0-SNAPSHOT') : 'nine should be built once' + def mrjar = new JarFile(new File(basedir,'multirelease-base/target/multirelease-1.0.0-SNAPSHOT.jar')) assert mrjar.manifest.mainAttributes.getValue('Multi-Release') == 'true' : 'Multi-Release attribute in manifest should be true'