Fix outdated archetype templates with incorrect imports and dependency versions#54
Merged
orpiske merged 4 commits intowanaku-ai:mainfrom Jan 31, 2026
Merged
Fix outdated archetype templates with incorrect imports and dependency versions#54orpiske merged 4 commits intowanaku-ai:mainfrom
orpiske merged 4 commits intowanaku-ai:mainfrom
Conversation
…y versions Fixes wanaku-ai#53 - Update slf4j version from 2.0.16 to 2.0.17 - Update log4j version from 2.21.1 to 2.25.2 - Fix import packages in App.java to use correct SDK package paths - Fix import packages in ProvisionBase.java for config provider API - Add missing dependencies: capabilities-api, capabilities-config-provider-api, capabilities-config-provider-file - Remove duplicate import in App.java
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the Java tool archetype template to use correct SDK imports and up-to-date logging dependency versions, and ensures generated projects include the necessary Wanaku capabilities modules. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
- Add maven-archetype-plugin integration-test goal to archetype build - Create test project with archetype.properties, goal.txt, and verify.groovy - Verify generated project structure, dependencies, and correct imports - Verify fat JAR is created successfully - Update CI workflows to use 'mvn verify' to include integration tests
- Enable resource filtering for test resources with @Property@ syntax - Use @project.version@ in archetype.properties for proper version interpolation - Fix verify.groovy to use correct project directory path (project/test-tool)
The archetype integration tests generate a project that depends on the SDK artifacts being available in the local Maven repository. Using 'install' instead of 'verify' ensures artifacts are installed before the archetype tests run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #53
Test plan
mvn compileSummary by Sourcery
Update the Java tool archetype to use current logging dependencies and include all required SDK modules for generated projects.
Bug Fixes:
Enhancements:
Build: