Maven Source Plugin
  1. Maven Source Plugin
  2. MSOURCES-58

Maven Source Plugin does not work if project packaging=bundle (OSGi Bundle)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      With project that configured as such:

      <packaging>bundle</packaging>

      ...

      <plugin>
      <groupId>org.apache.felix</groupId>
      <artifactId>maven-bundle-plugin</artifactId>
      <extensions>true</extensions>
      <configuration>
      <instructions>
      </instructions>
      </configuration>
      </plugin>

      Running mvn source:jar produces:

      [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [id.co.bippo:magento-kettle:bundle:1.1.2-SNAPSHOT] has a [] classifier.

      It should create a source artifact just fine, the bundle packaging can be treated just like jar packaging.

        Activity

        Hendy Irawan created issue -
        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
        Michael Osipov made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:20:11 UTC 2015 [ 1428240011407 ]
        Mark Thomas made changes -
        Workflow jira [ 12727213 ] Default workflow, editable Closed status [ 12757467 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 01:22:20 UTC 2015 [ 1428283340288 ]
        Mark Thomas made changes -
        Workflow jira [ 12964829 ] Default workflow, editable Closed status [ 13001935 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1159d 6h 7m 1 Michael Osipov 25/Nov/14 14:49

          People

          • Assignee:
            Unassigned
            Reporter:
            Hendy Irawan
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development