HV-907 Fixing unwanted generated classes after build

any idea why this is needed. We also have 

    options.addAll( Arrays.asList( "-d", "target" ) );

a few lines higher up. Is this not working anymore with Java 8 and why do we only get the problem for two specific model classes? Just trying to understand.