Hi,

 

I ran into this gotcha: if you have anything in
"src/main/webapp/WEB-INF/lib" (possibly from doing a previous
war:inplace), this takes precedence over your local repository

 

-          I was running from a tomcat context using war:inplace when
developing the app.

-          After developing I wanted to test on different app servers,
therefore I did an install and deployed manually. 

-          I made some tweaks to make it work on other app servers and
rebuilt. 

-          However the war created contained an old version of the
snapshot I depended on

o   I couldn't work out why it pulled in this old version, even when i
deleted my local repo

 

Does this seem odd to everyone? Or is the precedence on
"src/main/webapp/WEB-INF/lib" for a reason?

 

Thanks,

 

Richard

 

Reply via email to