Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 92830 invoked from network); 11 Jun 2009 21:44:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 21:44:26 -0000 Received: (qmail 46700 invoked by uid 500); 11 Jun 2009 21:44:35 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 46597 invoked by uid 500); 11 Jun 2009 21:44:35 -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 46587 invoked by uid 99); 11 Jun 2009 21:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 21:44:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.200.150] (HELO web30807.mail.mud.yahoo.com) (68.142.200.150) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 11 Jun 2009 21:44:23 +0000 Received: (qmail 45768 invoked by uid 60001); 11 Jun 2009 21:44:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244756642; bh=BD7AzL5s2+N1qOlCZWZA2BpFhRJWLU5jGe1ndrYxSxI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=IYZXsZBjzQiAx4a8+tWYTHhFMxMV2HX0aNThBhmDryps985YcoRF9Ri1HxFig+H1CdBHMWDZWQ5XYD1GIXqfuasENxt4g65oTsnWxfCgbQ9bWcOmLYHjfYIr+DhuxW7UkxSseqVTmSS1YredNRNDTWqHByVyniiBnEeqTDWAYTU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=iNMmOpY6oizF7RThD5WtI+FvPyEcoGxQe3Uz59/qvVI2bZ/Y6yt6BmudAc5bTJGO0K4nvwWqNHmOC//u45xACwK4Z5n93GBex/FPgcDbU/x7JmGJnOSpokVuPC0vDUg0R1yL4FN8tU+MCeri85B2Uza9rPzLHpbItN4WWxyc2C4=; Message-ID: <206421.44956.qm@web30807.mail.mud.yahoo.com> X-YMail-OSG: 4sGjtZIVM1nb6xzEynzXS8NOzOB.gu8UVAyMm5P0gVG9U9JHtcv6ymrC_3QxLqKTd6YWuJr8cdMYt65eYd2w8Pv8NBmXbniNplYffU4Noi8Uo_.JVBqv105l0MVXMCix7EbEvJnDaYxSzahXfV_BR8tVfzhcdx8_uRgNUfCSj6enDUBm7iRFM4HvWz_Q.if1mLcKkJhiR.lBvxibfsCmdeg4X4km._dwUe22z1j50WTP0N7PDCzDgaWR4d.uDEiwoHx8iv9bNCdhNitSnIYGROIDVZm1g3ve0iw1hcJ9AzkRC2ij1vANL_8Eb8Nft3hu5MY8GMbjDbA_e4530PKGPSmtUtb4QAPqpaJmo4eDn6m66T_O Received: from [12.171.160.202] by web30807.mail.mud.yahoo.com via HTTP; Thu, 11 Jun 2009 14:44:01 PDT X-Mailer: YahooMailRC/1357.17 YahooMailWebService/0.7.289.15 References: <23989113.post@talk.nabble.com> Date: Thu, 11 Jun 2009 14:44:01 -0700 (PDT) From: Robert Glover Subject: Re: About resource folder in Maven structure To: Maven Users List In-Reply-To: <23989113.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1904780299-1244756641=:44956" X-Virus-Checked: Checked by ClamAV on apache.org --0-1904780299-1244756641=:44956 Content-Type: text/plain; charset=us-ascii I have to respond from the perspective of a maven user, because that's me. When I do what you asked about, I manually add the resources directory and manually put into it what I think should be there. The key lesson I learned the hard way is that the java directory can only contain ".java" files. If you put xml files or property files or velocity template files into the "java" directory, they will not become part of the target or the jar file in the target. They MUST be placed in the resources directory or else maven will not put them into target. I have no experience with META-INF so your guess is as good as Mine. (My guess is you should manually add it). ________________________________ From: dr_pompeii To: users@maven.apache.org Sent: Thursday, June 11, 2009 5:13:55 PM Subject: About resource folder in Maven structure Dear Members I know how to create a default project according to maven structure like mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app and work without problem, but in this link http://maven.apache.org/guides/getting-started/index.html I see this structure, specially the bold part (I need these folders) my-app |-- pom.xml `-- src |-- main | |-- java | | `-- com | | `-- mycompany | | `-- app | | `-- App.java | `-- resources | `-- META-INF | `-- application.properties `-- test `-- java `-- com `-- mycompany `-- app `-- AppTest.java The comand mvn archetype:create .... (already written above) doesnt create neither resources nor META-INF folders Therefore Must I do this by hand? or is there a special command to have these folders in the structure? Thanks in advanced -- View this message in context: http://www.nabble.com/About-resource-folder-in-Maven-structure-tp23989113p23989113.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 --0-1904780299-1244756641=:44956--