felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger" <Felix.Meschber...@day.com>
Subject Re: missing artifact for mvn eclipse:eclipse
Date Sat, 25 Nov 2006 09:03:23 GMT
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 <cameron.taggart@gmail.com> 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
>

Mime
View raw message