booterDaemon.setJvmSettings( jvmSettings );
MavenProject project = request.getMavenProject();
Classpath classpath = new Classpath();
booterDaemon.setClasspath( classpath );
classpath.addDirectory( createDirectory( "etc" ) );
classpath.addDependency( createDependency( project, "org.codehaus.mojo.appassembler:appassembler-booter",
request.getRepositoryLayout() ) );
// TODO: Transitively resolve the dependencies of the booter - for now we're just hardcoding them in
classpath.addDependency( createDependency( project, "org.codehaus.mojo.appassembler:appassembler-model",
request.getRepositoryLayout() ) );
classpath.addDependency( createDependency( project, "org.codehaus.plexus:plexus-utils",
request.getRepositoryLayout() ) );
classpath.addDependency( createDependency( project, "stax:stax-api",
request.getRepositoryLayout() ) );
classpath.addDependency( createDependency( project, "stax:stax",
request.getRepositoryLayout() ) );
scriptGenerator.createBinScript( getPlatformName(), booterDaemon, outputDirectory );
}