Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D4A2200CE0 for ; Mon, 3 Jul 2017 06:59:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3B79F160BEE; Mon, 3 Jul 2017 04:59:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 88980160BFF for ; Mon, 3 Jul 2017 06:59:30 +0200 (CEST) Received: (qmail 63843 invoked by uid 500); 3 Jul 2017 04:59:29 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 63791 invoked by uid 99); 3 Jul 2017 04:59:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 04:59:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C75C0C02C8 for ; Mon, 3 Jul 2017 04:59:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.296 X-Spam-Level: X-Spam-Status: No, score=-0.296 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=asert-com-au.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bp1yzB4V5phn for ; Mon, 3 Jul 2017 04:59:25 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A97375F3A1 for ; Mon, 3 Jul 2017 04:59:24 +0000 (UTC) Received: by mail-io0-f169.google.com with SMTP id h64so50606989iod.0 for ; Sun, 02 Jul 2017 21:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asert-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=yFWCJSdAd4i/WmXN+zr4F9XOft8kbqjPCwOpR6KKSGE=; b=LTJg+nJWfW8iUm/Ja/cTIodgxhMbA6dtplltuqGaWJKKpc1lC+qG/GILvD77iTbcgd D4CzK8HpikS5zzquV6l5nFw/BVprupymdJn8Z0V33OApr5vN3yqkcxOwUQoSNJhWoFk3 AeELFDpX+OJkdwAwDk5iiM1DWqPWm9AhBzdalEDbN5h/DaVz0YKYba6MGHZZAvx2K5l4 RpZSa/9GKB6u0NPp07nErc46Q3/4JmSSsAUlW0yXbNdBsSL56djXU50EM5dDbq/eJcRL fXG7OLSll6e+B3HQaPpzmmg017k5stm18BBTGV1gPVAw228mzcEjh9tZRc+poKkYBfG3 u5cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=yFWCJSdAd4i/WmXN+zr4F9XOft8kbqjPCwOpR6KKSGE=; b=qzI4HLsleEQachBLyXAUFjn51pabnK3+J6GldolVNPgrGkkNAwXQ/5bmqjFkZt/+tx a0LPs+iJzgH1wtkedwtdAdFvAKC/zSzFWCXII3UaDzlrEuT8Lt3ALWpswnuzK364owCO ghDwk7EZb2M4U+CfpPg+Gh3rdLGW61VwEiblWFF6gJ8GBVb+4Hrr9zSD547UHKp6EKlE Sh3Z9PpvjhYShwm8LvXEiBgAUscnNpQWQKtI4FGvBwcxgCikWm2vF7Etkqvr9A93Zly4 CE9I40a5BHlfQAU8cnag2/J/J9WGTpMIlKyR/KYj+w0aLc89aX2hZbHEyHLYnNB0ciwn /YFA== X-Gm-Message-State: AKS2vOz6rZhIyyu775QThEHRYhVMdMmvm/fN5bQrrRSsBwCKcw8NChP4 AMzs8OHZGqnW9WRQwti2X06ef0wEZ5UT X-Received: by 10.202.4.73 with SMTP id 70mr16874721oie.105.1499057963968; Sun, 02 Jul 2017 21:59:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.110.201 with HTTP; Sun, 2 Jul 2017 21:59:23 -0700 (PDT) Received: by 10.74.110.201 with HTTP; Sun, 2 Jul 2017 21:59:23 -0700 (PDT) Reply-To: paulk@asert.com.au In-Reply-To: References: From: Paul King Date: Sun, 2 Jul 2017 21:59:23 -0700 Message-ID: Subject: Re: RAT Unapproved License Error when building To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="001a113c2a6470be73055362a194" archived-at: Mon, 03 Jul 2017 04:59:31 -0000 --001a113c2a6470be73055362a194 Content-Type: text/plain; charset="UTF-8" I'm on holidays without laptop but from memory there is a list of exclusions when we call the rat gradle plugin. But in this case we should possibly try to configure testng so that test-output appears under target. Then an existing exclusion should work. On 3 Jul. 2017 5:15 am, "Yazad Khambata" wrote: > Hi, > > When I run the build on a branch of my fork, the build fails RAT > errors. It indicates there are 24 files that have an unapproved > license. Turns out these are all files in the test-output directory > (per the HTML generated report). > > Unapproved Licenses: > /<>/groovy/subprojects/groovy-testng/test-output/Command > line suite/Command line test.html > /<>/groovy/subprojects/groovy-testng/test-output/Command > line suite/Command line test.xml > /<>/groovy/subprojects/groovy-testng/test-output/Command > line suite/testng-failed.xml > ... > ... > ... > > How does one exclude them from build? > > Regards, > Yazad Khambata > --001a113c2a6470be73055362a194 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm on holidays without laptop but from memory there = is a list of exclusions when we call the rat gradle plugin. But in this cas= e we should possibly try to configure testng so that test-output appears un= der target. Then an existing exclusion should work.


On 3 Ju= l. 2017 5:15 am, "Yazad Khambata" <yazad3@gmail.com> wrote:
Hi,

When I run the build on a branch of my fork, the build fails RAT
errors. It indicates there are 24 files that have an unapproved
license. Turns out these are all files in the test-output directory
(per the HTML generated report).

Unapproved Licenses:
/<<MY BASE LOCATION>>/groovy/subprojects/groovy-testng/tes= t-output/Command
line suite/Command line test.html
/<<MY BASE LOCATION>>/groovy/subprojects/groovy-testng/tes= t-output/Command
line suite/Command line test.xml
/<<MY BASE LOCATION>>/groovy/subprojects/groovy-testng/tes= t-output/Command
line suite/testng-failed.xml
...
...
...

How does one exclude them from build?

Regards,
Yazad Khambata
--001a113c2a6470be73055362a194--