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
- Host: GitHub
- URL: https://github.com/ghusta/tomcat-provided-spec-bom
- Owner: ghusta
- Created: 2016-09-22T13:28:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-18T08:12:34.000Z (almost 4 years ago)
- Last Synced: 2025-01-06T22:35:56.972Z (5 months ago)
- Topics: maven, maven-bom, tomcat
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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