Thank you very much Felix!  I'm now able to complete step #4 in the
wiki page "Felix integration inside Eclipse".
http://cwiki.apache.org/FELIX/felix-integration-inside-eclipse.html

mvn -f pom-old-plugin.xml
org.apache.maven.plugins:maven-eclipse-plugin:2.3-SNAPSHOT:eclipse

I had to use the pom-old-plugin.xml rather than the pom-new-plugin.xml
to get all those projects listed.

OLD POM (pom-old-plugin.xml)

[INFO] ------------------------------------------------------------------------
[INFO] Apache Felix .......................................... SUCCESS [0.776s]
[INFO] Maven OSGi Plugin ..................................... SUCCESS [4.212s]
[INFO] Apache Felix Shell GUI ................................ SUCCESS [0.622s]
[INFO] Apache Felix Shell GUI Plugin ......................... SUCCESS [0.994s]
[INFO] Apache Felix Daemon ................................... SUCCESS [0.694s]
[INFO] Apache Felix Dependency Manager ....................... SUCCESS [0.056s]
[INFO] Apache Felix Examples: Service Event Listener ......... SUCCESS [0.055s]
[INFO] Apache Felix Examples: English Dictionary Service ..... SUCCESS [0.061s]
[INFO] Apache Felix Examples: Dictionary Service Integration Test
SUCCESS [0.946s]
[INFO] Apache Felix Examples: French Dictionary Service ...... SUCCESS [0.049s]
[INFO] Apache Felix Examples: Dictionary Client .............. SUCCESS [0.056s]
[INFO] Apache Felix Examples: Dynamic Dictionary Client ...... SUCCESS [0.052s]
[INFO] Apache Felix Examples: Spell Check Service ............ SUCCESS [0.055s]
[INFO] Apache Felix Examples: Spell Check Client ............. SUCCESS [0.055s]
[INFO] Apache Felix Service Binder ........................... SUCCESS [0.052s]
[INFO] Apache Felix Examples: Spell Check w/ Service Binder .. SUCCESS [0.120s]
[INFO] Apache Felix Examples: Spell Check w/ SCR ............. SUCCESS [0.055s]
[INFO] Apache Felix Examples: Build .......................... SUCCESS [0.067s]
[INFO] Apache Felix WireAdmin ................................ SUCCESS [1.638s]
[INFO] Apache Felix UPnP Extra ............................... SUCCESS [0.051s]
[INFO] Apache Felix UPnP Base Driver ......................... SUCCESS [0.069s]
[INFO] Apache Felix UPnP Tester .............................. SUCCESS [0.055s]
[INFO] Apache Felix UPnP Sample TV ........................... SUCCESS [0.051s]
[INFO] Apache Felix UPnP Sample Clock ........................ SUCCESS [0.050s]
[INFO] Apache Felix UPnP Sample Binary-Light ................. SUCCESS [0.085s]
[INFO] Apache Felix HTTP Service ............................. SUCCESS [3.352s]
[INFO] Apache Felix Declarative Services ..................... SUCCESS [0.132s]
[INFO] Apache Felix Bundle Manifest Generator (mangen) ....... SUCCESS [0.871s]
[INFO] Apache Felix iPOJO Metadata ........................... SUCCESS [0.043s]
[INFO] Apache Felix iPOJO .................................... SUCCESS [0.049s]
[INFO] Apache Felix MOSGi JMX Console Interface .............. SUCCESS [0.061s]
[INFO] Apache Felix MOSGi JMX Console GUI component .......... SUCCESS [0.050s]
[INFO] Apache Felix MOSGi JMX Console Main GUI ............... SUCCESS [0.125s]
[INFO] Apache Felix MOSGi JMX agent .......................... SUCCESS [0.053s]
[INFO] Apache Felix MOSGi JMX httpconnector .................. SUCCESS [0.055s]
[INFO] Apache Felix MOSGi JMX registry ....................... SUCCESS [0.057s]
[INFO] Apache Felix MOSGi JMX remotelogger ................... SUCCESS [0.053s]
[INFO] Apache Felix MOSGi JMX rmiconnector ................... SUCCESS [0.099s]
[INFO] Apache Felix MOSGi JMX MBean for OSGi gateway status .. SUCCESS [0.059s]
[INFO] Apache Felix MOSGi OSGi gateway status tab for the JMX console
SUCCESS [0.053s]
[INFO] Apache Felix MOSGi JMX MBean for OSGi bundles management
SUCCESS [0.050s]
[INFO] Apache Felix MOSGi Bundles management tab for the JMX console
SUCCESS [0.050s]
[INFO] Apache Felix MOSGi JMX MBean for obr interaction ...... SUCCESS [0.061s]
[INFO] Apache Felix MOSGi obr remote manipulation tab for the JMX
console  SUCCESS [0.064s]
[INFO] Apache Felix MOSGi JMX MBean for obr interaction ...... SUCCESS [0.052s]
[INFO] Apache Felix iPOJO Maven Plugin ....................... SUCCESS [0.233s]
[INFO] Apache Felix iPOJO Arch Command ....................... SUCCESS [0.044s]
[INFO] ------------------------------------------------------------------------

NEW POM (pom-new-plugin.xml)

[INFO] ------------------------------------------------------------------------
[INFO] Apache Felix .......................................... SUCCESS [2.316s]
[INFO] OSGi R4 Foundation EE ................................. SUCCESS [0.139s]
[INFO] Maven Bundle Plugin ................................... SUCCESS [4.154s]
[INFO] Servlet 2.1 API ....................................... SUCCESS [0.070s]
[INFO] OSGi R4 Core Bundle ................................... SUCCESS [0.060s]
[INFO] OSGi R4 Compendium Bundle ............................. SUCCESS [0.056s]
[INFO] Apache Felix OSGi Framework Implementation ............ SUCCESS [0.082s]
[INFO] Apache Felix Shell Service ............................ SUCCESS [0.053s]
[INFO] Apache Felix Bundle Repository ........................ SUCCESS [0.071s]
[INFO] Apache Felix Shell TUI ................................ SUCCESS [0.051s]
[INFO] Apache Felix Main ..................................... SUCCESS [0.789s]
[INFO] Apache Felix Log Service .............................. SUCCESS [0.049s]
[INFO] Apache Felix EventAdmin ............................... SUCCESS [0.052s]
[INFO] Apache Felix EventAdmin Bridge UPnP ................... SUCCESS [0.049s]
[INFO] Apache Felix EventAdmin Bridge Configuration .......... SUCCESS [0.055s]
[INFO] Apache Felix EventAdmin Bridge UserAdmin .............. SUCCESS [0.054s]
[INFO] Apache Felix EventAdmin Bridge WireAdmin .............. SUCCESS [0.049s]
[INFO] ------------------------------------------------------------------------

I'm not sure why they are so different.  May be the new one only has
the stuff that will go in the first release?

cheers,
Cameron

On 11/25/06, Felix Meschberger <[EMAIL PROTECTED]> wrote:
Hi,

I have the same issues. In fact, this has already been reported here:
http://jira.codehaus.org/browse/MECLIPSE-192

As a workaround, I use the following:

   $ mvn org.apache.maven.plugins:maven-eclipse-plugin:2.3-SNAPSHOT:eclipse

NB: In my case, this only happens on multi-module projects (projects
with packaing "pom" and a "modules" section). For normal projects, the
eclipse plugins works ok.

Regards
Felix

On 11/25/06, Cameron Taggart <[EMAIL PROTECTED]> wrote:
> I'm having difficulty get mvn eclipse:eclipse to work with the new or
> old pom.xml files:
>
> iMac:~/projects/felix ctaggart$ mvn -f pom-new-plugin.xml eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Apache Felix
> [INFO]   OSGi R4 Foundation EE
> [INFO]   Maven Bundle Plugin
> [INFO]   Servlet 2.1 API
> [INFO]   OSGi R4 Core Bundle
> [INFO]   OSGi R4 Compendium Bundle
> [INFO]   Apache Felix OSGi Framework Implementation
> [INFO]   Apache Felix Shell Service
> [INFO]   Apache Felix Bundle Repository
> [INFO]   Apache Felix Shell TUI
> [INFO]   Apache Felix Main
> [INFO]   Apache Felix Log Service
> [INFO]   Apache Felix EventAdmin
> [INFO]   Apache Felix EventAdmin Bridge UPnP
> [INFO]   Apache Felix EventAdmin Bridge Configuration
> [INFO]   Apache Felix EventAdmin Bridge UserAdmin
> [INFO]   Apache Felix EventAdmin Bridge WireAdmin
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] 
----------------------------------------------------------------------------
> [INFO] Building Apache Felix
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] 
----------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] No goals needed for project - skipping
> [INFO] [eclipse:eclipse]
> [INFO] Not running eclipse plugin goal for pom project
> [INFO] 
----------------------------------------------------------------------------
> [INFO] Building OSGi R4 Foundation EE
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] 
----------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> Downloading: 
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-eclipse-plugin/test/maven-eclipse-plugin-test.pom
> [WARNING] Unable to get resource from repository apache.snapshots
> (http://cvs.apache.org/maven-snapshot-repository)
> Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/test/maven-eclipse-plugin-test.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> Downloading: 
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-eclipse-plugin/test/maven-eclipse-plugin-test.pom
> [WARNING] Unable to get resource from repository apache.snapshots
> (http://cvs.apache.org/maven-snapshot-repository)
> Downloading: 
http://m2.safehaus.org/org/apache/maven/plugins/maven-eclipse-plugin/test/maven-eclipse-plugin-test.pom
> [WARNING] Unable to get resource from repository safehaus
> (http://m2.safehaus.org)
> Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/test/maven-eclipse-plugin-test.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO] 
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-eclipse-plugin
> Version: test
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.maven.plugins:maven-eclipse-plugin:pom:test
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   safehaus (http://m2.safehaus.org),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
>
>
> [INFO] 
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Fri Nov 24 18:52:29 PST 2006
> [INFO] Final Memory: 4M/9M
> [INFO] 
------------------------------------------------------------------------
>
> Cameron
>

Reply via email to