I've added the following to my pom file <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcomponents-client</artifactId> <version>4.1.3</version> </dependency>
However, I get a build error after running *mvn clean install. *It appears that it can't find the jar in the central repo? * * Missing artifact org.apache.httpcomponents:httpcomponents-client:jar:4.1.3 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.014s [INFO] Finished at: Wed Mar 14 08:33:09 PDT 2012 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project order-acceptance-tests: Could not resolve dependencies for project com.disney.spt.qa:order-acceptance-tests:jar:0.0.1-SNAPSHOT: Could not find artifact org.apache.httpcomponents:httpcomponents-client:jar:4.1.3 in repo ( http://spt01.swna.wdpr.disney.com:8081/artifactory/repo) -> [Help 1] On Tue, Mar 13, 2012 at 10:53 PM, Alexey Panchenko <[email protected] > wrote: > Clicking on the .pom in the mentioned page helps: > > http://search.maven.org/remotecontent?filepath=org/apache/httpcomponents/httpclient/4.1.3/httpclient-4.1.3.pom > > Regards, > Alex > > On Wed, Mar 14, 2012 at 12:47, Robert Stagner <[email protected]> wrote: > > Excellent!! > > > > What groupId and artifactId should I be using in my Maven pom file? > > > > On Tue, Mar 13, 2012 at 1:07 PM, Oleg Kalnichevski <[email protected]> > wrote: > > > >> On Tue, 2012-03-13 at 12:49 -0700, Robert Stagner wrote: > >> > Any plans on supporting HttpClient, version 4.1.3 in Maven Central? > >> > > >> > >> It is there. See for yourself. > >> > >> http://search.maven.org/#browse|-1892702156 > >> > >> Oleg > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > > Regards, > > Robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards, Robert
