开发者

How to exclude conf files when do package using maven

开发者 https://www.devze.com 2023-04-11 13:47 出处:网络
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 file

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消