Ticket #282 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Dependency sorting in classpath - CodehausJira:MNG-1412

Reported by: ebrown Assigned to: ebrown
Priority: unassigned Milestone:
Component: maven Version:
Keywords: maven Cc:
Blocking: Blocked By:

Description

The .classpath file entries should be ordered by nearest transitiveness (if that's a word).

For example, I have project A that depends on B that depends on C. The classpath for A is generated in the order C, B. Ideally the classpath should be in order of how near they are to the project, i.e. B, C.

See CodehausJira:MNG-1412

Dependency Graph

Change History

02/15/07 17:43:51 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.

(In [2357]) fixes #282 Dependency sorting in classpath

There were patches in CodehausJira:MNG-1412, but they were out of date with 2.0.5 and I think Marten just globally replaced HashSet? and HashMap? with their Linked counterparts in much code -- even in places it wasn't needed. So I've tried to reduce it to the minimum number of places and am submitting a new patch.

08/07/07 16:25:51 changed by

  • milestone deleted.

Milestone Bugs deleted