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 D8E64200D5F for ; Mon, 18 Dec 2017 16:24:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D7442160C05; Mon, 18 Dec 2017 15:24:09 +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 2BA73160BF9 for ; Mon, 18 Dec 2017 16:24:09 +0100 (CET) Received: (qmail 92216 invoked by uid 500); 18 Dec 2017 15:24:08 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 92207 invoked by uid 99); 18 Dec 2017 15:24:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2017 15:24:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EE5B6C2FBF for ; Mon, 18 Dec 2017 15:24:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nsgIMvQLYr67 for ; Mon, 18 Dec 2017 15:24:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id B3C845F369 for ; Mon, 18 Dec 2017 15:24:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B61EBE0AA3 for ; Mon, 18 Dec 2017 15:24:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 43D10240DE for ; Mon, 18 Dec 2017 15:24:02 +0000 (UTC) Date: Mon, 18 Dec 2017 15:24:02 +0000 (UTC) From: "Aldrin Piri (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MINIFI-420) Cached Windows service executables can leak into generated source packages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 18 Dec 2017 15:24:10 -0000 Aldrin Piri created MINIFI-420: ---------------------------------- Summary: Cached Windows service executables can leak into generated source packages Key: MINIFI-420 URL: https://issues.apache.org/jira/browse/MINIFI-420 Project: Apache NiFi MiNiFi Issue Type: Improvement Components: Build Affects Versions: 0.3.0 Reporter: Koji Kawamura Assignee: Aldrin Piri Fix For: 0.3.0 During the RC2 of the MiNiFi 0.3.0 release it was identified that the candidate source package had executables in it related to the Windows service enablement. The files are provided such that we cache them so that there is no need to repeatedly download the package assembly. Given that .exe is also in .gitignore, a git clean -fd would not remove these. (-fxd would) There are two options that come to mind to help remedy this issue and make things a bit less error prone. One is to move the acquired executables and package to target. However, given that most folks are likely to do a mvn clean this would likely defeat the purpose of caching entirely. The other option is to provide configuration to the maven source plugin to exclude these items. This would allow us to more effectively cache these items but also provide a clean source release that would function as anticipated on build. -- This message was sent by Atlassian JIRA (v6.4.14#64029)