mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.59k stars 419 forks source link

Generated Json file contains unreadable library names #998

Closed ductavius closed 4 weeks ago

ductavius commented 4 weeks ago

About this issue

I use the AboutLibrary for multiplatforms [Android/iOS]. From the generated aboutlibraries.json, I have seen that some of the library names are unreadable.

            "uniqueId": "com.ibm.icu:icu4j",
            "name": "${proj-title} (${project.artifactId})",
            "website": "https://icu.unicode.org/",
            "licenses": [
                "8e76e04435ff54c8e0e7444ba2faa856"
            ],
            "organization": {
                "url": "https://icu.unicode.org/",
                "name": "Unicode, Inc."
            }

and

           "uniqueId": "javax.annotation:javax.annotation-api"
           "scm": {
                "connection": "scm:git:https://github.com/javaee/javax.annotation.git",
                "url": "https://github.com/javaee/javax.annotation",
                "developerConnection": "scm:git:git@github.com:javaee/javax.annotation.git"
            },
            "name": "${extension.name} API",
            "website": "http://jcp.org/en/jsr/detail?id=250",
            "licenses": [
                "9be0c4d7964ad9a68deb2e9706266b8c"
            ],

I think it was resolved in the old version issue.

Details

Checklist

mikepenz commented 4 weeks ago

for com.ibm.icu it is unfortunately a bug in the pom.xml from the library. You can either patch it manually by providing the correct details, or raise it to the authors of the library to fix this in their pom.

https://repo1.maven.org/maven2/com/ibm/icu/icu4j-root/75.1/icu4j-root-75.1.pom

Screenshot 2024-06-26 at 17 25 57

Also the same applies to javax.annotation:javax.annotation-api

https://repo1.maven.org/maven2/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.pom

Screenshot 2024-06-26 at 17 27 37
ductavius commented 4 weeks ago

Thank you very much for the reply. Then, I would patch it manually for now