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

                 Key: MSOURCES-58
                 URL: https://jira.codehaus.org/browse/MSOURCES-58
             Project: Maven 2.x Source Plugin
          Issue Type: Bug
    Affects Versions: 2.1.2
            Reporter: Hendy Irawan


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to