Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 33899 invoked from network); 11 Mar 2008 08:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 08:17:08 -0000 Received: (qmail 90257 invoked by uid 500); 11 Mar 2008 08:16:54 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 90192 invoked by uid 500); 11 Mar 2008 08:16:54 -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 90177 invoked by uid 99); 11 Mar 2008 08:16:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 01:16:54 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 08:16:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JYzet-0007Xj-3D for users@maven.apache.org; Tue, 11 Mar 2008 01:16:27 -0700 Message-ID: <15975686.post@talk.nabble.com> Date: Tue, 11 Mar 2008 01:16:27 -0700 (PDT) From: Luca Tagliani To: users@maven.apache.org Subject: RE: Release process In-Reply-To: <2BABBE7D2A66E04DB8A66A527D29927E35E190@intrepid.infinity.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: l.tagliani@cbt.it References: <15950826.post@talk.nabble.com> <2BABBE7D2A66E04DB8A66A527D29927E35E172@intrepid.infinity.nu> <15964745.post@talk.nabble.com> <2BABBE7D2A66E04DB8A66A527D29927E35E190@intrepid.infinity.nu> X-Virus-Checked: Checked by ClamAV on apache.org To be more precise I will describe more in detail. I have some resources located on the filesystem of my PC that isn't inside my scm, because they are platform dependent (i.e.: configuratoin files for db connection). When I release the project these resources should be copied into the released war as "template" for the customer. In fact once the application is deployed, they have to be taylored to the customer's configuration. Attached to this message you will find the pom.xml of my project. http://www.nabble.com/file/p15975686/pom.xml pom.xml I would expect that if I specify the resource in the pom they will be copied during the release process. Or am I wrong and doesn't understand nothing at all :-) Luca Brian E Fox wrote: > > Are these resources not inside your scm? Why would they not be picked up > from the checkout folder? Are you using absolute paths or something? > Something is fishy here because the build shouldn't care where it is. > > -----Original Message----- > From: Luca Tagliani [mailto:l.tagliani@prismaeng.it] > Sent: Monday, March 10, 2008 6:48 PM > To: users@maven.apache.org > Subject: RE: Release process > > > I mean that during the release:perform the war is built using the > content of > the target/checkout directory and the resources placed outside the > src/main/resources directory (but specified in the resources tag of the > pom.xml) isn't copied into the war. > > > Brian E Fox wrote: >> >> What do you mean the release plugin doesn't copy them? The resources > are >> in the war and the war gets deployed. You may also be getting a > sources >> jar and the resources should be in there. Is this what you're missing? >> >> -----Original Message----- >> From: Luca Tagliani [mailto:l.tagliani@prismaeng.it] >> Sent: Monday, March 10, 2008 11:37 AM >> To: users@maven.apache.org >> Subject: Release process >> >> >> Hi all, >> I'm using the release plugin with a subversion SCM to release a war. >> I want to perform a release including the resources specified in the >> tag of my pom, but the plugin doesn't copy them. >> >> When I do a normal deploy, obviously, the resources are copied in the >> war. >> >> There's a way to do this? >> >> Thanks in advance >> >> Luca >> -- >> View this message in context: >> http://www.nabble.com/Release-process-tp15950826s177p15950826.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/Release-process-tp15950826s177p15964745.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > -- View this message in context: http://www.nabble.com/Release-process-tp15950826s177p15975686.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org