If anyone can help with the following, it would be grealy appreciated.
1) As I am behind a corporate firewall, do I need to configure the
maven proxy?
2) Maven proxy configuration guides suggest adding a <settings> tag,
with the details contained therein. However, when I add a settings tag
Eclipse gives me a warning saying it is invalid.
3) Which maven target do I run? "Run as a Maven build"?
When I try to run gwt-dispatch as a maven build, I get the following.
=======================================
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/org/jvnet/wagon-svn/wagon-svn/1.8/wagon-svn-1.8.pom
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/org/jvnet/wagon-svn/wagon-svn/1.8/wagon-svn-1.8.pom
[ERROR]
Maven encountered an error while trying to resolve an the direct
dependencies for a build extension used in your project.
Project:
Group-Id: net.customware.gwt.dispatch
Artifact-Id: gwt-dispatch
Version: 1.1.0-SNAPSHOT
Type: pom
Scope: null
Extension:
Group-Id: org.jvnet.wagon-svn
Artifact-Id: wagon-svn
Version: 1.8
Type: jar
Scope: null
Failed Artifact:
Group-Id: org.jvnet.wagon-svn
Artifact-Id: wagon-svn
Version: 1.8
Type: jar
Scope: null
Error message: Unable to read the metadata file for artifact
'org.jvnet.wagon-svn:wagon-svn:jar': POM 'org.jvnet.wagon-svn:wagon-
svn' not found in repository: Unable to download the artifact from any
repository
org.jvnet.wagon-svn:wagon-svn:pom:1.8
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.jvnet.wagon-svn:wagon-svn
Root error message: Unable to download the artifact from any
repository
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO]
------------------------------------------------------------------------
[INFO] + Ignoring build failures
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 41 seconds
[INFO] Finished at: Thu Jan 21 13:25:38 GMT+08:00 2010
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
=====================================================
When I started this topic I was hoping someone would be able to
provide me a simple command such as "ant build blah"(maven equivilent)
which I could use to build gwt-dispatch from maven.
As to the contents of my pom.xml, it is unchanged; I checked-out from
the gwt-dispatch branch.
I have no settings.xml, but I'm not behind a firewall.
/dmc