Goal Changes
This page documents the changes to Maven goals between Filegen 5.x and 6.0.
DevOps Goals
| 5.x | 6.0 Maven | 6.0 Copier CLI |
|---|---|---|
|
|
|
|
||
(manual regeneration) |
|
|
Backstage Goals
| 5.x | 6.0 Maven | 6.0 Copier CLI |
|---|---|---|
|
|
|
|
|
|
The "backstage file update" functionality is conventionally handled via the backstage-tile Maven config which binds the generate-sources phase to the three goals listed in the 5.x column above.
|
Initialize All Standard Templates
To initialize all standard templates (currently DevOps and Backstage) at once:
# Maven - initializes devops and backstage
mvn filegen:copier-init
# Copier CLI - run separately for each
copier copy https://coderepo.mobilehealth.va.gov/scm/ckm/ngss-devops-template.git . --trust
copier copy https://coderepo.mobilehealth.va.gov/scm/ckm/ngss-backstage-template.git . --trust
Legacy Goals (Still Available)
These goals remain unchanged in 6.0 and continue to use static template generation from ckm-deployment-templates:
| Goal | Description | Output |
|---|---|---|
|
Jenkins CI/CD pipeline configuration |
|
|
Verification & Validation configuration |
|
|
Deployment, Installation, Backout, Rollback guide |
|
mvn filegen:jenkins-yaml # jenkins.yaml
mvn filegen:generate-vv # vv.yaml
mvn filegen:generate-dibr # dibr.md
Version Selection
By default, Copier selects the latest release tag. To use a specific version:
# Maven
mvn filegen:copier-init -Dcopier.template=devops -Dcopier.version=v2.0.0
mvn filegen:copier-update -Dcopier.template=devops -Dcopier.version=v1.3.0
# Copier CLI
copier copy https://...ngss-devops-template.git . --trust --vcs-ref=v2.0.0
copier update -a .copier-answers/devops.yaml --vcs-ref=v1.3.0
See Template Versioning for more details.