Strange. I just did it and it works for me...

   mvn -Dpackaging=bundle clean install
   ...
   [INFO] BUILD SUCCESSFUL

-> richard

Steven E. Harris wrote:
"Richard S. Hall" <[EMAIL PROTECTED]> writes:

   * "mvn -Dpackaging=bundle clean install" - this builds all
     subprojects that use the new bundle plugin.

After updating to the latest along the Subversion trunk, I see this:

$ mvn -Dpackaging=bundle clean install
[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 Framework
[INFO]   Apache Felix Shell Service
[INFO]   Apache Felix Shell TUI
[INFO]   Apache Felix Bundle Repository
[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] -------------------------------------------------------------------------
---
[INFO] Building Apache Felix
[INFO]    task-segment: [clean, install]
[INFO] -------------------------------------------------------------------------
---
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-clean-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-clean-plugin' from
 the repository: Failed to resolve artifact, possibly due to a repository list t
hat is not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-clean-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Feb 12 09:39:03 PST 2007
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------


If I just try running "mvn -Dpackaging=bundle install", I get a
similar error report, but about the maven-site-plugin.

This may be related to the "repository" elements not specifying
whether each repository offers snapshots or releases (I just tried
adding these specifications, but the problem persists), or maybe not
specifying versions for the plugins used. We've seen spurious errors
like these popping up in both the Felix and MINA projects lately.

Reply via email to