mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
maven-teavm-plugin is capable of skipping tests
This commit is contained in:
parent
037538c416
commit
eaa4da45fa
|
@ -142,6 +142,11 @@ public class BuildJavascriptTestMojo extends AbstractMojo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws MojoExecutionException, MojoFailureException {
|
public void execute() throws MojoExecutionException, MojoFailureException {
|
||||||
|
if (System.getProperty("maven.test.skip", "false").equals("true") ||
|
||||||
|
System.getProperty("skipTests") != null) {
|
||||||
|
getLog().info("Tests build skipped as specified by system property");
|
||||||
|
return;
|
||||||
|
}
|
||||||
Runnable finalizer = null;
|
Runnable finalizer = null;
|
||||||
try {
|
try {
|
||||||
final ClassLoader classLoader = prepareClassLoader();
|
final ClassLoader classLoader = prepareClassLoader();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user