Build Tools – Project Generation – TypeScript Automation Archetype

by Simon Sparks · 27 January 2026

To create a TypeScript Automation v8 / v9 Project

mvn archetype:generate \
--define interactiveMode=false \
--define archetypeGroupId=com.vmware.pscoe.o11n.archetypes \
--define archetypeArtifactId=package-ts-vra-ng-archetype \
--define groupId=com.cloudbuildtools.sample \
--define artifactId=typescript-automation \
--define licenseUrl= \
--define licenseHeader= \
--define licenseTechnicalPreview=false \
--define archetypeVersion=4.19 <--Always use the latest
Bash

Result:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] >>> archetype:3.4.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< archetype:3.4.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:3.4.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
Id=typescript-automation -DlicenseUrl= -DlicenseHeader= -DlicenseTechnicalPreview=false -DarchetypeVersion=4.16.1
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] >>> archetype:3.4.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< archetype:3.4.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:3.4.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] >>> archetype:3.4.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< archetype:3.4.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:3.4.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Archetype repository not defined. Using the one from [com.vmware.pscoe.o11n.archetypes:package-ts-vra-ng-archetype:2.37.0] found in catalog remote
Downloading from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar
Downloaded from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar (55 kB at 18 kB/s)  
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: package-ts-vra-ng-archetype:4.16.1
[INFO] ----------------------------------------------------------------------------
[INFO] <<< archetype:3.4.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:3.4.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Archetype repository not defined. Using the one from [com.vmware.pscoe.o11n.archetypes:package-ts-vra-ng-archetype:2.37.0] found in catalog remote
Downloading from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar
Downloaded from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar (55 kB at 18 kB/s)  
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: package-ts-vra-ng-archetype:4.16.1
[INFO] ----------------------------------------------------------------------------
[INFO] Archetype repository not defined. Using the one from [com.vmware.pscoe.o11n.archetypes:package-ts-vra-ng-archetype:2.37.0] found in catalog remote
Downloading from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar
Downloaded from central: https://emea1.packages.broadcom.com/artifactory/pscoe-mvn-prod-virtual/com/vmware/pscoe/o11n/archetypes/package-ts-vra-ng-archetype/4.16.1/package-ts-vra-ng-archetype-4.16.1.jar (55 kB at 18 kB/s)  
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: package-ts-vra-ng-archetype:4.16.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: package-ts-vra-ng-archetype:4.16.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: packageInPathFormat, Value: com/cloudbuildtools/sample/typescript-automation
[INFO] Parameter: licenseUrl, Value: null
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: packageInPathFormat, Value: com/cloudbuildtools/sample/typescript-automation
[INFO] Parameter: licenseUrl, Value: null
[INFO] Parameter: packageInPathFormat, Value: com/cloudbuildtools/sample/typescript-automation
[INFO] Parameter: licenseUrl, Value: null
[INFO] Parameter: licenseUrl, Value: null
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseTechnicalPreview, Value: false
[INFO] Parameter: licenseHeader, Value: null
[INFO] Parameter: package, Value: com.cloudbuildtools.sample.typescript-automation
[INFO] Parameter: groupId, Value: com.cloudbuildtools.sample
[INFO] Parameter: artifactId, Value: typescript-automation
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[WARNING] Don't override file C:\GitLab\aria-build-tools\typescript-automation\pom.xml
[WARNING] Property 'Add a REST host' was not specified, so the token in 'vra///src/main/resources/catalog-items/forms/Orchestrator_Development__Add a REST host__FormData.json' is not being replaced.
[INFO] Executing META-INF/archetype-post-generate.groovy post-generation script
[INFO] Project created from Archetype in dir: C:\GitLab\aria-build-tools\typescript-automation
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.069 s
[INFO] Finished at: 2026-01-27T11:17:40Z
[INFO] ------------------------------------------------------------------------
Bash

Output:

Content.YAML File:

---
# Example blueprints:
# blueprint:
#  - Volume
#  - Machine
# Example subscriptions:
# subscription:
#  - subscription 1
#  - subscription 2
#  - subscription 3
# Example vra workflow Catalog Item
# catalog-item:
#   - source__Sum two numbers
# Example vra workflow Content SOurce
# content-source:
#   - source
# Example Catalog Entitlement:
# catalog-entitlement
#  - content source entitlement 1
#  - content source entitlement 2
# Example Property Groups:
# property-group:
#  - property-group-1
# policy:
#   approval:
#     - policy name 1
#     - policy name 2
#   content-sharing:
#     - policy name 1
#     - policy name 2
#   day2-actions:
#     - policy name 1
#     - policy name 2
#   deployment-limit:
#     - policy name 1
#     - policy name 2
#   lease:
#     - policy name 1
#     - policy name 2
#   resource-quota:
#     - policy name 1
#     - policy name 2

blueprint:
  - Small VM
catalog-item: 
  - Orchestrator_Development__Add a REST host
content-source:
    - Orchestrator_Development
custom-resource:
  - CustomResource
policy:
  approval:
    - vra8-db-mssql Approval Policy
  content-sharing:
    - vra8-db-mssql Content Sharing Policy
  day2-actions:
    - vra8-db-mssql Day 2 Actions Policy
  deployment-limit:
    - vra8-db-mssql Deployment Limit Policy
  lease:
    - vra8-db-mssql Lease Policy
  resource-quota:
    - vra8-db-mssql Resource Quota Policy
property-group:
  - vra8_db_mssql_property_group
resource-action:
  - Cloud.vSphere.Machine__add_disk_to_vm
subscription:
  - vra8-db-mssql Subscription
catalog-entitlement: []

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like