private void deployService(JavaService eachService) throws MojoExecutionException { try { JSW.generateWrapperConfiguration(outputDirectory, configDirname, eachService); JSW.generateWrapperUnixScript(outputDirectory, configDirname, eachService); } catch (IOException ex) { throw new MojoExecutionException( "Unable to deploy service: " + eachService.getDaemonName(), ex); } }
private void deployJSWTree() throws MojoExecutionException { try { JSW.extractInto(outputDirectory); } catch (IOException ex) { throw new MojoExecutionException("Unable to deploy JSW tree", ex); } }