The book 'Maven - The Definitive Guide'
(www.sonatype.com/download.php?file=books/maven-definitive-guide.pdf) says: 

"When you are using the assembly plugin to produce a distribution for an
application as a ZIP or TAR, you might place all of you scripts in a
directory like src/main/command." (p. 235).


CodingPlayer wrote:
> 
> I still could not find out where to put my shell-scripts (batch-files),
> that for example start my application from the CLI.
> 
> If anyone knows what is the "best practice" where to put these additional
> .bat and .sh files, pls let me know.
> (Since they are not needed in the classpath, i guess it is wrong to put
> them into the resources directory.)
> 
> i would just need them for some assemblies, e.g. an assembly for a LINUX
> OS would include some shell scripts (.sh), while an assembly for a WINDOWS
> OS would include some batch files (.bat). Both of them would start up my
> application/singular services.
> 

-- 
View this message in context: 
http://www.nabble.com/Maven2---Where-to-put-script-files--tp5594755p25114844.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to