I am trying to migrate a GWT-2.0.2 project to the net.ltgt.gwt.maven:gwt-maven-plugin, but it seems to be calling the GWT-compiler with parameters that weren't recognized back in times of GWT 2.0.2, like -deploy, -sourceLevel etc.
I know it is possible to add extra parameters, but is it possible to exclude some?
Not possible: https://github.com/tbroyer/gwt-maven-plugin/blob/main/src/main/java/net/ltgt/gwt/maven/GwtOptions.java
class CommandlineBuilder {
public static List<String> buildArgs(Log log, GwtOptions options) {
List<String> args = new ArrayList<>();
if (options.getLogLevel() != null) {
args.add("-logLevel");
args.add(options.getLogLevel());
}
args.add("-war");
args.add(options.getWarDir().getAbsolutePath());
args.add("-workDir");
args.add(options.getWorkDir().getAbsolutePath());
args.add("-deploy");
args.add(options.getDeployDir().getAbsolutePath());```