maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Litwak" <klit...@apu.edu>
Subject RE: Generic location for servlet-api.jar
Date Fri, 04 Feb 2011 23:57:05 GMT
My team leader has said we use Maven, so I have to become good at it.  That said, I put this
in my POM, 
<dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>${servletApiVersion}</version>
        <scope>provided</scope>
    </dependency>
and Maven complained that it could not find the javax.servlet artifact.  I then read a page
at the Maven site about downloading dependencies and then installing them in the local repository.
 So I would like to know where I am supposed to download the dependency to?  This apparently
isn't an automatic download.  Thanks.

Ken


-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Friday, February 04, 2011 3:49 PM
To: Maven Users List
Subject: Re: Generic location for servlet-api.jar

> If this is supposed to tell me that Maven downloads it automatically, it's a
> rather cryptic way of saying that.  In fact, I'd never guess that from this.  I
> don't like "magic" code.  I'd rather put my jars in some location and make
> their existence explicitly known.

Maven downloads EVERYTHING automatically. And it has lots of "magic."

If you have a problem with these facts, please go back to using Ant or
another tool -- seriously, you'll be happier with it.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Mime
View raw message