You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by "Meyrignac, Jean-Charles" <jc...@augure.com> on 2007/05/16 12:03:57 UTC

Problem with Maven

I'm currently trying to compile SeleniumRC with a patch for solving
authentication problems (
http://wiki.openqa.org/display/SRC/Possible+Solution+to+HTTP+AUTH+Issues
).
The patch involves the use of httpclient.
 
The page:
http://jakarta.apache.org/commons/httpclient/downloads.html
 
recommends to add:
<dependency>
    <groupId>commons-httpclient</groupId>
    <artifactId>commons-httpclient</artifactId>
    <version>3.0.1</version>
    <url>http://jakarta.apache.org/commons/httpclient/</url>
</dependency>
into project.xml.
 
However, when running Maven 2.0.6, I get the error:
 Parse error reading POM. Reason: Unrecognised tag: 'url'
 
meaning that the documentation is wrong !
 
Of course, if I comment the url tag, it fails during the compilation.
 
Any idea how to solve this problem ?
 
JC
 

Re: Problem with Maven

Posted by Roland Weber <RO...@de.ibm.com>.
Hello JC,

HttpClient 3.x uses Maven 1. Please consult the Maven documentation
to learn the syntax for defining dependencies in Maven 2.

hope that helps,
  Roland