I have a Maven project that uses Appassembler plugin to assemble the deployment. I want the generated SH and BAT scripts to be in the base directory and not in a specific folder (default being /bin).
I have tried setting binFolder to ${basedir} and ".",but both result in classpath errors when running the generated scripts.
My current plugin configuration is as follows:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.10</version>
<configuration>
<programs>
<program>
<mainClass>myMainClass</mainClass>
</program>
</programs>
<configurationSourceDirectory>src/main/resources/conf</configurationSourceDirectory>
<copyConfigurationDirectory>true</copyConfigurationDirectory>
<repositoryLayout>flat</repositoryLayout>
<repositoryName>lib</repositoryName>
<binFolder>bin</binFolder>
<showConsoleWindow>true</showConsoleWindow>
<logsDirectory>log</logsDirectory>
<tempDirectory>temp</tempDirectory>
</configuration>
</plugin>
This configuration results in the following directory structure:
-appassembler -bin <--- scripts generated here -etc -lib -log
What I want is:
-appassembler <--- scripts generated here -bin -etc -lib -log