in src/main/java/org/apache/sling/maven/kickstart/run/KickstartEnvironment.java [73:83]
private File installKickstart(final File folder) throws IOException {
if (this.kickstartJar.getParentFile().getAbsolutePath().equals(folder.getAbsolutePath())) {
return this.kickstartJar;
}
try {
FileUtils.copyFileToDirectory(this.kickstartJar, folder);
return new File(folder, this.kickstartJar.getName());
} catch (final IOException ioe) {
throw new IOException("Unable to copy " + this.kickstartJar + " to " + folder, ioe);
}
}