Wednesday, February 11, 2015

MAVEN : Resolve duplicate or find dependency jar in POM file

To resolve the duplicate jar file in target/war and finding the dependency tree jar file in maven.


Run the below command
mvn dependency:tree
result :

by analyzing the jar file dependency tree we can easily find the root cause dependency.

Related Posts:

  • RESTful Web Service What Are RESTful Web Services? Representational State Transfer (REST) is an architectural style that specifies constraints, such as the uniform interface, that if applied to a web service induce desirable properties, such as… Read More
  • Search Engine Optimization (SEO) Lot of time we come cross search engine (Google) results, wonder how search engine pull this information, here our idea is how to make our domain to be recognized by search engine, what we have to follow, its not like every … Read More
  • ClientAbortException Generally, you can just ignore it. This exception will be thrown when the client has abruptly aborted the HTTP request while the page is still loading or continuous requesting/clicking. This will occur when the client pres… Read More
  • MAVEN : Resolve duplicate or find dependency jar in POM file To resolve the duplicate jar file in target/war and finding the dependency tree jar file in maven. Run the below command mvn dependency:tree result : by analyzing the jar file dependency tree we can easily find the root cau… Read More
  • Refactor package change on whole project (JAVA) or Change package/import of whole project Some times in our application development we will come across situation like changing the package structure of the project. As all classes present in the project are having the old package and import statement declaration, w… Read More

0 comments:

Post a Comment