Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350298

Summary: When running a maven managed webapp project in wtp, the deployer ignores exclude hints from the POM
Product: z_Archived Reporter: Missing name <cgamache>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Missing name CLA 2011-06-24 13:02:03 EDT
Build Identifier: 20110218-0911

lib-a has a dependency some-lib-1.0.0-SNAPSHOT.

project-b depends on lib-a and some-lib-1.0.1-SNAPSHOT, and excludes some-lib from lib-a.

both some-lib-1.0.0-SNAPSHOT and some-lib-1.0.1-SNAPSHOT make it into the wtpwebapps/project-b/WEB-INF/lib folder.

Reproducible: Always

Steps to Reproduce:
1.create dependency version conflict with is resolved with an exclude
2.deploy wtp project to Eclipse wtp server runtime
3.browse to lib location in org.eclipse.wst.server.core and note both versions of the library are present
Comment 1 Igor Fedorenko CLA 2011-06-27 01:33:12 EDT
Please report m2e/wtp bugs in https://issues.sonatype.org/browse/MECLIPSEWTP
Comment 2 Denis Roy CLA 2021-04-19 13:24:36 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/