helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.52k stars 564 forks source link

Add packaging test to ensure excluded Jackson libs are not on path via SmallRye OpenAPI #6993

Open tjquinno opened 1 year ago

tjquinno commented 1 year ago

Environment Details


Problem Description

MP OpenAPI support depends on SmallRye, which by default relies on Jackson. Our pom excludes the Jackson libraries, but we could add a packaging test to examine the class path and make sure no Jackson libraries leak through.

tjquinno commented 1 year ago

Tomas suggests looking at builder/tests/common-types/pom.xml for an example of using an enforcer approach to make sure we exclude the Jackson libraries.