[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1050) Errors Reported as a Result of Maven Project Setup

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Jan 13 20:39:31 EST 2010


    [ https://jira.jboss.org/jira/browse/JBDS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12505344#action_12505344 ] 

Snjezana Peco commented on JBDS-1050:
-------------------------------------

This error happens when using an older archetype library. Try to remove/uninstall m2eclipse and install it again using http://m2eclipse.sonatype.org/update-dev
Check the version of m2eclipse you are using (Help>About). Needs to be 0.9.9.200912160759.

> Errors Reported as a Result of Maven Project Setup 
> ---------------------------------------------------
>
>                 Key: JBDS-1050
>                 URL: https://jira.jboss.org/jira/browse/JBDS-1050
>             Project: JBoss Developer Studio
>          Issue Type: Bug
>          Components: 3rdParty, integration, libmanagement
>    Affects Versions: 3.0.0.CR1
>         Environment: Fedora Core 11 32 bit. JDK1.6.0_16. Subversion 1.6.4. Maven 2.2.1. JBDS 3.0.0._H50_CR1
>            Reporter: Ben Clare
>            Assignee: Snjezana Peco
>
> Following installation of plugins from update sites:
> 1. Mylyn
>    http://download.eclipse.org/tools/mylyn/update/e3.4
> 2. Subclipse
>    http://subclipse.tigris.org/update_1.6.x
> 3. Maven Integration for Eclipse AJDT plugin (required for 4.)
>     http://download.eclipse.org/tools/ajdt/35/dev/update
> 4. M2Eclipse
>    http://m2eclipse.sonatype.org/update/
> ...and setting up a Maven Webapp project:
> File->
>   New->
>     Project ->
>       Other->
>         Maven->
>           Maven project ->
>             Wait for Nexus Indexer Update ->
>             Select maven-archetype-webapp  -> Select Next ->
>             Accept the defaults. Click Next ->
>               Enter the GroupId and ArtiactId. Click Finish ->
>                 Project is set up but returns error:
>                   
> Message: 
>   An internal error occurred during: "Creating maven-archetype-webapp".
> Stack Trace:
>   java.lang.AbstractMethodError
> 	at org.maven.ide.eclipse.internal.project.DefaultLifecycleMapping.configure(DefaultLifecycleMapping.java:64)
> 	at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:347)
> 	at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:269)
> 	at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:165)
> 	at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:533)
> 	at org.maven.ide.eclipse.wizards.MavenProjectWizard$5.runInWorkspace(MavenProjectWizard.java:280)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Session Data:
>   eclipse.buildId=M20090917-0800
>   java.version=1.6.0_16 
>   java.vendor=Sun Microsystems Inc.
>   BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>   Command-line arguments:  -os linux -ws gtk -arch x86 -clean
> Everything else is fine. (ie project builds etc.)
> Ben
>                   
>     

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list