perhaps http://maven.apache.org/guides/mini/guide-creating-archetypes.html 
will help you
It has been written for 1.x (old) archetype, but principles are the same

Regards,

Hervé

Le mercredi 05 mai 2010, Shelli Orton a écrit :
> Thank you.
> 
> Is there any documentation (online or paper) that is better than what's in
> the Maven documentation
> (http://maven.apache.org/archetype/maven-archetype-plugin/create-from-proj
> ect-mojo.html and
> http://maven.apache.org/archetype/maven-archetype-plugin/advanced-usage.ht
> ml)?  Something that includes some explanation as to what is being
> done/created and why?  For someone new to Maven, most of the documentation
> is very cryptic.
> 
> Thanks again!
> 
> -----Original Message-----
> From: Hervé BOUTEMY [mailto:[email protected]]
> Sent: Wednesday, May 05, 2010 3:37 PM
> To: Maven Users List
> Subject: Re: Missing archetype.xml in new archetype created from project
> 
> see http://jira.codehaus.org/browse/ARCHETYPE-292
> 
> archetype.xml is "old" archetype descriptor
> 
> Regards,
> 
> Hervé
> 
> Le mercredi 05 mai 2010, Shelli Orton a écrit :
> > Hi,
> > 
> > I am using Maven 2.2.1. and am new to Maven. I am trying to create an
> > archetype based on an existing project. I have been using this blog post
> > as a guide: http://blog.inflinx.com/category/m2eclipse/
> > 
> > Step 7 says "The next step is to verify that the generated archetype.xml
> > (located under srcmainresourcesMETA-INFmaven (sic)) has all the files
> > listed and they are located in the right directories."
> > 
> > My generated archetype does not have an archetype.xml. It does have an
> > archetype-metadata.xml file though. There aren't any errors in the
> > output from calling archetype:create-from-project, just a couple of
> > warnings about using platform encoding (Cp1252).
> > 
> > Any thoughts on why this file wasn't generated?
> > 
> > Thanks in advance!
> > 
> > Shelli
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to