[ 
http://jira.codehaus.org/browse/ARCHETYPE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120651
 ] 

Dave Syer commented on ARCHETYPE-31:
------------------------------------

I can see that something has happened because there are a couple of pages of 
docos and I can do 

  mvn clean archetypeng:create-from-project 

and see code appear in target/generated-sources/archetypeng.  It might even 
almost be a valid archetype, but when I install it and then use it I get

Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found.

(Despite the fact that the file exists in the jar.  I guess it is somehow 
invalid and the error message is unclear?)

The archetype groupId and artifacfId are the same as the project it was created 
from (not very useful).  I also see target/archetype.properties appearing.  
Maybe that's being used to set the archetype pom properties up?  Not so you'd 
notice.  Is this supposed to work?  How would I modify the archetype?

Is there going to be some more documentation?

> Create a tool that will generate an archetype from an existing project
> ----------------------------------------------------------------------
>
>                 Key: ARCHETYPE-31
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-31
>             Project: Maven Archetype
>          Issue Type: New Feature
>            Reporter: Jason van Zyl
>            Assignee: Jason van Zyl
>
> An archetype author shold be able to work/debug an existing project and when 
> satisfied just flip it into an archetype.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to