- The dependency hierarchy tab was showing what I expected: the new version of the updated dependency and the added dependency. - There are way too many dependencies on this project for adding and removing individual dependencies to be practical. - I've deleted and reimported the project as a Maven project and now the added dependency is correctly published, but the dependency that was updated is published twice (both the old and the new versions). - I haven't been able to reproduce the issue with a sample project. If I do, I'll file a bug in Bugzilla.

Thanks,
Daniel Serodio

Fred Bricon wrote:
- 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] <mailto:[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] <mailto:[email protected]>
    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
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to