Build Tools – Command Line – Pull – Existing Packages

by Simon Sparks · 19 March 2026

We will try and pull the “com.vmware.library.vco.management” package.

Package Contents:

Command Line:

mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vco.management
Bash

Result:

[INFO] Scanningfor projects...
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-2: The plugin org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-2 requires Maven version 4.0.0-rc-2
[INFO] Latest version of plugin org.apache.maven.plugins:maven-install-plugin failed compatibility check
[INFO] Lookingfor compatible RELEASE version of plugin org.apache.maven.plugins:maven-install-plugin
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-1: The plugin org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1 requires Maven version 4.0.0-beta-3
[INFO] Selected plugin org.apache.maven.plugins:maven-install-plugin:3.1.4
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-1: The plugin org.apache.maven.plugins:maven-resources-plugin:4.0.0-beta-1 requires Maven version 4.0.0-beta-3
[INFO] Latest version of plugin org.apache.maven.plugins:maven-resources-plugin failed compatibility check
[INFO] Lookingfor compatible RELEASE version of plugin org.apache.maven.plugins:maven-resources-plugin
[INFO] Selected plugin org.apache.maven.plugins:maven-resources-plugin:3.5.0
[INFO]
[INFO] -----------------< com.cloudbuildtools.sample:actions>-----------------
[INFO] Building actions 1.0.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] ------------------------------[ package]-------------------------------
[INFO]
[INFO] --- vro:4.16.1:pull(default-cli) @ actions ---
[INFO] Reading configfor type: VRO
Mar19,20269:45:01AMcom.vmware.pscoe.iac.artifact.aria.orchestrator.configuration.ConfigurationVrovalidate
INFO:Checkingifexistsrefreshtoken
Mar19,20269:45:01AMcom.vmware.pscoe.iac.artifact.aria.orchestrator.configuration.ConfigurationVrovalidate
INFO:RefreshtokennotdetectedusingBASICAuthentication
[INFO] Refresh token not detected. Checking username and password on configuration
[INFO] Searchingfor Package Storefor type VRO
[INFO] Using StrategySkipOldVersions
[INFO] Detected ConfigurationVro
[WARNING] SSL: You are now ignoring certificate verification.
[WARNING] SSL: You are now ignoring hostname verification.
2026-03-19T09:45:01.806038600ZmainINFOStartingconfigurationXmlConfiguration[location=jar:file:/C:/Users/Admin/.m2/repository/com/vmware/pscoe/iac/artifact-manager/4.16.1/artifact-manager-4.16.1.jar!/log4j2.xml,lastModified=2026-01-21T09:47:02.323Z]...
2026-03-19T09:45:01.807039600ZmainINFOConfigurationXmlConfiguration[location=jar:file:/C:/Users/Admin/.m2/repository/com/vmware/pscoe/iac/artifact-manager/4.16.1/artifact-manager-4.16.1.jar!/log4j2.xml,lastModified=2026-01-21T09:47:02.323Z]started.
2026-03-19T09:45:01.809039200ZmainINFOStoppingconfigurationorg.apache.logging.log4j.core.config.DefaultConfiguration@b950f82...
2026-03-19T09:45:01.810039500ZmainINFOConfigurationorg.apache.logging.log4j.core.config.DefaultConfiguration@b950f82stopped.
Mar19,20269:45:01AMcom.vmware.pscoe.iac.artifact.aria.orchestrator.configuration.ConfigurationVrovalidate
INFO:Checkingifexistsrefreshtoken
Mar19,20269:45:01AMcom.vmware.pscoe.iac.artifact.aria.orchestrator.configuration.ConfigurationVrovalidate
INFO:RefreshtokennotdetectedusingBASICAuthentication
[INFO] Refresh token not detected. Checking username and password on configuration
[INFO] Authentication strategy:'BASIC'
[INFO] Detecting vRO Server version'8.18.1.24977824'.
[INFO] Package|EXPORT|com.vmware.library.vco.management.package
Abouttocopythefile
C:\Users\Admin\AppData\Local\Temp\vro-js-pull7629070575925439281\com.vmware.library.vco.management.package
Filecopied.
09:45:03.209 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\configuration\getRemoteServerPass.js
09:45:03.212 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\configuration\getRemoteServerUser.js
09:45:03.213 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\configuration\isSharedConnection.js
09:45:03.214 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\configuration\isSsoEnabled.js
09:45:03.215 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\vcoCancelTask.js
09:45:03.216 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\vcoCancelTaskAndWait.js
09:45:03.217 [main] INFO  com.vmware.pscoe.o11n.project.CleanProjectTree - Deleting file C:\GitLab\aria-build-tools\orchestrator-actions-pull\src\main\resources\com\vmware\library\vco\vcoWaitTaskEnd.js
[INFO] Running vropkg... started
[INFO]
[INFO] C:\GitLab\aria-build-tools\orchestrator-actions-pull>node"C:\GitLab\aria-build-tools\orchestrator-actions-pull\node_modules\@vmware-pscoe\vropkg\bin\\..\dist\cli.js" --in flat --srcPath C:\Users\Admin\AppData\Local\Temp\vro-js-pull7629070575925439281\com.vmware.library.vco.management.package --out js --destPath C:\GitLab\aria-build-tools\orchestrator-actions-pull --privateKeyPEM target/keystore.example-4.6.0/private_key.pem --certificatesPEM target/keystore.example-4.6.0/cert.pem --keyPass VMware1!--version1.0.0-SNAPSHOT--packagingpackage--artifactIdactions--description"This package is licensed under null"--groupIdcom.cloudbuildtools.sample--vroIgnoreFileC:/GitLab/aria-build-tools/orchestrator-actions-pull/.vroignore
[INFO] info: Extracting package C:\Users\Admin\AppData\Local\Temp\vro-js-pull7629070575925439281\com.vmware.library.vco.management.package to"C:\GitLab\aria-build-tools\orchestrator-actions-pull" folder...
[INFO] data is not xml file
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.235 s
[INFO] Finished at: 2026-03-19T09:45:05Z
[INFO] ------------------------------------------------------------------------
2026-03-19T09:45:05.065093700Zpool-1-thread-1INFOStoppingconfigurationXmlConfiguration[location=jar:file:/C:/Users/Admin/.m2/repository/com/vmware/pscoe/iac/artifact-manager/4.16.1/artifact-manager-4.16.1.jar!/log4j2.xml,lastModified=2026-01-21T09:47:02.323Z]...
2026-03-19T09:45:05.065093700Zpool-1-thread-1INFOConfigurationXmlConfiguration[location=jar:file:/C:/Users/Admin/.m2/repository/com/vmware/pscoe/iac/artifact-manager/4.16.1/artifact-manager-4.16.1.jar!/log4j2.xml,lastModified=2026-01-21T09:47:02.323Z]stopped.
Bash

The command we ran pulled out all of the actions from the package into JavaScript files and also the resource elements along with their XML descriptions,

The command also pulled out the workflows from the package into XML files along with their XML descriptions.

Now that you have successfully pulled 1 existing package from Orchestrator into your project try pulling all of them.

mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.snmp
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.powershell
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.powershell.converter
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.autodeploy
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.amqp
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.xml
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vapi
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.soap
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.configuration
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vcloud
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.mail
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.locking

mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.microsoft

mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.tagging
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vcenter
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.http-rest
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.sql
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vmware_update_manager
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.vra
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.aws
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.azure
mvnvro:pull--activate-profilesvro8.cloudbuildtools.com--definepackageName=com.vmware.library.ssh
Bash

After these commands complete you will have every single action, workflow, resource element, configuration element and policy template that exist inside of the default packages in your project as JavaScript and XML files. Except for 1…. The workflow with the name Create a user group in a group and set attribute “Group name (pre-Windows 2000)” will not be pulled due to it having a name that is not supported by the windows filesystem.

This is what the directory structure looks like after all of the command lines have completed.

The ubiquitous “vim3WaitTaskEnd” action looks like this.


Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like