[jbosstools-issues] [JBoss JIRA] (JBIDE-12066) Unable to create Maven archetype project from Nexus Indexer
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Mon Jun 4 16:18:17 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698602#comment-12698602 ]
Snjezana Peco commented on JBIDE-12066:
---------------------------------------
You can add the repository tag to the archetype_catalog.xml in the JBoss Maven Repository or add the archetypeRepository property when generating the archetype from the command line.
The jboss-archetype-simple entry in the archetype_catalog.xml would look like the following:
{code}
<archetype>
<groupId>jboss.maven-archetypes</groupId>
<artifactId>jboss-archetype-simple</artifactId>
<version>1.0</version>
<repository>https://repository.jboss.org/nexus/content/groups/public/</repository>
</archetype>
{code}
> Unable to create Maven archetype project from Nexus Indexer
> -----------------------------------------------------------
>
> Key: JBIDE-12066
> URL: https://issues.jboss.org/browse/JBIDE-12066
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Reporter: Rastislav Wagner
> Assignee: Fred Bricon
> Priority: Blocker
> Fix For: 3.3.0.CR1
>
>
> org.eclipse.core.runtime.CoreException: Could not resolve artifact jboss.maven-archetypes:jboss-archetype-simple:pom:1.0
> at org.eclipse.m2e.core.internal.embedder.MavenImpl.resolve(MavenImpl.java:658)
> at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:625)
> at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:536)
> at org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizard$5.doCreateMavenProjects(MavenProjectWizard.java:241)
> at org.eclipse.m2e.core.ui.internal.wizards.AbstactCreateMavenProjectJob$1.doCreateMavenProjects(AbstactCreateMavenProjectJob.java:45)
> at org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:73)
> at org.eclipse.m2e.core.ui.internal.wizards.AbstactCreateMavenProjectJob.runInWorkspace(AbstactCreateMavenProjectJob.java:49)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Contains: Missing jboss.maven-archetypes:jboss-archetype-simple:pom:1.0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list