improve error handling

This commit is contained in:
Sebastian Sdorra
2011-07-30 13:43:39 +02:00
parent 66623b00c9
commit 6056086b60
2 changed files with 3 additions and 5 deletions

View File

@@ -195,7 +195,8 @@ public class RunMojo extends AbstractMojo
}
else
{
getLog().error("could not find file for ".concat(artifact.getId()));
throw new MojoExecutionException(
"could not find file for ".concat(artifact.getId()));
}
}

View File

@@ -57,10 +57,7 @@
<plugin>
<groupId>sonia.scm.maven</groupId>
<artifactId>scm-maven-plugin</artifactId>
<version>${project.version}</version>
<configuration>
<version>${project.version}</version>
</configuration>
<version>1.6-SNAPSHOT</version>
</plugin>
</plugins>