multiple levels maven war dependencies (transitive war dependency)

本文探讨了Maven项目中多级war依赖的问题。具体来说,项目C依赖于项目B,而项目B又依赖于项目A。在部署过程中,期望使用来自项目B的index.jsp文件,但实际上使用的是项目A中的该文件。文章寻求解决这一问题的方法。

guys. I am a Chinese. I had searched this question in search engines and some technology forums, but i cann't find the answer, so i find help here.

the following is the detail of the question:

I have three war projects(project_A, project_B, project_C). project_C is dependent on project_B,project_B is dependent on project_A.

there is a file "index.jsp" in project_A, project_B overwrite the "index.jsp" file

By my understanding, when the project_C is deployed to web server, the file "index.jsp" should be from project_B, but the fact is that the file "index.jsp" is from project_A

someone help me Unlock this confuse, please ...thank u very much..

 

 

 

refer from :http://stackoverflow.com/questions/13008815/multiple-levels-maven-war-dependencies-transitive-war-dependency

转载于:https://www.cnblogs.com/silentjesse/archive/2012/10/22/2734314.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值