Closed
Description
Context
The containerize-dependencies mojo needs to be abstracted somewhat to support UV-based projects in addition to Poetry. Additionally, the programmatic nature of our dockerfile generation process is getting messy and would probably be more suitable to a templating solution such as Velocity.
Definition of Done
- ❌ Expand
containerize-dependencies
mojo to allow UV support (follow-on) - ✅ Refactor the
containerize-dependencies
Mojo to use Apache Velocity Engine
Steps to Test
Velocity refactor
- run
mvnd clean install -Pbootstrap
and confirm success - run
mvnd clean install
and confirm success - run
mvnd clean install -pl :habushu-poetry-containerize -Dhabushu.dockerPoetryVersion=TEST
- open the file:
examples/habushu-poetry-containerize/src/resources/Dockerfile
- Confirm line 5 points to poetry version "poetry==TEST"
Metadata
Metadata
Assignees
Labels
No labels