Thx.  This worked.

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 1:41 PM
To: Maven Users List
Subject: Re: dependency question

On 10/18/06, Chen, Anning <[EMAIL PROTECTED]> wrote:

> thirdparty.sun.servlet.2.3 is a thirdparty jar from sun, which I
> packaged and installed to the repository.  However, when I compile, I
> get "package javax.servlet does not exist".  Is there something else I
> have to setup to add the classes in the jar to my compile time
> classpath?

Try removing the surrounding <dependencyManagement> element.

(That element is used to control dependency versions from a top-level
pom.)

If this is a 'released' jar, you'll probably want to make up some
version number for it, and not use -SNAPSHOT.

-- 
Wendy

---------------------------------------------------------------------
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]

Reply via email to