You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "dimas-b (via GitHub)" <gi...@apache.org> on 2025/11/03 18:49:46 UTC
Re: [PR] Root POM: link to project's LICENSE, add NOTICE+DISCLAIMER to comment [polaris]
dimas-b commented on code in PR #2911:
URL: https://github.com/apache/polaris/pull/2911#discussion_r2487520421
##########
build-logic/src/main/kotlin/publishing/configurePom.kt:
##########
@@ -85,7 +86,14 @@ internal fun configurePom(project: Project, mavenPublication: MavenPublication,
licenses {
license {
name.set("Apache-2.0") // SPDX identifier
- url.set(asfProject.licenseUrl)
+ url.set(gitInfo.rawGithubLink("LICENSE"))
+ comments.set(
+ """
+ NOTICE: ${gitInfo.rawGithubLink("NOTICE")}
+ DISCLAIMER: ${gitInfo.rawGithubLink("DISCLAIMER")}
Review Comment:
Adding these links for release builds sounds valuable to me, but given current impl. of `GitInfo` for non-release builds (using `HEAD`) I do not think the links would be useful or even correct.
Could we identity whether `GetInfo` has a solid tag and avoid adding links if it does not?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org