Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure EE has OS
runtime
dependencies [DI-91] (#1315)
EE shades OS, therefore _should_ have no direct dependency on OS - however, `hazelcast-enterprise-native-memory` does have such a dependency on OS, which brings that dependency back into EE. Re-scoping that dependency [to `provided` also means that it's not resolved transitively](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#dependency-scope), which means that any dependents on `hazelcast-enterprise-native-memory` _also_ need to explicitly depend on OS. Changes: - Update scope of `hazelcast-enterprise-native-memory`'s OS dependency - Update `hazelcast-enterprise-native-memory`'s dependents with the same - Add `enforcer` configuration to `hazelcast-enterprise` to catch this next time - Update `CheckEnterpriseDependenciesIT` test - whitelist any `com.hazelcast` as these will be provided via shading, rather than from a dependency as it appears to the test - refactor it & `CheckDependenciesIT` parent to tidy up Fixes: [DI-91](https://hazelcast.atlassian.net/browse/DI-91) Checklist: - [ ] Send backports/forwardports if fix needs to be applied to past/future releases [DI-91]: https://hazelcast.atlassian.net/browse/DI-91?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: Łukasz Dziedziul <l.dziedziul@gmail.com> Co-authored-by: Tomasz Gawęda <tomasz.gaweda@outlook.com> GitOrigin-RevId: c4da739d1ce5287d41baad54ec82688f56a1a510
- Loading branch information