Hi Dan -
Excellent stuff, I've installed the Mercurial and Maven plugins for
my Eclipse instance.
I have been able to take the latest code from
https://gwtrpccommlayer.googlecode.com/hg/
I then tried to execute some of the Maven tasks: "Meven test" and I
get the following error (see below)
I looks like I need the Guice jar. A couple of questions:
- Does/Should maven dowload this package directly for me (it
seemed to do that for other dependencies)
- Assuming I need to do this manually, can you provide me a link
(so I know I have the correct version)
- Which Maven task do I execute to start-up the GWT hosted mode
environment?
--- error form console --
[INFO] Scanning for
projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Gwt RPC Communication Layer
0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] Missing POM for
com.google.inject:guice:jar:3.0
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.536s
[INFO] Finished at: Mon Nov 08 13:56:01 EST 2010
[INFO] Final Memory: 2M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project
gwtrpccommlayer: Missing:
----------
1) com.google.inject:guice:jar:3.0
Try downloading the file manually from the project
website.
Then, install it using the command:
mvn install:install-file
-DgroupId=com.google.inject -DartifactId=guice -Dversion=3.0
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you
can deploy the file there:
mvn deploy:deploy-file
-DgroupId=com.google.inject -DartifactId=guice -Dversion=3.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1)
com.googlecode:gwtrpccommlayer:pom:pom:0.0.1-SNAPSHOT
2) com.google.inject:guice:jar:3.0
----------
1 required artifact is missing.
for artifact:
com.googlecode:gwtrpccommlayer:pom:0.0.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2,
releases=true, snapshots=false)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors,
re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full
debug logging.
[ERROR]
[ERROR] For more information about the errors and
possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MultipleArtifactsNotFoundException