multiple levels maven war dependencies (transitive war dependency)

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/p/2734314.html