mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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
|
||||
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;
|
||||
try {
|
||||
final ClassLoader classLoader = prepareClassLoader();
|
||||
|
|
Loading…
Reference in New Issue
Block a user