On 3/19/06, Michael Becke <[EMAIL PROTECTED]> wrote: > > > > I tried to > > > > check out http-components' http-core module as an eclipse project. I > > > > am using the maven2 plug-in for eclipse, and somehow even after I > > > > enable the plug-in for the project, it is unable to get the > > > > dependencies. > > > > > > > > The console has the following: > > > > <console> > > > > > > > > 3/18/06 7:27:14 PM MST: Reading /http-core/pom.xml > > > > 3/18/06 7:27:14 PM MST: Project build error POM > > > > 'org.apache.jakarta.httpcomponents:httpcomponents' not found in > > > > repository: Unable to download the artifact from any repository > > > > > > > > org.apache.jakarta.httpcomponents:httpcomponents:pom:4.0-SNAPSHOT > > > > > > > > from the specified remote repositories: > > > > central (http://repo1.maven.org/maven2) > > > > > > > > </console> > Not sure why but it sounds like it was trying to access > Http-Components from the Maven repo. Clearly this will not work since > no version has been released.
'mvn install' did the trick. It compiled and and installed the jar to my local maven repository, > > > And the http-core dependency in http-async is coming without source > > attachment. However, junit has source attachment. Something to change > > in the pom.xml of http-core? (Please pardon my maven ignorance) > > My impression is that this is just requires installing the src jar > generated from "mvn source:jar". Yep, that did it. Thanks Mike. I was under the impression that 'mvn install' would include source distribution as well. Bindul > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
