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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.2
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ceefour Hendy Irawan
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: