Community
Participate
Working Groups
Build Identifier: Eclipse 3.7 + M2E 1.0.0 I have a project that used 3rd party libraries installed in our local Maven artifact repository (Artifactory). Everything is fine importing the existing Maven project into my Eclipse setup, it properly resolves the dependencies that I see under Java Resources -> Libraries -> Maven Dependencies. The problem is that when I deploy this to my Tomcat instance using WTP, it doesn't deploy all the JARs to the WEB-INF/lib directory. Comparing the list of missing JARs to the Dependency Hierarchy that m2e shows me, it seems that some dependencies aren't getting resolved as [compile] and are thus omitted. These dependencies are properly included in the WAR that results from "mvn package" so I do not know why m2e is choosing to exclude them. Reproducible: Always Steps to Reproduce: 1. Set up Artifactory or equivalent 2. Install artifacts with transient dependencies 3. Create new web project that depends on artifact with dependencies 4. Deploy web application to Tomcat within Eclipse
Created attachment 199269 [details] Dependency Hierarchy for artifacts with missing [compile]
Please report m2e-wtp issues in https://issues.sonatype.org/browse/MECLIPSEWTP
Moved to https://github.com/eclipse-m2e/m2e-core/issues/