Maven 2.x One Plugin

Custom artifact handlers should be ignored

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

If a custom packaging has a custom artifact handler, that handler (in particular, the file extension) should be ignored by the M2 --> M1 plugin.

For example, if I create a packaging "foo" and use the artifact handler to declare that my packaging has the file extension "jar", then the plugin will currently create deploy files in the form "foos/a.jar". This is a corrupted repository from M1's point of view, which expects the packaging and the file extension to match in all cases.

The workaround is to use M1's <jar> dependency field to override the calculated file name, but the real issue should also be fixed.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: