Build: #186 was successful Changes by Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com>
Code commits
openmrs-module-webservices.rest
-
Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com> 92d4f8faf3a095f0dc59e30e4cb1f3ed86cb0345
O3-5254: Exclude jackson-dataformat-yaml to prevent bundling Jackson dataformat (#689)
* O3-5254: Exclude jackson-dataformat-yaml to prevent bundling Jackson
The webservices.rest-omod-common module was packaging
`jackson-dataformat-yaml` via swagger-core, which resulted in Jackson
artifacts being included in the OMOD. This contributed to classloader
conflicts during OpenMRS startup (LinkageError: ObjectReader), especially
when demo data generation is enabled.
By excluding jackson-dataformat-yaml, the module now defers to the
Jackson version provided by the platform/container, preventing duplicate
Jackson classes from being shipped inside the OMOD.
* jackson-dataformat-yaml as a test-scoped dependency
* Set fail-fast to false in gitub action- .github/workflows/maven.yml (version 92d4f8faf3a095f0dc59e30e4cb1f3ed86cb0345)
- omod-common/pom.xml (version 92d4f8faf3a095f0dc59e30e4cb1f3ed86cb0345)
- omod/pom.xml (version 92d4f8faf3a095f0dc59e30e4cb1f3ed86cb0345)