I am looking for suggestion in putting image file maven web project. One of classes under src/main/java need to use an image file. My problem is, if i put image file under s
You can use maven-resources-plugin to copy things to desired location.
something like this
maven-resources-plugin
2.5
copy-resources
validate
copy-resources
EDIT: based on your comment below, i think what you need is a properties file where you maintain path to the resources folder. That path will be an absolute path. Depending on your deployment you change that path in the properties file.