building gwt-dispatch

2 views
Skip to first unread message

Syntax

unread,
Jan 21, 2010, 12:40:43 AM1/21/10
to GWT Dispatch
I am trying to build dispatch and presenter, but have no Maven
experience.

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]
------------------------------------------------------------------------

=====================================================

Syntax

unread,
Jan 26, 2010, 8:26:37 PM1/26/10
to GWT Dispatch
I'm not sure how relevant this is; but I noticed this morning that
Wagon version is actually 1.9, When I attempt to resolve the repo
address manually using firefox 1.8 can not be found.

bysse

unread,
Jan 27, 2010, 1:44:06 AM1/27/10
to GWT Dispatch
This isn't really a maven group but if you post your pom it's much
easier to find any error. You can remove the dependencies section if
it's large.
Do you have any configuration in settings.xml?

Syntax

unread,
Jan 28, 2010, 8:37:38 PM1/28/10
to GWT Dispatch
Apologies if I was not clear. What I was trying to say is that I
believe a committer on this project needs to update the dependency for
Wagon to 1.9 in the branches pom.xml; as 1.9 was the only publicly
available revision of Wagon I could find. I could be wrong, given my
zero knowledge of Maven and its processes :)

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.

David Chandler

unread,
Jan 28, 2010, 8:49:38 PM1/28/10
to gwt-di...@googlegroups.com
mvn package

I have no settings.xml, but I'm not behind a firewall.

/dmc

Reply all
Reply to author
Forward
0 new messages