Mercurial > hg > digilib
view servlet3/pom.xml @ 1690:a0a8dbecb94c
Change web.xml setup to use WebServlet annotations.
Solves problem of having the correct web.xml when combining Servlets
via Maven profiles.
Works only with Servlet 3. For Servlet 2 you still need to patch
your own set of Servlets into web-2.4.xml.
You can still override Servlet mappings in web.xml if you want
(watch out for servlet-name).
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 26 Mar 2018 20:46:01 +0200 |
parents | 93b59a801711 |
children |
line wrap: on
line source
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>digilib</artifactId> <groupId>digilib</groupId> <version>2.6-SNAPSHOT</version> </parent> <artifactId>digilib-servlet3</artifactId> <name>digilib-servlet3</name> <dependencies> <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>servlet-api</artifactId> <version>3.0.20100224</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>digilib</groupId> <artifactId>digilib-servlet</artifactId> </dependency> </dependencies> <description>digilib servlet components using asynchronous servlet API.</description> </project>