public void execute()
throws MojoExecutionException, MojoFailureException
{
failIfOffline();
if (isThisLastProjectWithThisMojoInExecution()) {
<BUG>try {
final DeployStrategy deployStrategy;</BUG>
if (getMavenSession().getCurrentProject().getArtifact().isSnapshot()) {
<BUG>deployStrategy = getDeployStrategy(Strategies.DEFERRED);
</BUG>
}

public void execute()
throws MojoExecutionException, MojoFailureException
{
failIfOffline();
if (isThisLastProjectWithThisMojoInExecution()) {
try {
final Parameters parameters = buildParameters();
final DeployStrategy deployStrategy;
if (getMavenSession().getCurrentProject().getArtifact().isSnapshot()) {
deployStrategy = getDeployStrategy(Strategies.DEFERRED, parameters);
}
