[
http://jira.codehaus.org/browse/MECLIPSE-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176999#action_176999
]
Arnaud Heritier commented on MECLIPSE-567:
------------------------------------------
I think you are using m2eclipse and not the mvn eclipse:eclipse command.
the issue tracker for this plugin is here :
https://issues.sonatype.org/browse/MNGECLIPSE
> Create project from archetype not in Central Repository fails
> -------------------------------------------------------------
>
> Key: MECLIPSE-567
> URL: http://jira.codehaus.org/browse/MECLIPSE-567
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Environment: Eclipse 3.4.1
> Reporter: Jason Voegele
> Attachments: eclipse-error-dialog.png
>
>
> When using the "New Maven Project" wizard to create a project from a custom
> archetype, which exists in our own custom public Maven repository but not in
> Maven Central repository, the following error occurs:
> 5/18/09 1:08:39 PM EDT: Updating index http://repo1.maven.org/maven2/
> 5/18/09 1:08:41 PM EDT: Downloading central :
> nexus-maven-repository-index.properties
> 5/18/09 1:08:41 PM EDT: Downloaded [central] ->
> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
> 5/18/09 1:08:41 PM EDT: No index update available for
> http://repo1.maven.org/maven2/
> 5/18/09 1:08:48 PM EDT: [INFO] Setting property:
> classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> 5/18/09 1:08:48 PM EDT: [INFO] Setting property: velocimacro.messages.on =>
> 'false'.
> 5/18/09 1:08:48 PM EDT: [INFO] Setting property: resource.loader =>
> 'classpath'.
> 5/18/09 1:08:48 PM EDT: [INFO] Setting property:
> resource.manager.logwhenfound => 'false'.
> 5/18/09 1:09:17 PM EDT: [INFO] snapshot
> org.terracotta.maven.archetypes:pojo-archetype:1.3.1-SNAPSHOT: checking for
> updates from central
> 5/18/09 1:11:01 PM EDT: [ERROR] The desired archetype does not exist
> (org.terracotta.maven.archetypes:pojo-archetype:1.3.1-SNAPSHOT) The desired
> archetype does not exist
> (org.terracotta.maven.archetypes:pojo-archetype:1.3.1-SNAPSHOT)
> As I've mentioned, the archetype does exist in our public repository and
> there is an archetype-catalog.xml file in that same public repository that
> refers to the archetype I am trying to use. Furthermore, I have added the
> repository that contains the archetype to my settings.xml file, but the error
> still occurs.
--
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