0

I am making a webapp using maven. The problem is that everytime I do maven update project, the Maven Dependencies library disappears from the deployment assembly to WEB-INF. I have to re-add it manually every time. It is similar to problem 1 in this post: Eclipse + Maven + Dynamic Web Project -> Maven overwrites Deployment Assembly

His solution was to update eclipse, but I am already on newest version (mars) and I have all maven plugins installed properly. I know this because I have another web application built using maven that working completely fine without this issue. I've looked through a bunch of settings and the two look completely identical, so I cannot figure out why. Is there some place where I can set so the Maven Dependencies are added automatically to the deployment assembly even after maven update project?

  • Can you show your pom file? Otherwise it's impossible to say something about it... – khmarbaise Aug 20 '15 at 15:50
  • "Is there some place where I can set so the Maven Dependencies are added automatically to the deployment assembly even after maven update project?" - the whole point of m2eclipse is that it does this for you. How did this workspace come to be? Was it freshly created in Eclipse Mars, or was it upgraded from a workspace created in a previous version? – Gimby Aug 20 '15 at 16:10

0 Answers0