[jira] [Commented] (MSOURCES-106) Allow inclusion of additional files like LICENSE and NOTICE in source jar

2025-06-10 Thread Jira


[ 
https://issues.apache.org/jira/browse/MSOURCES-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959475#comment-17959475
 ] 

Matthias Bünger commented on MSOURCES-106:
--

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-source-plugin#177|https://github.com/apache/maven-source-plugin/issues/177].
 Please visit the GitHub issue to view further activity, add comments, or 
subscribe to receive notifications.

> Allow inclusion of additional files like LICENSE and NOTICE in source jar
> -
>
> Key: MSOURCES-106
> URL: https://issues.apache.org/jira/browse/MSOURCES-106
> Project: Maven Source Plugin (Moved to GitHub Issues)
>  Issue Type: New Feature
>Affects Versions: 3.0.1
> Environment: all
>Reporter: Luc Maisonobe
>Priority: Major
>
> The source jar, despite not being intended as a full-featured source 
> distribution, can be considered a derivative work. Some licenses (like the 
> Apache License!) require that derivative work includes copies of important 
> legal files, like LICENSE and NOTICE in the case of the
> Apache License, but there may be other cases.
> Currently, there are no provisions in the source plugin to add files that are 
> not within
> the source tree. Typical Apache projects put the LICENSE and NOTICE at the 
> top level
> of the project, outside of the source tree.
> It would be nice to have an optional parameter "additionnalFiles" in the 
> various goals source:jar, source:jar-no-fork, source:test-jar, 
> source:tst-jar-no-fork where a list of additional files could be put in the 
> jar (putting them at the top level of the jar would probably be OK, but some 
> other plugins put such files in the META-INF directory within the jar)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MSOURCES-106) Allow inclusion of additional files like LICENSE and NOTICE in source jar

2018-04-05 Thread Karl Heinz Marbaise (JIRA)

[ 
https://issues.apache.org/jira/browse/MSOURCES-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427521#comment-16427521
 ] 

Karl Heinz Marbaise commented on MSOURCES-106:
--

There is a solution to do so see 
http://maven.apache.org/apache-resource-bundles/ which is done by the Maven 
Project for a very long time see examples in maven central

> Allow inclusion of additional files like LICENSE and NOTICE in source jar
> -
>
> Key: MSOURCES-106
> URL: https://issues.apache.org/jira/browse/MSOURCES-106
> Project: Maven Source Plugin
>  Issue Type: New Feature
>Affects Versions: 3.0.1
> Environment: all
>Reporter: Luc Maisonobe
>Priority: Major
>
> The source jar, despite not being intended as a full-featured source 
> distribution, can be considered a derivative work. Some licenses (like the 
> Apache License!) require that derivative work includes copies of important 
> legal files, like LICENSE and NOTICE in the case of the
> Apache License, but there may be other cases.
> Currently, there are no provisions in the source plugin to add files that are 
> not within
> the source tree. Typical Apache projects put the LICENSE and NOTICE at the 
> top level
> of the project, outside of the source tree.
> It would be nice to have an optional parameter "additionnalFiles" in the 
> various goals source:jar, source:jar-no-fork, source:test-jar, 
> source:tst-jar-no-fork where a list of additional files could be put in the 
> jar (putting them at the top level of the jar would probably be OK, but some 
> other plugins put such files in the META-INF directory within the jar)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)