hey all, following my reply, here is the setting for a war using RAD6 and including the WebContent directory:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <directory>WebContent</directory> <excludes> <exclude>**/*.jar</exclude> <exclude>**/*.zip</exclude> </excludes> </resource> </webResources> </configuration> </plugin> it should help... :) regards, Andre > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: donderdag 5 oktober 2006 16:16 > To: Maven Users List > Subject: Re: Create non-conventional archetype > > > You said that archetype plugin can create custom directory structure. > I trying to define my own source directories and test source > directories in archetype.xml. My directories has different locations > and names from standard. And I cann`t do this because "Embedded error: > Template 'src/App.java' not in directory 'src/main/java'. > In Jira I found task for empty directory creation. So I cann`t create > empty directories and variants of my own directory structures > decrease. > -----Original Message----- > From: Tran Andre NL > Sent: donderdag 5 oktober 2006 16:24 > To: users@maven.apache.org > Subject: RE: Create non-conventional archetype > > > Hi all, > > well, I think Eric is facing to an issue occured by using > RAD6 and M2... > Indeed this ide does not allow to change the path of the directory > WebContent. > > Anyway, I will be happy to test your archetype. > Personally, we set the path of some directories in the pom. > > regards > Andre > > > -----Original Message----- > > From: Henrique Prange [mailto:[EMAIL PROTECTED] > > Sent: donderdag 5 oktober 2006 16:03 > > To: Maven Users List > > Subject: Re: Create non-conventional archetype > > > > > > Hi Eric, > > > > Yes, you can do that. Take a look at: > > > > http://maven.apache.org/guides/mini/guide-creating-archetypes.html > > > > But you really can't use the standard directory layout of Maven? > > Standard over configuration is one of the best values of > > Maven. Take a > > look at: > > > > http://maven.apache.org/guides/introduction/introduction-to-th > > e-standard-directory-layout.html > > > > Cheers, > > > > Henrique > > > > eric.frigot wrote: > > > Hi All, > > > > > > I would like to create an archetype for my own project > > > structure. I made a framework with a lot of config files and > > > when i create a new project base on this framework, i must > > > copy all the files and directories structures. Is-it possible > > > to create such archetype ? > > > > > > Here is a typical directory structure : > > > project > > > | > > > +- JavaSource > > > | | > > > | + com.myentreprise.myproject > > > | | | > > > | | + /* sources files go here */ > > > | | > > > | + config /* files and sub-directories */ > > > | | > > > | + /* others config files */ > > > | > > > + TestSource > > > | > > > + WebContent > > > | > > > + /* directories and files, WEB-INF, META-INF, ... */ > > > > > > Can an archetype create such structure ? > > > I am using Eclipse, is-it possible to extend its archetype and > > > this way create the dependancies ? > > > > > > Thanks a lot for any information. > > > > > > Accédez au courrier électronique de La Poste > > > sur www.laposte.net ou sur 3615 LAPOSTENET (0,34€ TTC /mn) > > > 1 Giga de stockage gratuit – Antispam et antivirus intégrés > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > -- > > > > \o/ Henrique Prange, Moleque de Idéias Educação e Tecnologia Ltda > > | Phone: 55-21-2710-0178 E-mail: [EMAIL PROTECTED] > > / \ http://www.moleque.com.br > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -------------------------------------------------------------- > ---------------------------------------------- > This message is intended for the addressee or its > representative only. > Any form of unauthorized use, publication, reproduction, copying or > disclosure of the content of this e-mail is not permitted. If you are > not the intended recipient of this e-mail message and its contents, > please notify the sender immediately and delete this message and > all its attachments subsequently. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]