Package io.github.rajendarreddyj.tomcat.download
package io.github.rajendarreddyj.tomcat.download
Download and extraction utilities for the Tomcat Maven Plugin.
This package contains classes responsible for downloading Apache Tomcat distributions from official mirrors and validating their integrity.
Download Process
- Check if Tomcat is already cached locally
- Download from primary Apache mirror (dlcdn.apache.org)
- Fallback to Apache archive if primary fails
- Validate SHA-512 checksum
- Extract to cache directory
Classes
TomcatDownloader- Downloads and extracts Tomcat distributions with caching supportChecksumValidator- Validates file integrity using SHA-512 checksums
Caching
Downloaded distributions are cached in ~/.m2/tomcat-cache by default.
The cache directory can be configured via the tomcat.cache.dir
property.
- Since:
- 1.0.0
- Author:
- rajendarreddyj
- See Also:
-
ClassesClassDescriptionValidates file integrity using SHA-512 checksums.Downloads and extracts Apache Tomcat distributions.