1) the url is http://server:8080/continuum/xmlrpc
2) you use an old version of the client, the one to use is:
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-xmlrpc-client</artifactId>
<version>1.1-beta-1</version>
</dependency>
and a sample client is available there:
http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java
Emmanuel
Michael Meyer a écrit :
Hi
I'm using continuum-1.1-beta-1. And I would like to use the XML-RPC API
to check the build state.
When I run the following code I a get an exception stating that there
were parsing errors:
ProjectsReader pr = new ProjectsReader( new
URL(http://server:8080/continuum) );
projects = pr.readProjects();
Am I doing something wrong or doesn't the XML-RPC api work for
1.1-beta-1 yet?
In my pom.xml file I've added the following dependency:
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-rpc-client</artifactId>
<version>1.0.3</version>
</dependency>
Cheers, michael