xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

mvn eclipse:eclipse fails #609

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there some special way this needs to be "bootstrapped"? Thanks

[INFO] Reactor Summary:
[INFO] 
[INFO] Google Guice ...................................... SUCCESS [0.625s]
[INFO] Google Guice - Core Library ....................... SUCCESS [0.750s]
[INFO] Google Guice - Extensions ......................... FAILURE [0.031s]
[INFO] Google Guice - Extensions - AssistedInject ........ SKIPPED
[INFO] Google Guice - Extensions - MultiBindings ......... SKIPPED
[INFO] Google Guice - Extensions - Grapher ............... SKIPPED
[INFO] Google Guice - Extensions - JMX ................... SKIPPED
[INFO] Google Guice - Extensions - JNDI .................. SKIPPED
[INFO] Google Guice - Extensions - Persist ............... SKIPPED
[INFO] Google Guice - Extensions - Servlet ............... SKIPPED
[INFO] Google Guice - Extensions - Spring ................ SKIPPED
[INFO] Google Guice - Extensions - Struts2 ............... SKIPPED
[INFO] Google Guice - Extensions - ThrowingProviders ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.985s
[INFO] Finished at: Fri Feb 25 11:01:19 EST 2011
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on 
project extensions-parent: Failed to resolve dependencies for one or more 
projects in the reactor. Reason: Missing:

[ERROR] ----------
[ERROR] 1) com.google.inject:guice:jar:3.0-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.google.inject -DartifactId=guice 
-Dversion=3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file 
there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.google.inject -DartifactId=guice 
-Dversion=3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) com.google.inject.extensions:extensions-parent:pom:3.0-SNAPSHOT
[ERROR] 2) com.google.inject:guice:jar:3.0-SNAPSHOT
[ERROR] 
[ERROR] 2) com.google.inject:guice:jar:tests:3.0-SNAPSHOT

Original issue reported on code.google.com by glip...@gmail.com on 25 Feb 2011 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
If you want to generate static Eclipse files with "mvn eclipse:eclipse" then 
you need to "mvn install" first.

But the preferred way to load Maven projects into Eclipse is with m2eclipse as 
it's more dynamic & flexible:

   http://marketplace.eclipse.org/content/maven-integration-eclipse

Use File->Import->Existing Maven Projects->... and just select the relevant 
projects from the file-system.

Original comment by mccu...@gmail.com on 27 Feb 2011 at 4:46