Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 68110 invoked from network); 3 Feb 2009 15:24:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 15:24:21 -0000 Received: (qmail 72031 invoked by uid 500); 3 Feb 2009 15:24:12 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 71964 invoked by uid 500); 3 Feb 2009 15:24:12 -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 71953 invoked by uid 99); 3 Feb 2009 15:24:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 07:24:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stephen.alan.connolly@gmail.com designates 209.85.221.10 as permitted sender) Received: from [209.85.221.10] (HELO mail-qy0-f10.google.com) (209.85.221.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 15:24:05 +0000 Received: by qyk3 with SMTP id 3so2827587qyk.12 for ; Tue, 03 Feb 2009 07:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BOuHTwzUpu82ghpjJCcFYsoiNfqtKR0Q+MBhj6s/Nkk=; b=pAC36iMkDmdhe6yMtanXHfgiz+uYCJRu9N4tUXxuQQHGoXcUwCCNNA9vhMSdN964Wk 5+pd+bHPEu5tbWdmaKfVRd9oiVJPDrTLrC4NW2Gx8AvUUeifSh2/8/9+Qd3zDLxgtd1q 87y00CxKpZDYH2tMFxAS8srf8ZQMv9gTjrbZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Zjm951tD6EtsFr1PjW8s/GWT9yKmYFwzp3CNKPmlKEELByaj4NItMdfe61Qby7ITYM Rp0e5Oyh24+rq+UiDxCkdrv5GHAHZZr9pE/MPqNp4+bcmongP6kgBO/d4wGqwQM9LOTI QihnW6YJ5HfozhPKxTrJuDEUABclSQc4IJuTE= MIME-Version: 1.0 Received: by 10.214.149.5 with SMTP id w5mr5736440qad.297.1233674622898; Tue, 03 Feb 2009 07:23:42 -0800 (PST) In-Reply-To: <498857BB.7080709@xanthippe.ping.de> References: <49884851.5030104@gmx.de> <498850E7.70300@xanthippe.ping.de> <498854C5.6020503@gmx.de> <498857BB.7080709@xanthippe.ping.de> Date: Tue, 3 Feb 2009 15:23:42 +0000 Message-ID: <88c1b40902030723mec9a0e6wc27e8f824585a2b4@mail.gmail.com> Subject: Re: maven with jgoodies From: Stephen Connolly To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Norbert, he's better off with the .form files in src/java IntelliJ expects them there and does it's post-processing of the .class files on the basis that the .form files are beside the .java files. The .form files should *not* end up on the classpath, but are to be post-processed into the .class files Crazy... but true -Stephen 2009/2/3 Dirk Olmes : > Norbert Lazzeri wrote: >> well this is where intellij put them. >> >> im fine with this since each form-file belongs exactly to one java file. >> they are tied to each other and putting them to src clarifies that fact. >> i also put hibernate-mappings into src. >> >> all other resources i put into src/main/resources >> >> however this had no impact on the build so why do you ask? > > Because the maven-resources-plugin will only pick up resources from the > default resource path unless configured otherwise. So if you leave your > resources lying around in src/main/java don't expect them in the final > jar if you build from scratch using Maven. I'm sure the IDE will pick up > resources from the source dir and copy them to target/classes but expect > trouble when building with pure Maven. > > You could configure your pom to include src/main/java as resource dir, > though, just make sure you exclude your .java files in that case. > > -dirk > > --------------------------------------------------------------------- > 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