[
http://jira.codehaus.org/browse/ARCHETYPE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125993
]
BABA,Yasuyuki commented on ARCHETYPE-144:
-----------------------------------------
Thanks Raphael.
But, this case is the old "archetype:create".
Not "archetype:generate".
> Fails "archetype:create" when specify archetypeVersion
> ------------------------------------------------------
>
> Key: ARCHETYPE-144
> URL: http://jira.codehaus.org/browse/ARCHETYPE-144
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-2
> Reporter: BABA,Yasuyuki
>
> We uses custom archetype and remote repository.
> http://maven.seasar.org/maven2/org/seasar/cubby/cubby-archetype/1.0.0/cubby-archetype-1.0.0.jar
> no specify "archetypeVersion" -> build successful
> {code}
> mvn archetype:create -DremoteRepositories=http://maven.seasar.org/maven2/ \
> -DgroupId=com.example.foo -DartifactId=barapp
> -DarchetypeGroupId=org.seasar.cubby \
> -DarchetypeArtifactId=cubby-archetype
> {code}
> specify "archetypeVersion" -> build error
> {code}
> mvn archetype:create -DremoteRepositories=http://maven.seasar.org/maven2/ \
> -DgroupId=com.example.foo -DartifactId=barapp
> -DarchetypeGroupId=org.seasar.cubby \
> -DarchetypeArtifactId=cubby-archetype -DarchetypeVersion=1.0.0
> {code}
> and part of log
> {code}
> [INFO] [archetype:create]
> [INFO] Defaulting package to group ID: com.example.foo
> [INFO] We are using command line specified remote repositories:
> http://maven.seasar.org/maven2/
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error creating from archetype
> Embedded error: OldArchetype does not exist.
> http://repo1.maven.org/maven2/org/seasar/cubby/cubby-archetype/1.0.0/cubby-archetype-1.0.0.jar
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expects "http://maven.seasar.org/maven2/" !
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Mon Mar 03 21:16:46 JST 2008
> [INFO] Final Memory: 8M/79M
> [INFO]
> ------------------------------------------------------------------------
> {code}
--
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