Uploaded image for project: 'Maven Source Plugin'
  1. Maven Source Plugin
  2. MSOURCES-34

Allow the artifact type to be changed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.1
    • None
    • Any

    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

      Attachments

        1. type.patch
          1 kB
          velo

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            velo velo
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: