Mercurial > hg > digilib
view servlet/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
<?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>digilib</groupId> <artifactId>digilib</artifactId> <version>2.6-SNAPSHOT</version> </parent> <artifactId>digilib-servlet</artifactId> <name>digilib-servlet</name> <url>https://github.com/robcast/digilib</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <description>The Digital Image Library - common Servlet code</description> <dependencies> <dependency> <groupId>digilib</groupId> <artifactId>digilib-common</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <!-- implementation of JWT JOSE specification --> <groupId>org.bitbucket.b_c</groupId> <artifactId>jose4j</artifactId> <version>0.5.0</version> </dependency> <dependency> <groupId>javax.json</groupId> <artifactId>javax.json-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.json</artifactId> <version>1.0.4</version> </dependency> </dependencies> </project>