maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankur Agarwal <ankur_ag...@yahoo.com>
Subject Cannot find Plexus container
Date Mon, 04 May 2009 09:43:32 GMT
I am trying to create an AndroMDA application using Maven. Have installed Maven (2.0.4) and
also installed AndroMDA plugin. But when i execute andromdapp:generate i get the following
error: 

D:\MyProject>mvn --version 
Maven version: 2.0.4 


D:\MyProject>mvn andromdapp:generate 
[INFO] Scanning for projects... 
[INFO] ------------------------------------------------------------------------- 
--- 
[INFO] Building Maven Default Project 
[INFO] task-segment: [andromdapp:generate] (aggregator-style) 
[INFO] ------------------------------------------------------------------------- 
--- 
[INFO] ------------------------------------------------------------------------ 
[ERROR] BUILD ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] Internal error in the plugin manager executing goal 'org.andromda.maven.p 
lugins:andromdapp-maven-plugin:3.2:generate': Cannot find Plexus container for p 
lugin: org.andromda.maven.plugins:andromdapp-maven-plugin 
[INFO] ------------------------------------------------------------------------ 
[INFO] For more information, run Maven with the -e switch 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: < 1 second 
[INFO] Finished at: Tue Apr 28 13:32:34 IST 2009 
[INFO] Final Memory: 2M/4M 
[INFO] ------------------------------------------------------------------------ 
 
=================
Stack trace with -e and -X options:
 
================== 
D:\MyProject>mvn andromdapp:generate -e -X 
+ Error stacktraces are turned on. 
Maven version: 2.0.4 
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin 
gs\aagga\.m2\plugin-registry.xml' 
[DEBUG] Building Maven global-level plugin registry from: 'D:\apps\maven-2.0.4\c 
onf\plugin-registry.xml' 
[INFO] Scanning for projects... 
[INFO] ------------------------------------------------------------------------- 
--- 
[INFO] Building Maven Default Project 
[INFO] task-segment: [andromdapp:generate] (aggregator-style) 
[INFO] ------------------------------------------------------------------------- 
--- 
[DEBUG] org.apache.maven:super-pom:jar:2.0 (selected for null) 
[INFO] ------------------------------------------------------------------------ 
[ERROR] BUILD ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] Internal error in the plugin manager executing goal 'org.andromda.maven.p 
lugins:andromdapp-maven-plugin:3.2:generate': Cannot find Plexus container for p 
lugin: org.andromda.maven.plugins:andromdapp-maven-plugin 
[INFO] ------------------------------------------------------------------------ 
[DEBUG] Trace 
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl 
ugin manager executing goal 'org.andromda.maven.plugins:andromdapp-maven-plugin: 
3.2:generate': Cannot find Plexus container for plugin: org.andromda.maven.plugi 
ns:andromdapp-maven-plugin 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa 
ultLifecycleExecutor.java:538) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone 
Goal(DefaultLifecycleExecutor.java:488) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau 
ltLifecycleExecutor.java:458) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan 
dleFailures(DefaultLifecycleExecutor.java:306) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen 
ts(DefaultLifecycleExecutor.java:219) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi 
fecycleExecutor.java:140) 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) 
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) 
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. 
java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.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.PluginManagerException: Cannot find Plexus co 
ntainer for plugin: org.andromda.maven.plugins:andromdapp-maven-plugin 
at org.apache.maven.plugin.DefaultPluginManager.getPluginContainer(Defau 
ltPluginManager.java:499) 
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul 
tPluginManager.java:514) 
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi 
nManager.java:390) 
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa 
ultLifecycleExecutor.java:534) 
... 16 more 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1 second 
[INFO] Finished at: Thu Apr 30 16:08:46 IST 2009 
[INFO] Final Memory: 2M/4M 
[INFO] ------------------------------------------------------------------------ 

================== 

I have also tried with 2.0.10 but same problem.

Can someone help in getting this resolved?

regards,
Ankur



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message