[
https://issues.apache.org/jira/browse/SLING-9446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106281#comment-17106281
]
Robert Munteanu commented on SLING-9446:
----------------------------------------
One of the scenarios is when inclusion of the actual sources is not desirable,
so the sources jar could be basically empty with a README file explaining that.
Maven Central deployment requires the presence of a sources jar, even if it
does not contain the actual classes.
As for the flags, I am working with
- includeDefaultApiResources
- includeDefaultApiJavadocResources
- includeDefaultApiSourceResources
at the moment.
> Allow skipping inclusion of default resources
> ---------------------------------------------
>
> Key: SLING-9446
> URL: https://issues.apache.org/jira/browse/SLING-9446
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Major
> Fix For: slingfeature-maven-plugin 1.3.2
>
>
> When generating api/source/javadoc jars we currently have the option of
> configuring additional directories. Sometimes it is useful to configure those
> directories to be the only ones included in the jars, as we should provide
> flags for it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)