Thank you all for quick response and usefull imformation!
I'm now able to compile.
I will have to post a lot of questions in the days to come as my goal
is to deploy applications into Geronimo.
Allan Ramirez writes:
Wow, I didnt know that the servlet jar is now available in ibiblio..
Thanks for the info. :)
Boden, David wrote:
You don't have to install it in your local repository first for Maven 2.
Maven will fetch it from ibiblio. How helpful. It's one of the few Sun
.jars that are actually present in the repository. Come
-----Original Message-----
From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January
18, 2006 10:49 AM
To: Maven Users List
Subject: Re: Compile classpath
Hi Stein,
First, you have to install your servlet jar to your local repository
Please see
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
and
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafilein
mylocalrepositoryalongwithagenericPOM
for your reference.
Let's say that you give it
groupId = javax.servlet
artifactId = servlet-api
version = 2.4
After the artifact has been installed you can add the servlet jar as your
dependency in your pom.xml.
<project>
...
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
-allan
Stein Kråbøl wrote:
Maven is new to me... Please help!
How to set up resorses to point to c:\web\tomcat\common\lib\servlet.jar
so the compiler can see it_
This is the output:
---
[INFO] Compilation failure
C:\project\test-app\src\main\java\com\tellussoft\Test\ShowColor.java:[
3,0]
packa
ge javax.servlet does not exist
Please give me detailed information so I dont have to ask again!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-------------------------------------------------------------------------
-----
This message is intended only for the personal and confidential use of
the designated recipient(s) named above. If you are not the intended
recipient of this message you are hereby notified that any
---------------------------------------------------------------------
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]