Missing archetype.xml in new archetype created from project.
Posted
by sdoca
on Stack Overflow
See other posts from Stack Overflow
or by sdoca
Published on 2010-05-04T23:03:40Z
Indexed on
2010/05/04
23:08 UTC
Read the original article
Hit count: 234
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!
© Stack Overflow or respective owner