I like to develop using the tomcat7-maven-plugin, especially the mvn tomcat7:run / tomcat7:run-war goal in order to quickly test my app,
this plugin allows you to specify a custom Context.xml (which is very handy to provide stub for jndi datasources)
my issue is, I can not think of a good place to store this Context.xml. it simply does not fit well in the maven standard directory layout...
any idea ? best practices ? :D
thx,
additionalConfigFilesDir
but I could not access them within autowired environment variable. WithcontextFile
worked great. Thanks. – Hedges