The archetypes are used to create a project, so you don't need a pom.
Take a look at the archetype plugin documentation [1]

The command you are looking for is:

mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes
-DarchetypeArtifactId=webapp-jee5 -DarchetypeVersion=1.0

[1] http://maven.apache.org/plugins/maven-archetype-plugin

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Feb 26, 2009 at 12:56 PM, Thai Dang Vu <[email protected]> wrote:
> I want to create a jee5 ear project with maven and I found this 
> http://mvnrepository.com/artifact/org.codehaus.mojo.archetypes. But I don't 
> know how to write my pom.xml file using that. Could anybody please help me?
>
> Thank you.
>
> PS: you can post your pom.xml and I will take it from there.
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to