From users-return-130025-apmail-maven-users-archive=maven.apache.org@maven.apache.org Sat Nov 24 22:37:49 2012 Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 153E4EF8F for ; Sat, 24 Nov 2012 22:37:48 +0000 (UTC) Received: (qmail 71599 invoked by uid 500); 24 Nov 2012 22:37:46 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 71528 invoked by uid 500); 24 Nov 2012 22:37:46 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 71520 invoked by uid 99); 24 Nov 2012 22:37:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Nov 2012 22:37:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [207.183.49.139] (HELO production.artifact-software.com) (207.183.49.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Nov 2012 22:37:39 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by production.artifact-software.com (Postfix) with ESMTP id DBA6CFEC062 for ; Sat, 24 Nov 2012 17:37:15 -0500 (EST) X-Virus-Scanned: amavisd-new at artifact-software.com Received: from production.artifact-software.com ([127.0.0.1]) by localhost (smtp.artifact-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w3UunAwiUt4p for ; Sat, 24 Nov 2012 17:37:08 -0500 (EST) Received: from [192.168.3.170] (modemcable202.79-37-24.static.videotron.ca [24.37.79.202]) by production.artifact-software.com (Postfix) with ESMTP id CA8FFFEC04F for ; Sat, 24 Nov 2012 17:37:08 -0500 (EST) Message-ID: <50B14C0A.2020707@artifact-software.com> Date: Sat, 24 Nov 2012 17:36:58 -0500 From: Ron Wheeler Reply-To: rwheeler@artifact-software.com Organization: Artifact Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: externalize conf files References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 24/11/2012 5:29 PM, laudio.info wrote: > hello > into my maven projects i have the conf files (properties) and log > configuracion files into the jars or ears. > well i must to externalize them. > i must to put into one external location but i dont know. > for example i must to put when i install the app (mvn install) into one > ourt directory, for example c:/confiles > > is this posible using maven? > how? > can you help me please? > > Thanks > There may be other ways to approach this but my first thought would be to have a small assembly project that used the assembly or shade plug-in to put these resources into a zip file (or some other archive) that could be used to load them into the external location. Ron -- Ron Wheeler President Artifact Software Inc email: rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org