Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-alpha-2
-
None
-
None
Description
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
mvn archetype:create -DremoteRepositories=http://maven.seasar.org/maven2/ \
-DgroupId=com.example.foo -DartifactId=barapp -DarchetypeGroupId=org.seasar.cubby \
-DarchetypeArtifactId=cubby-archetype
specify "archetypeVersion" -> build error
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
and part of log
[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] ------------------------------------------------------------------------
Attachments
Issue Links
- is related to
-
ARCHETYPE-150 New maven-archetype-plugin ignores the remoteRepositories system property
- Closed