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

Bug 336562

Summary: dependency plugin befuddled by 'resolve from workspace'
Product: z_Archived Reporter: benson margulies <bimargulies>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description benson margulies CLA 2011-02-07 15:36:03 EST
Build Identifier: 20100917-0705

Using 0.12...

If I set up a Debug As Maven Build, and select workspace resolution, and I have an invocation of maven-dependency-plugin:copy-dependencies, the dependency plugin fails.

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error copying artifact from /Users/benson/x/tej/apne/target/classes to /Users/benson/x/tej/benchmarks/target/dependency/classes



Reproducible: Always

Steps to Reproduce:
See Details, or ask for a test case if it's actually something you want to attack.
Comment 1 Igor Fedorenko CLA 2011-02-07 15:53:39 EST
maven-dependency-plugin is not fully compatible with workspace dependency resolution. This is a problem/limitation of maven-dependency-plugin, there is not much we can do from m2e end to workaround it.
Comment 2 Denis Roy CLA 2021-04-19 13:26:32 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/