You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by agosain <an...@gmail.com> on 2010/03/15 06:43:43 UTC

Maven Multimodule archetype directory naming.

Hi,

Well i created a archetype myArchetype which has two sub modules myJava and
myWebApp which i created using maven-aarchetype-quickstart and
maven-archetype-webapp plugins respectively. 

Now i want to create a new single multimodule archetype using this
archetype. So first i ran mvn:create-from-project in the root directory of
myArchetype ,then went to  /target/generated-sources/archetype directory and
ran mvn clean install.

Now i want to create an  archetype whose sub module directory names should
be ${artifactId}-java and ${artifactId}-webapp.

so when i run mvn archetype:generate and select option of myArchetype it
asks me options which i fill in as follows

groupId= com.xxx
artifactId=abc
version=1.0-snapshot
packageId=com.xxx

since artifactId i provided has value "abc" so the root folder name should
be abc and sub folder names should be abc-java and abc-webapp.

This is where i face the problem. Though the root folder name of the created
archetype changes to abc the sub-folder names are still myJava and myWebapp.

Any suggestions as to how can i change these folder names using
archetype-metadata.xml


-- 
View this message in context: http://old.nabble.com/Maven-Multimodule-archetype-directory-naming.-tp27900592p27900592.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