You might try the m2eclipse eclipse plugin rather than the eclipse maven plugin.  I rarely use eclipse but I've found m2eclipse very easy to use and powerful whereas I can't get anything to work on maven projects without it (which is largely a statement about my eclipse ignorance)

thanks
david jencks

On Jun 13, 2009, at 4:49 AM, rahul.soa wrote:

Hello Devs,

I am trying to import some modules from Geronimo/plugins in eclipse for the development. I am trying with CXF plugin, so for this I am running the following command under

[rahul@localhost cxf]$ pwd
/home/rahul/server/plugins/cxf
[rahul@localhost cxf]$ mvn eclipse:eclipse -e

and I get the following error:



[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, CXF :: EJB
[INFO]    task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] snapshot org.apache.geronimo.configs:openejb:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.configs:openejb:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.configs:openejb:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.configs:openejb:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:openejb:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.configs:system-database:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.plugins:system-database:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.plugins:system-database:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.plugins:system-database:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.plugins:system-database:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.plugins:system-database:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.configs:derby:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.configs:derby:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.configs:derby:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.configs:derby:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:derby:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-derby:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-derby:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-derby:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-derby:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-derby:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.configs:activemq-broker:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.configs:activemq-broker:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.configs:activemq-broker:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.configs:activemq-broker:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:activemq-broker:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.plugins:activemq:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.plugins:activemq:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.plugins:activemq:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.plugins:activemq:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.plugins:activemq:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-management:2.2-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-management:2.2-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-management:2.2-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-management:2.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-management:2.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.activemq:activemq-core:5.3-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.activemq:activemq-core:5.3-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.activemq:activemq-core:5.3-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.activemq:activemq-core:5.3-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.activemq:activemq-core:5.3-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.activemq:activemq-parent:5.3-SNAPSHOT: checking for updates from apache.org
[INFO] snapshot org.apache.activemq:activemq-parent:5.3-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.activemq:activemq-parent:5.3-SNAPSHOT: checking for updates from apache.nexus.snapshots
[INFO] snapshot org.apache.activemq:activemq-parent:5.3-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.activemq:activemq-parent:5.3-SNAPSHOT: checking for updates from codehaus-snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activemq-parent/5.3-SNAPSHOT/activemq-parent-5.3-20090417.072917-276..pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:activemq-core:bundle:null

Reason: Cannot find parent: org.apache.activemq:activemq-parent for project: null:activemq-core:bundle:null for project null:activemq-core:bundle:null


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 minutes 40 seconds
[INFO] Finished at: Sat Jun 13 15:23:16 CEST 2009
[INFO] Final Memory: 58M/63M
[INFO] ------------------------------------------------------------------------
[rahul@localhost cxf]$


It seems that activemq snapshot is not deployed correctly or something (not sure though). I encountered the similar issue with activemq lib while building Geronimo in the past, that time I build the brand new server to solve that problem.

Is there a way to solve the above problem without building the server again from the begining?


Many Thanks for your reply.


Best Regards,
Rahul