Fix NPE when omitting WASM binary version in maven plugin

This commit is contained in:
Alexey Andreev 2016-10-20 12:52:31 +03:00
parent 9c33ef686b
commit a30ac3cd83
2 changed files with 1 additions and 4 deletions

View File

@ -63,9 +63,6 @@ public abstract class AbstractTeaVMMojo extends AbstractMojo {
@Parameter
protected boolean minifying = true;
@Parameter
protected String mainClass;
@Parameter
protected Properties properties;

View File

@ -78,7 +78,7 @@ public class TeaVMCompileMojo extends AbstractTeaVMMojo {
private TeaVMTool tool = new TeaVMTool();
@Parameter
private WasmBinaryVersion wasmVersion;
private WasmBinaryVersion wasmVersion = WasmBinaryVersion.V_0xC;
@Override
protected File getTargetDirectory() {