Commit 353ec6e
committed
RAMPART-454 Put servlet-api on the aggregator Javadoc classpath
mvn package (and mvn site / site-deploy) was failing in the apidocs
module with:
error: package jakarta.servlet.http does not exist
import jakarta.servlet.http.HttpServletRequest;
because rampart-core references HttpServletRequest (RampartUtil.java)
and declares jakarta.servlet-api with <scope>provided</scope>. Provided
scope is not transitive, so when apidocs aggregates rampart-core's
sources for Javadoc, the servlet API is absent from the Javadoc
classpath.
Declare jakarta.servlet-api explicitly in apidocs/pom.xml so
javadoc-no-fork (invoked at prepare-package for dist-javadoc and at
site for site-javadoc) can resolve the import.1 parent 50c80d3 commit 353ec6e
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
0 commit comments