[MSOURCES-106] Allow inclusion of additional files like LICENSE and NOTICE in source jar
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Start by locating the source:jar, source:jar-no-fork, source:test-jar, and source:tst-jar-no-fork goals and reviewing how they assemble the source jar. Done means an optional additionalFiles parameter can include files outside the source tree, such as LICENSE and NOTICE, in the generated jar.
Written by the indexing model from the issue text.
Description
Luc Maisonobe opened MSOURCES-106 and commented
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)
Affects: 3.0.1
- Dominant language
- Java
- Stars
- 37
- Forks
- 38
- Avg merge
- 12h 11m
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-source-plugin
-
bug priority:minor
Difficulty 1/5 Under an hour Newbie friendliness 85/100
apache/maven-source-plugin#306 · 3 comments ·
-
Fix Jenkins build Openbug priority:critical
Difficulty 3/5 1-2 days Newbie friendliness 48/100
apache/maven-source-plugin#311 · 1 comment ·
-
bug priority:major
apache/maven-source-plugin#304 · 3 comments · 1 assignee ·
-
bug priority:blocker
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apache/maven-source-plugin#261 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apache/maven-source-plugin#244 ·
All issues in apache/maven-source-plugin
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100