Merge pull request #153 from jtulach/maven-plugin-prefix

Using less cryptic prefix for the teavm-maven-plugin
This commit is contained in:
Alexey Andreev 2015-10-11 16:15:13 +03:00
commit 5e6f175923
2 changed files with 4 additions and 1 deletions

View File

@ -88,7 +88,7 @@
<version>3.3</version> <version>3.3</version>
<configuration> <configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
<goalPrefix>mysql-jdbc-compliance</goalPrefix> <goalPrefix>teavm</goalPrefix>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -93,6 +93,9 @@ public class BuildJavascriptTestMojo extends AbstractJavascriptMojo {
setupTool(tool); setupTool(tool);
try { try {
if (!testFiles.isDirectory()) {
throw new MojoFailureException("Directory with tests doesn't exist: " + testFiles);
}
getLog().info("Searching for tests in the directory `" + testFiles.getAbsolutePath() + "'"); getLog().info("Searching for tests in the directory `" + testFiles.getAbsolutePath() + "'");
tool.setAdapter(createAdapter(classLoader)); tool.setAdapter(createAdapter(classLoader));
findTestClasses(classLoader, testFiles, ""); findTestClasses(classLoader, testFiles, "");