maven plugin: disable runtime hiding from compiler classpath

This commit is contained in:
Leonid Shalupov
2012-04-10 23:44:56 +04:00
parent 8baf7f50c1
commit 1752b6f13e
@@ -182,11 +182,11 @@ public abstract class KotlinCompileMojoBase extends AbstractMojo {
log.debug("Removed target directory from compiler classpath (" + output + ")"); log.debug("Removed target directory from compiler classpath (" + output + ")");
} }
final String runtime = getRuntimeFromClassPath(classpath); // final String runtime = getRuntimeFromClassPath(classpath);
if (runtime != null) { // if (runtime != null) {
log.debug("Removed Kotlin runtime from compiler classpath (" + runtime + ")"); // log.debug("Removed Kotlin runtime from compiler classpath (" + runtime + ")");
classpathList.remove(runtime); // classpathList.remove(runtime);
} // }
if (classpathList.size() > 0) { if (classpathList.size() > 0) {
final String classPathString = Joiner.on(File.pathSeparator).join(classpathList); final String classPathString = Joiner.on(File.pathSeparator).join(classpathList);