An open API service indexing awesome lists of open source software.

https://github.com/ghusta/tomcat-provided-spec-bom

BOM for Apache Tomcat 7.0.x / 8.0.x / 8.5.x / 9.0.x
https://github.com/ghusta/tomcat-provided-spec-bom

maven maven-bom tomcat

Last synced: 3 months ago
JSON representation

BOM for Apache Tomcat 7.0.x / 8.0.x / 8.5.x / 9.0.x

Awesome Lists containing this project

README

        

# Maven BOM for Tomcat 8.5 provided dependencies

A Maven BOM to simplify dependencies management in your webapp.

## Provided specifications

- Servlet 3.1 - [JSR 340](https://jcp.org/en/jsr/detail?id=340)
- JSP 2.3 - [JSR 245](http://jcp.org/en/jsr/detail?id=245)
- EL 3.0 - [JSR 341](http://jcp.org/en/jsr/detail?id=341)
- WebSocket 1.1 - [JSR 356](https://jcp.org/en/jsr/detail?id=356)
- JASPIC 1.1 - [JSR 196](https://jcp.org/en/jsr/detail?id=196)

The versions used are summarized here :
[Apache Tomcat Versions](http://tomcat.apache.org/whichversion.html)

Specifications used with Tomcat versions are detailed here :
[Specifications](https://wiki.apache.org/tomcat/Specifications)

## Usage

The BOM must be imported as scope "import" with the "pom" type, in the dependencyManagement section.




fr.husta.tomcat
tomcat-provided-spec-bom
8.5
pom
import


Then, simply import the needed dependency without specifying the version.



javax.servlet
javax.servlet-api
provided

## Maven documentation

About the _"bill of materials"_ (BOM) : [Introduction to the Dependency Mechanism](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies)

Another example of BOM usage with Spring Framework : http://platform.spring.io/platform/#quick-start