Hi Simon,
This was a problem in the 1.0 release. See the Errata on this page to
learn how to fix the example:
http://xfire.codehaus.org/XFire+1.0+Release+Notes
Cheers,
- Dan
Simon Fell wrote:
I installed xfire & maven (2.0.3), got some of the manual dependencies
insalled in maven (jaf & javamail). but running mvn test from the
geoip-client directory gives an error. Is there something i have to do
to tell maven about xfire? Is there a step by step guide for getting
the samples built, I'm new to both xfire & maven.
Tx
Simon
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building
[INFO] task-segment: [test]
[INFO]
----------------------------------------------------------------------------
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not
a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.
0 POM.
[WARNING]
Artifact javax.servlet:servlet-api:jar:2.3:provided retains
local scope 'provided' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or
remove the local scope.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.
0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.
0 POM.
Downloading: http://dist.codehaus.org//xfire/poms/jaxb-api-2.0-ea3.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/)
Downloading:
http://repo1.maven.org/maven2/xfire/jaxb-api/2.0-ea3/jaxb-api-2.0-ea3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://dist.codehaus.org//xfire/poms/jaxb-impl-2.0-ea3.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/)
Downloading:
http://repo1.maven.org/maven2/xfire/jaxb-impl/2.0-ea3/jaxb-impl-2.0-ea3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://dist.codehaus.org//xfire/poms/jaxb-xjc-2.0-ea3.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/)
Downloading:
http://repo1.maven.org/maven2/xfire/jaxb-xjc/2.0-ea3/jaxb-xjc-2.0-ea3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: taskdef class org.codehaus.xfire.gen.WsGenTask cannot
be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Mon Apr 03 20:27:59 GMT-08:00 2006
[INFO] Final Memory: 4M/7M
[INFO]
------------------------------------------------------------------------
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog