joewitt opened a new pull request, #11975: URL: https://github.com/apache/nifi/pull/11975
# Summary [NIFI-16646](https://issues.apache.org/jira/browse/NIFI-16646) Hazelcast Community Edition 5.7.0 bundles shaded copies of Jackson 2, Jackson 3 and org.json that NiFi cannot update independently, and Hazelcast has stated that it does not publish patch releases for the Community Edition (hazelcast/hazelcast#26597, #26623, #26646). This keeps the SBOM scan of the default assembly failing on `main` and requires a growing list of Grype ignores. This change: - Marks `HazelcastMapCacheClient`, `EmbeddedHazelcastCacheManager` and `ExternalHazelcastCacheManager` with `@DeprecationNotice`. `HazelcastMapCacheClient` lists `RedisDistributedMapCacheClientService` and `MapCacheClientService` as alternatives. - Moves `nifi-hazelcast-services-api-nar` and `nifi-hazelcast-services-nar` from the default `nifi-assembly` dependencies into a new `include-hazelcast` profile activated by `-DallProfiles`, following the pattern from NIFI-16465. - Documents the `include-hazelcast` profile in the Developer Guide. - Removes the Hazelcast ignore entries from `.grype.yaml`, since the bundle is no longer part of the default assembly. The Hazelcast modules remain in the build. The default convenience binary no longer contains the Hazelcast NARs, so a release note is needed. Removal of the bundle can follow in a later release. # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue Tracking - [x] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created ### Pull Request Tracking - [x] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000` - [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` - [x] Pull request contains [commits signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) with a registered key indicating `Verified` status ### Pull Request Formatting - [x] Pull Request based on current revision of the `main` branch - [x] Pull Request refers to a feature branch with one commit containing changes # Verification Please indicate the verification steps performed prior to pull request creation. ### Build - [ ] Build completed using `./mvnw clean install -P contrib-check` - [ ] JDK 21 - [ ] JDK 25 The full build was not run locally. Instead, on JDK 25 with `-P contrib-check`: - [x] `verify` for `nifi-hazelcast-services-nar` and its upstream modules: 0 Checkstyle violations, PMD and license checks passed - [x] `validate` for `nifi-assembly` and `nifi-docs` - [x] `nifi-hazelcast-services` unit tests: 26 passed (`HazelcastMapCacheClientTest`, `IMapBasedHazelcastCacheTest`, `EmbeddedHazelcastCacheManagerTest`, `ExternalHazelcastCacheManagerTest`) ### Verification performed - [x] Effective POM of `nifi-assembly`: no Hazelcast NARs in the default dependencies; with `-DallProfiles=true` both Hazelcast NARs are included - [x] Generated `extension-manifest.xml` for the Hazelcast NAR contains a `deprecationNotice` for all three Controller Services, with the alternatives listed on `HazelcastMapCacheClient` - [ ] Grype scan of the default assembly without the Hazelcast ignores: relying on the Scan check of this pull request -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
