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

Bug 366226

Summary: Aether sets an invalid pathname in an artifact
Product: z_Archived Reporter: benson margulies <bimargulies>
Component: AetherAssignee: Project Inbox <aether.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: bentmann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description benson margulies CLA 2011-12-09 12:34:50 EST
Build Identifier: 20110916-0149

I've tracked MNG-5214 into Aether. Aether is returning a DefaultArtifact that has a pathname of target/classes for attached artifact of type wsdl. This produces a regression.

Reproducible: Always

Steps to Reproduce:
1. See the JIRA. I'll be investigating sooner.
2.
3.
Comment 1 Benjamin Bentmann CLA 2011-12-09 12:42:19 EST
(In reply to comment #0)
> I've tracked MNG-5214 into Aether. Aether is returning a DefaultArtifact that
> has a pathname of target/classes for attached artifact of type wsdl.

The only paths directly returned from Aether itself are for files token from the local repository. "target/classes" is a path from the Maven reactor and as such controlled by a WorkspaceReader supplied to Aether. This WorkspaceReader lives in Maven, not Aether.