Maven 2 & 3

Add new dependency scope: include

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Dependencies
  • Labels:
    None
  • Number of attachments :
    0

Description

It should be possible to specify a included scope for dependencies. They have the same meaning as runtime but with the little difference that they will be included into the resulting artifact.

This could be achieved by using the jar-with-dependencies descriptor of the assembly plugin.
Anyway, it would be nice to specify a dependency, which includes some or all of its artiacts and the missing (not included) are resolved transitively.

Activity

Hide
Brett Porter added a comment -

including doesn't make sense for all packaging types, so blending this into the resolution mechanism doesn't make much sense. I think it is best to handle this at a plugin level

Show
Brett Porter added a comment - including doesn't make sense for all packaging types, so blending this into the resolution mechanism doesn't make much sense. I think it is best to handle this at a plugin level

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: