CLONE -Unable to locate custom archetypes : archetype repository not resolved.
------------------------------------------------------------------------------

                 Key: ARCHETYPE-168
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-168
             Project: Maven Archetype
          Issue Type: Bug
          Components: Creator
    Affects Versions: 2.0-alpha-1
         Environment: Linux Fedora 8, JDK 1.5, Maven 2.0.7
            Reporter: Francois Le Droff
            Assignee: Milos Kleint
             Fix For: 2.0-alpha-2


When the following command is issued:
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-block
-DarchetypeVersion=1.0.0-RC2 -DgroupId=org.cocoondev -DartifactId=geoid-core

Maven 2.0.7 reports this error:
[INFO] [archetype:create]
[WARNING] No archetype repository found.
[WARNING] Specified archetype not found.
Choose archetype:
1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
application with Hibernate, Spring and JSF)
...

This was solved by specifying use of the 1.0-alpha-7 archetype version in 
command line:
org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ..


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