- Do these old dependencies appear in the dependency hierarchy tab of the
pom editor?
- Have you tried removing all dependencies and adding them one by one, wait
for tomcat to sync, check what/when the problem happens?
- Can you try deleting and reimporting the projects (as maven project)
without their existing eclipse settings (.classpath, .project, .settings/)?
- Can you reproduce the issue with sample projects?

Fred Bricon


On Wed, Oct 10, 2012 at 8:18 PM, Daniel Serodio (lists) <
[email protected]> wrote:

> I'm using m2e-wtp 0.16 and m2e 1.2.0 with Eclipse 4.2.1
>
> I've updated the version of a Project's dependency and added two new
> dependencies, but m2e-wtp won't notice these changes and keeps publishing
> outdated dependencies.
>
> Runnning "mvn tomcat7:run" on the shell picks the right dependencies.
>
> I've already removed the project from Tomcat (in the Servers view), hit
> Publish, checked that it was removed from .metadata/.plugins/org.**
> eclipse.wst.server.core/tmp1/**wtpwebapps, selected Project > Clean,
> added the project again to Tomcat in the Servers view, but when I Publish
> this project, m2e-wtp is still picking the old dependencies.
>
> This project is part of a multi-module Maven project, and the
> dependencies's versions are specified in the parent's POM
>
> What could be wrong? How can I troubleshoot this problem?
>
> Thanks in advance,
> Daniel Serodio
> ______________________________**_________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to