[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] How does Maven Make Eclipse See Libraries?

I'm trying to following the instructions in Massol & O'Brian's "Maven
Adevelopers Notebook" page 20.

I run maven with the default template (plain old console mode java app).

I add a dependency for httpclient as per
http://jakarta.apache.org/commons/httpclient/downloads.html

<dependency>
    <id>commons-httpclient</id>
    <version>2.0.2</version>
    <url>http://jakarta.apache.org/commons/httpclient/</url>
</dependency>


I run "maven eclipse".


I type maven -Dmaven.eclipse.workspace=c:\documents and
settings\Adminstrator\workspace eclipse:add-maven-repo

I've also tried to configure MAVEN_REPO manually.

I import the project into eclipse.

I still get the red squigglies indicating eclipse does not know how to
resolve the class names.

Can someone tell me why eclipse is not cooperating?.