maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (MECLIPSE-635) Problem with eclipse:m2eclipse for prohject that uses aspectLibraries
Date Fri, 22 Jan 2010 09:38:55 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207843#action_207843
] 

Arnaud Heritier edited comment on MECLIPSE-635 at 1/22/10 3:38 AM:
-------------------------------------------------------------------

eclipse:m2eclipse should be deprecated. You better should import your project directly for
m2eclipse

      was (Author: aheritier):
    eclipse:m2eclipse should be deprecated. You better should import you project directly
for m2eclipse
  
> Problem with eclipse:m2eclipse for prohject that uses aspectLibraries
> ---------------------------------------------------------------------
>
>                 Key: MECLIPSE-635
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-635
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: AJDT support, M2Eclipse support
>            Reporter: Andrew Eisenberg
>         Attachments: pom.xml
>
>
> I am running eclipse:m2eclipse on a pom.xml and I get the following error:
> {code}
> [INFO] Preparing eclipse:m2eclipse
> [INFO] [aspectj:compile {execution: default}]
> [INFO] [eclipse:m2eclipse {execution: default-cli}]
> [INFO] Adding support for WTP version 2.0.
> [INFO] Using Eclipse Workspace: null
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] AspectLibrary is not a dependency of project
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: AspectLibrary is not a dependency
of project
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: AspectLibrary is not a dependency
of project
> 	at org.apache.maven.plugin.eclipse.EclipsePlugin.buildAspectjDeps(EclipsePlugin.java:1732)
> 	at org.apache.maven.plugin.eclipse.EclipsePlugin.createEclipseWriterConfig(EclipsePlugin.java:1230)
> 	at org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1043)
> 	at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:511)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	... 17 more
> {code}
> I will be attaching a simplified version of the pom.xml that reproduces this problem.
> Originally raised here: https://issues.sonatype.org/browse/MNGECLIPSE-2009

-- 
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

        

Mime
View raw message