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 95EF017842 for ; Tue, 3 Feb 2015 09:30:37 +0000 (UTC) Received: (qmail 8762 invoked by uid 500); 3 Feb 2015 09:30:35 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 8732 invoked by uid 500); 3 Feb 2015 09:30:35 -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 8720 invoked by uid 99); 3 Feb 2015 09:30:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 09:30:35 +0000 Date: Tue, 3 Feb 2015 09:30:35 +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] [Reopened] (KARAF-2742) karaf-maven-plugin can not include filtered resources in a custom distribution 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-2742?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reopened KARAF-2742: ----------------------------------------- > karaf-maven-plugin can not include filtered resources in a custom distrib= ution > -------------------------------------------------------------------------= ----- > > Key: KARAF-2742 > URL: https://issues.apache.org/jira/browse/KARAF-2742 > Project: Karaf > Issue Type: Bug > Components: karaf-tooling > Affects Versions: 3.0.0 > Environment: Fedora 20, Oracle JDK 1.7.0_51, Maven 3.0.4 > Reporter: Partha Roy > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.0.0, 3.0.2 > > Attachments: karaf-filtering-bug.tar.gz > > > I am trying to build a custom Karaf distribution by following http://kara= f.apache.org/manual/latest/developers-guide/custom-distribution.html. I nee= d to add a .cfg file in the karaf/etc directory. However, the maven resourc= e filtering on that .cfg file does not work. > The sample project looks like: > {code} > karaf-filtering-bug > =E2=94=9C=E2=94=80=E2=94=80 pom.xml > =E2=94=9C=E2=94=80=E2=94=80 readme.txt > =E2=94=94=E2=94=80=E2=94=80 src > =E2=94=94=E2=94=80=E2=94=80 main > =E2=94=94=E2=94=80=E2=94=80 filtered-resources > =E2=94=94=E2=94=80=E2=94=80 etc > =E2=94=94=E2=94=80=E2=94=80 filtering.bug.cfg > {code} > The filtering.bug.cfg file should be filtered with maven resource plugin.= I am expecting that the filtered file will get included in the karaf distr= ibution. I can see that target/classes/etc/filtering.bug.cfg actually has t= he correct content but the karaf/etc/filtering.bug.cfg still has the maven = variables. > I'll upload the sample project as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)