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 Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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

        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 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: