Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 2522 invoked from network); 19 Jan 2011 09:39:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 09:39:07 -0000 Received: (qmail 59818 invoked by uid 500); 19 Jan 2011 09:39:04 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 59557 invoked by uid 500); 19 Jan 2011 09:39:01 -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 59549 invoked by uid 99); 19 Jan 2011 09:39:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 09:39:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 09:38:53 +0000 Received: by qyk33 with SMTP id 33so623573qyk.9 for ; Wed, 19 Jan 2011 01:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=OF12QnMIZhNku4TDNERii5erGwH5GYNmprtvpGId4t0=; b=JwVj1knX9J5zTMqhR45WXUwPxzDduqmpfJy+zbZoeS7dsENQ3GA4NhtH04kGnaLwhj kPAcdRrmmArZHOBIulVFkoQVk3vTWjX6QK+4gvYd2uSRG/jdErlwIsQGSzUNNmXdSEez wSEfPq44dn1ZUqLOTdB98v72kVX18Vwhzs18M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=uUGD0tRsDvBZPLE1xlYejrMg8elYwxF/fcIW2TuUaU3oPLT3NqIsNqNdbvQDhy61Ac Z3l6DmXcXMWepYxfOOhAWxnwLSjBGRcEG6p+C7QTM+k07cFQgrpw23oCFkVsHQ1BiqAt 1hl4eV+iXxMVicXUZoJcKN7KROTNgKKLzemhc= MIME-Version: 1.0 Received: by 10.229.241.194 with SMTP id lf2mr423597qcb.222.1295429911716; Wed, 19 Jan 2011 01:38:31 -0800 (PST) Sender: anders.g.hammar@gmail.com Received: by 10.229.239.5 with HTTP; Wed, 19 Jan 2011 01:38:31 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Jan 2011 10:38:31 +0100 X-Google-Sender-Auth: BcyvWI-f_HTXVNykVSGFh-JKFvg Message-ID: Subject: Re: Generating web project with java, webapp, and resource folder from archtype goal From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=0016364d2b89b834f8049a2fc717 X-Virus-Checked: Checked by ClamAV on apache.org --0016364d2b89b834f8049a2fc717 Content-Type: text/plain; charset=ISO-8859-1 One mail to the list per question is enough. We understand that you're asking because something is blocking you, but there is no need to spam the list. Give people a few days to respond (although you very often get a response quicker than that on this list). If nobody responds, it could be that there is no good answer. /Anders On Wed, Jan 19, 2011 at 10:30, Piotr Skawinski < piotr.skawinski.maven@gmail.com> wrote: > Hi, > > Is there a way in maven to generate a web project with java, resources, and > webapp folders running the archtype goal. Maven suggest to create a multi > project module with: > > multi-project > |-- pom.xml > |-- my-app > |-- my-web-app > > by creating a multi project pom file and then running: > > mvn archetype:create \ > -DgroupId=some-group-id \ > -DartifactId=my-app > > which generates: > > my-app > |-- pom.xml > |--src > '-- main > '-- java > > and then: > > mvn archetype:create \ > -DarchetypeArtifactId=maven- > archetype-webapp \ > -DgroupId=some-group-id \ > -DartifactId=my-web-app > > which generates: > > my-web-app > |-- pom.xml > |-- src > '--main > '-- resources > '-- webapp > > But i would like to get this structure > > web-app > |-- pom.xml > |-- src > '--main > '-- java > '-- resources > '-- webapp > > from running the archtype goal on. > > > > cheers, Piotr > --0016364d2b89b834f8049a2fc717--