use of org.apache.maven.scm.provider.jazz.command.changelog.JazzChangeLogCommand in project maven-scm by apache.
the class JazzUpdateCommand method getChangeLogCommand.
/**
* {@inheritDoc}
*/
protected ChangeLogCommand getChangeLogCommand() {
JazzChangeLogCommand command = new JazzChangeLogCommand();
command.setLogger(getLogger());
return command;
}
use of org.apache.maven.scm.provider.jazz.command.changelog.JazzChangeLogCommand in project maven-scm by apache.
the class JazzScmProvider method changelog.
/**
* {@inheritDoc}
*/
protected ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException {
getLogger().debug("JazzScmProvider:changelog()");
// We need to call the status command first, so that we can get the details of the workspace.
// This is needed for the list changesets command.
// We could also 'trust' the value in the pom.
JazzStatusCommand statusCommand = new JazzStatusCommand();
statusCommand.setLogger(getLogger());
statusCommand.execute(repository, fileSet, parameters);
JazzChangeLogCommand command = new JazzChangeLogCommand();
command.setLogger(getLogger());
return (ChangeLogScmResult) command.execute(repository, fileSet, parameters);
}
Aggregations