throw-if-servlet3

Used in: 10700 components

Overview

Description

A parent POM for all artifacts by Vaadin Ltd.

Snippets

<dependency>
    <groupId>com.vaadin.servletdetector</groupId>
    <artifactId>throw-if-servlet3</artifactId>
    <version>1.0.2</version>
</dependency>

Maven POM File

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>com.vaadin.servletdetector</groupId>
    <artifactId>servlet-detector-parent</artifactId>
    <version>1.0.2</version>
  </parent>
  <groupId>com.vaadin.servletdetector</groupId>
  <artifactId>throw-if-servlet3</artifactId>
  <version>1.0.2</version>
  <name>throw-if-servlet3</name>
  <licenses>
    <license>
      <name>Apache License Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <Automatic-Module-Name>throwifservlet3</Automatic-Module-Name>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>