Render ASF LICENSE and DEPENDENCIES files from SPDX license data
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system, documentation
Research direction
The issue points to three linked PRs (#319–#321) and the LICENSE and DEPENDENCIES templates in apache/maven-apache-resources. First check those PRs and how the templates use $spdx.preferred and $spdx.unresolved; then identify the remaining work for headings, stable per-license file names, and rendering ASF resource bundles. Done means the templates use SPDX data while retaining declared license names for unresolved dependencies.
Written by the indexing model from the issue text.
Description
#316 gives templates an SPDX ID and a preferred license per dependency (#319, #320, #321). This issue tracks what the plugin still needs so that ASF bundles can render LICENSE and DEPENDENCIES files from it.
Plan
Each item is its own PR, linked here.
- Headings and file names. Add
$spdx.title($id)for a heading such as "BSD 3-Clause License", and a stable file name per ID for templates that point at per-license text files, as Spark'sLICENSE-binarydoes with itslicenses-binary/directory. The texts stay with each project. - ASF resource bundles. Once a release contains #319 to #321, use
$spdx.preferredin theDEPENDENCIESand LICENSE templates of apache/maven-apache-resources, keeping the declared license names for dependencies that$spdx.unresolvedreturns.
Out of scope
- Checking LICENSE against what a distribution bundles. The licensing how-to scopes LICENSE to the distribution: "Do not add to LICENSE and NOTICE dependencies which are not in the distribution. Only bundled bits matter" (licensing-howto). A check of that has to read the built artifact, as Kafka
verify_license.py, PulsarCheckBinaryLicenseTask.ktand Flink'sJarFileChecker.javado. This plugin renders before packaging. To narrow$projectsto what a module bundles, use the existingincludeGroupIds,excludeArtifactIdsand scope filters. - Failing the build on a license. The License Maven Plugin has
failOnBlacklistand include and exclude lists, and its master adds forbidden and problematic license classes (LicenseClassifier.java, since 2.8.0, unreleased as of 2.7.1). - NOTICE aggregation. The shade plugin's
ApacheNoticeResourceTransformeralready merges bundled NOTICE files.
- Dominant language
- Java
- Stars
- 17
- Forks
- 20
- Avg merge
- 12h 3m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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-remote-resources-plugin
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/maven-remote-resources-plugin#335 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 52/100
apache/maven-remote-resources-plugin#341 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
apache/maven-remote-resources-plugin#324 ·
Maintainers usually reply within 1 day
-
Perf: triggers a Maven model build for every dependency artifactPossibly taken A pull request linked to this issue is open or already merged. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
apache/maven-remote-resources-plugin#270 ·
Maintainers usually reply within 1 day
-
[MRRESOURCES-106] ProcessRemoteResourcesMojo#getProjects() can end up consuming a lot of memory for big projectsMay be free again @hboutemy claimed this 497 days ago, and no pull request is open. Openbug priority:major
apache/maven-remote-resources-plugin#233 · 8 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in apache/maven-remote-resources-plugin
Similar issues
-
Component: Frontend Component: Web Component Type: Maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
it-at-m/refarch-templates#1944 ·
Maintainers usually reply within 2 days
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleapis/java-genai#1372 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
-
GeoSeries scale and skew tests fail with pytest 9.2.0Possibly taken @jiayuasu claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
carlos-emr/carlos#5431 ·
Maintainers usually reply within 1 day