Pardon my ignorance, but I'm trying to wade through / debug the
Hibernate tutorial, and it more-or-less requires the use of Maven to
build and package the example applications. I have only figured out
enough about Maven to be dangerous.
From reading the documentation, it sounds like the dependency:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
should make the 'servlet-api' jar available at compile time, but *not*
package it up into the resulting war file. However, it *is* including
this jar in the output war file, which causes Apache to complain.
Do I need some other clause in my pom.xml file to tell Maven that (1)
the jar really is provided by the runtime, so that (2) I don't want it
included in the packaged war file?
-jp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]