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

chenliang commented on ARCHETYPE-147:
-------------------------------------

This issue is the same with ARCHETYPE-146

> Cannot create a new project from an exist project
> -------------------------------------------------
>
>                 Key: ARCHETYPE-147
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-147
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Archetypes
>    Affects Versions: 2.0-alpha-2
>            Reporter: chenliang
>
> 1:run mvn:create-from-project in an existing project d:\workspace\myArchetype
> 2:run mvn:install in d:\workspace\myArchetype\target\archetype
> All the command run success
> But after that, i move to d:\workspace and try run mvn archetype:create. It 
> fails. The log is here:
> Downloading: 
> http://repo1.maven.org/maven2/com/ncs/iconnect/testproject/wagon-h
> tp-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
> Downloading: 
> http://repo1.maven.org/maven2/com/ncs/iconnect/testproject/wagon-h
> tp-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
> [INFO] Setting property: classpath.resource.loader.class => 
> 'org.codehaus.plexu
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:create]
> [INFO] Defaulting package to group ID: com.ncs.iconnect.testproject
> [INFO] 
> ------------------------------------------------------------------------
> ---
> [INFO] Using following parameters for creating OldArchetype: 
> iframe-blank:1.0-S
> APSHOT
> [INFO] 
> ------------------------------------------------------------------------
> ---
> [INFO] Parameter: groupId, Value: com.ncs.iconnect.testproject
> [INFO] Parameter: packageName, Value: com.ncs.iconnect.testproject
> [INFO] Parameter: basedir, Value: D:\workspace\testProject
> [INFO] Parameter: package, Value: com.ncs.iconnect.testproject
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: artifactId, Value: myproject
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error creating from archetype
> Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Mon Mar 10 09:57:06 GMT+08:00 2008
> [INFO] Final Memory: 7M/14M
> [INFO] 
> ------------------------------------------------------------------------
> Cannot use mvn:create to create a new project from an archetype which install 
> by mvn:create-from-project?

-- 
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