Maven 2.x Source Plugin

Allow the artifact type to be changed

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.4
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Any
  • Number of attachments :
    1

Description

At current time the type generated by this plugin is hard coded:
AbstractSourceJarMojo line 177:
projectHelper.attachArtifact( project, "java-source", getClassifier(), outputFile );

If this "java-source" is moved to some getType it will allow me to extends this abstract class instead of duplicating this source.

Then I use org.ops4j.maven-inherit-plugin.

I can provide patch if required.

VELO

Activity

Hide
Marvin Froeder added a comment -

Patch attached

Show
Marvin Froeder added a comment - Patch attached
Hide
Dennis Lundberg added a comment -

Fixed in r747570.
The patch didn't apply anymore, but the changes were easy to make by hand.

Show
Dennis Lundberg added a comment - Fixed in r747570. The patch didn't apply anymore, but the changes were easy to make by hand.

People

Vote (4)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: