How to exclude conf files when do package using maven
I have a project which will been used by other projects and when I package it, it alw开发者_如何学Pythonays include the configuration files (beans.xml). I just want to exclude these configuration files. How can I do this ? Thanks
If your beans.xml is only part of your tests; you can put it in src/test/resources
. It will not be added to the generated library.
精彩评论