This topic contains a list of the module group commands that can be issued from the command line.
The command will add a repository to the set of remote repositories contained in the module groups resolver chain.
The <host> is the url to remote repository. There are currently two types of supported repositories, IBM® WebSphere® sMash repositories and maven repositories. The type of repository can be indicated with zero= or maven=, respectively. A WebSphere sMash repository is assumed if the type is not specified with the url, but can be explicitly set with zero=host_url. An example of a WebSphere sMash repository is zero=https://www.projectzero.org/repo/zero.repo.latest. The second type of repository is a maven repository, which is indicated by maven=. An example maven repository is maven=http://repo1.maven.org/maven2/.
The command creates a new module group with the given name in the local repository. If the name is not one of the known module groups contained in config/bootstrap.properties, then the host parameter(s) are required parameters.
The bootstrap.properties file contains the default module group and the host url(s) for the repositories that define that module group. This file allows default behavior for the bootstrap experience. But this file is only referenced the first time a module group is created. See the modulegroup addurl information to add a repository to an existing module group.
This command allows creating a new modulegroup that resolves against the specified repository. Additional hosts can be specified, but the first host must point to a WebSphere sMash repository that contains zero.kernel and zero.cli.tasks.
The <host> is the url to remote repository. There are currently two types of supported repositories, WebSphere sMash repositories and maven repositories. The type of repository can be indicated with zero= or maven=, respectively. A WebSphere sMash repository is assumed if the type is not specified with the url, but can be explicitly set with zero=host_url. An example of a WebSphere sMash repository is zero=https://www.projectzero.org/repo/zero.repo.latest. The second type of repository is a maven repository, which is indicated by maven=. An example maven repository is maven=http://repo1.maven.org/maven2/.
The -report option allows the operation to perform but no changes are made. The list of changes are displayed to the console.
The command removes an existing module group from the local repository.
The command prints the documentation for the given subcommand. If no command is provided, it will print a short summary of all subcommands.
The command gets a given module by copying the requested version from the remote repository. A module specification is required, to get all modules the use all.
The -n option controls the number of versions to retrieve, the default is 1.
The -report performs the operation but does not make any of the changes. The list of changes are sent to the console.
If the -json option is used, the report is formatted as a JSON document.
The command will print the contents of the site.xml. If the -json option is used, the report is formatted as a JSON document.
The command prints information about all available modules. If the -json option is used, the report is formatted as a JSON document.
The command removes unwanted modules but guaranteeing that at least N versions are kept. If no module is specified, the operation is performed against all modules. The -n option controls the latest number of versions to keep, the default is 1.
The -report option performs the operation but makes no changes. A list of the potential deletions are sent to the console.
The command can be used to update the modules that currently reside in the local repository with newer versions from a remote repository. Once the local repository has been updated, individual modules can be updated to newer versions by using zero update.
An argument can be specified to update a single module, but this is equivalent to the modulegroup get command and it is encouraged to use modulegroup get in this case.
The -n option controls the number of versions to retrieve, the default is 1.
The -report performs the operation but does not make any of the changes. The list of changes are sent to the console.
If the -json option is used, the report is formatted as a JSON document.