Re: Generic location for servlet-api.jar

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 6:57 PM, Kenneth Litwak wrote: > My team leader has said we use Maven, so I have to become good at it.  That > said, I put this in my POM, > >        javax.servlet >        servlet-api >        ${servletApiVersion} >        provided >     > and Maven complained that it cou

RE: Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
-Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, February 04, 2011 4:08 PM To: Maven Users List Subject: Re: Generic location for servlet-api.jar >> My team leader has said we use Maven, so I have to become good at it. >Why aren't you d

Re: Generic location for servlet-api.jar

2011-02-04 Thread Wayne Fay
> My team leader has said we use Maven, so I have to become good at it. Why aren't you directing these questions to your team lead? Or someone else in your team who knows Maven better since you're new to the tool? >        ${servletApiVersion} > and Maven complained that it could not find the jav

RE: Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
wayne...@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 thi

Re: Generic location for servlet-api.jar

2011-02-04 Thread Wayne Fay
> 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 EVERY

Re: Generic location for servlet-api.jar

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 4:44 PM, Kenneth Litwak wrote: > The POM reference only says this of "provided": > "provided - this is much like compile, but indicates you expect the JDK or a > container to provide it at runtime. It is only available on the compilation > and test classpath, and is not t

RE: Generic location for servlet-api.jar

2011-02-04 Thread Manfred Moser
> 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. If you want to do everyt

RE: Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
, Ph.D. Azusa Pacific University 901 E. Alosta Ave. Azusa, CA 91702 -Original Message- From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com] Sent: Friday, February 04, 2011 12:01 PM To: Maven Users List Subject: Re: Generic location for servlet-api.jar I went here: http://mavencentral.

Re: Generic location for servlet-api.jar

2011-02-04 Thread Jeff Jensen
h the archetype maven-archetype-webapp.  What stub are you > referring to?  Surely, there needs to be a lib directory someplace to put jar > files into, yes? > > Ken > > -Original Message- > From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com] > Sent: Friday, F

RE: Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
, February 04, 2011 10:41 AM To: Maven Users List Subject: Re: Generic location for servlet-api.jar More than likely, you can use the "stub" from Central for the build, and then it is automatically used at runtime from the hosting container (Tomcat, in this case).

Re: Generic location for servlet-api.jar

2011-02-04 Thread Jeff Jensen
nt: Friday, February 04, 2011 9:32 AM > To: Maven Users List > Subject: Re: Generic location for servlet-api.jar > > servlet-api should be scope provided, so as long as it's a correct > servlet-api jar, it won't matter > > - Stephen > > --- > Sent from my Androi

RE: Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
91702 -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Friday, February 04, 2011 9:32 AM To: Maven Users List Subject: Re: Generic location for servlet-api.jar servlet-api should be scope provided, so as long as it's a correct servlet-api ja

Re: Generic location for servlet-api.jar

2011-02-04 Thread Stephen Connolly
servlet-api should be scope provided, so as long as it's a correct servlet-api jar, it won't matter - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 4 Feb 2011 17:13, "Kennet

Generic location for servlet-api.jar

2011-02-04 Thread Kenneth Litwak
In Maven by Example, the servlet-api.jar is supplied by Jetty but I want to use the jar from Tomcat, which is where I'm going to install my web abb. So I'm unsure where Maven is going to expect to find a jar file that it is not downloading as a dependency or plugin. Can someone advise me please