[
https://issues.apache.org/jira/browse/MSOURCES-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959429#comment-17959429
]
Matthias Bünger commented on MSOURCES-58:
-----------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-source-plugin#79|https://github.com/apache/maven-source-plugin/issues/79].
> Maven Source Plugin does not work if project packaging=bundle (OSGi Bundle)
> ---------------------------------------------------------------------------
>
> Key: MSOURCES-58
> URL: https://issues.apache.org/jira/browse/MSOURCES-58
> Project: Maven Source Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 2.1.2
> Reporter: Hendy Irawan
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)