Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEF8118097 for ; Fri, 5 Feb 2016 15:27:52 +0000 (UTC) Received: (qmail 31879 invoked by uid 500); 5 Feb 2016 15:27:40 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 31832 invoked by uid 500); 5 Feb 2016 15:27:40 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 31783 invoked by uid 99); 5 Feb 2016 15:27:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 15:27:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D7D3C2C1F57 for ; Fri, 5 Feb 2016 15:27:39 +0000 (UTC) Date: Fri, 5 Feb 2016 15:27:39 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-4318) Generated distribution archive contains double entries when using resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4318?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 resolved KARAF-4318. ----------------------------------------- Resolution: Fixed > Generated distribution archive contains double entries when using resourc= es > -------------------------------------------------------------------------= -- > > Key: KARAF-4318 > URL: https://issues.apache.org/jira/browse/KARAF-4318 > Project: Karaf > Issue Type: Bug > Components: karaf-tooling > Affects Versions: 3.0.5 > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 3.0.6 > > > When using karaf-maven-plugin to create a custom distribution, and also u= sing some file in project resources (like src/main/resources/bin/setenv for= instance), the resulting distribution archives (tar.gz and zip) contains t= wo entries: one for the original file, and the one from resources (the late= r is actually the one used in the archive): > {code} > jbonofre@latitude:~/Workspace/test-karaf/target$ tar ztvf my-assembly-1.0= .0-SNAPSHOT.tar.gz |grep -i setenv > -rwxr-xr-x 0/0 2089 2016-02-05 14:27 my-assembly-1.0.0-SNAPSHO= T/bin/setenv > -rw-r--r-- 0/0 2159 2016-02-05 14:27 my-assembly-1.0.0-SNAPSHO= T/bin/setenv.bat > -rw-r--r-- 0/0 17 2016-02-05 14:24 my-assembly-1.0.0-SNAPSHO= T/bin/setenv > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)