use of org.apache.maven.scm.provider.jazz.command.tag.JazzTagCommand in project maven-scm by apache.
the class JazzScmProvider method tag.
/**
* {@inheritDoc}
*/
protected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException {
getLogger().debug("JazzScmProvider:tag()");
// We need to call the status command first, so that we can get the details of the stream etc.
// This is needed for workspace deliveries and snapshot promotions.
JazzStatusCommand statusCommand = new JazzStatusCommand();
statusCommand.setLogger(getLogger());
statusCommand.execute(repository, fileSet, parameters);
JazzTagCommand command = new JazzTagCommand();
command.setLogger(getLogger());
return (TagScmResult) command.execute(repository, fileSet, parameters);
}
Aggregations