G
Guest
I have standard maven directory structure for my modular java project:
doss-client/
doss-client/doss-client-common/ - common module for application
doss-client/doss-client-watchdog/ - some other modules
doss-client/doss-client-showtime/ - ...
doss-client/doss-client-update/ - ...
Each module again has standard maven dir structure:
/src
/target
....
My final app directory structure should be like this:
/etc/doss/ - all config files (config.xml, ...)
/opt/doss/ - application binaries, ...
/var/log/ - log files (doss.log, ...)
/tmp/doss/ - temp files
As you can see, i will deploy my app in linux environment.
QUESTION: How to configure maven to deploy it preserving this dir
structure? Also I don't know how to tell my java app, to look for
config files in /etc/doss/. Or do I have to use simply absolute path?
Thanks,
Paul
doss-client/
doss-client/doss-client-common/ - common module for application
doss-client/doss-client-watchdog/ - some other modules
doss-client/doss-client-showtime/ - ...
doss-client/doss-client-update/ - ...
Each module again has standard maven dir structure:
/src
/target
....
My final app directory structure should be like this:
/etc/doss/ - all config files (config.xml, ...)
/opt/doss/ - application binaries, ...
/var/log/ - log files (doss.log, ...)
/tmp/doss/ - temp files
As you can see, i will deploy my app in linux environment.
QUESTION: How to configure maven to deploy it preserving this dir
structure? Also I don't know how to tell my java app, to look for
config files in /etc/doss/. Or do I have to use simply absolute path?
Thanks,
Paul