Skip to content

Conversation

@ivanguravel
Copy link
Contributor

Description:
Use the new helidon-common-features-codegen annotation processor with @Features.* annotations as recommended by Helidon developers.

This generates feature-registry.json (new format) instead of feature-metadata.properties, which is the recommended approach for Helidon 4.x and will be required in Helidon 5.x.

Changes:

  • Use @Features.* annotations instead of deprecated @feature
  • Replace helidon-common-features-processor with codegen
  • Add helidon-common-features-codegen dependency
  • Add module mapping in gradle/modules.properties

Ref: helidon-io/helidon#10936
Fixes: hiero-ledger/hiero-block-node#1964

Related issue(s): hiero-ledger/hiero-block-node#1964

Notes for reviewer:
Used the original approach which is about Helidon developer advice.

Checklist
Verified the build and verified hiero-ledger/hiero-block-node#1964
Снимок экрана 2025-12-20 в 23 57 30

  • Documented (Code comments, README, etc.) - probably this step is not required for these changes
  • Tested (unit, integration, etc.)

Use the new helidon-common-features-codegen annotation processor
with @Features.* annotations as recommended by Helidon developers.

This generates feature-registry.json (new format) instead of
feature-metadata.properties, which is the recommended approach
for Helidon 4.x and will be required in Helidon 5.x.

Changes:
* Use @Features.* annotations instead of deprecated @feature
* Replace helidon-common-features-processor with codegen
* Add helidon-common-features-codegen dependency
* Add module mapping in gradle/modules.properties

Ref: helidon-io/helidon#10936
Fixes: hiero-ledger/hiero-block-node#1964
Signed-off-by: Ivan Zhuravel <ivanguravel@gmail.com>
@ivanguravel ivanguravel requested review from a team as code owners December 20, 2025 23:49
@ivanguravel
Copy link
Contributor Author

Hello @anthony-swirldslabs @akugal !

Would you mind reviewing these changes ? they are about our previous conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IllegalStateException on Block Node Startup

2 participants