Closed garydgregory closed 5 years ago
Yes, optional dependencies are ignored (see here). According to this page projects that actually need an optional dependency must redeclare it.
So you assume that the users of your library will redeclare the optional dependency and therefore you want it to be on the classpath when analyzing it with japicmp?
I have changed japicmp such that it includes per default optional dependencies. You can use the new option ignoreMissingOptionalDependency
to ignore missing optional dependencies.
@garydgregory Thanks for the description on how to reproduce.
@siom79 Thank you! When can we expect the next release?
Ping.
Released with 0.14.0.
mvn site fails because optional dependencies are not considered:
Reproduce: