1
我有一個maven多模塊項目分層如下。Maven包裝屬性文件
test-integration
- test-integration.properties
test-services
- test-services.properties
test-persistence
- test-persistence.properties
在每個項目中都有一個屬性文件。我應該如何配置maven以從jar中排除所有* .properties,同時將它們全部提取到配置文件夾中?
- 測試集成/目標/ LIB /測試integration.jar
- 測試集成/目標/ LIB /測試service.jar中
- 測試集成/目標/ LIB /測試的持久性。罐子
- 測試集成/目標/配置/ test-integration.properties
- 測試集成/目標/配置/ test-service.properties
- 測試集成/目標/配置/ test-persistence.properties