Bug#846845: A New Option for Prefixing usj-name with Group ID

殷啟聰 seamlikok at gmail.com
Sat Dec 3 17:15:22 UTC 2016


Package: maven-repo-helper
Version: 1.9.2
Severity: wishlist

There are Java libraries that are forks of some upstreams or are some
internal libraries that are never released to be used by other
projects. There are also libraries whose names are too general (e.g.
com.android.tools:annotations:debian => annotations.jar). In these
cases, the libraries installed in `/usr/share/java` may conflict with
other existing libraries whose JAR names are already recognized by
more people.

What if we add an option (e.g. --prefixed-usj-name, --full-usj-name)
to let maven-repo-helper add the group ID to the usj-name? Thus we
have "com.android.tools.annotations.jar".

Currently we can do it with
"--usj-name=com.android.tools.annotations", but if there are tons of
JARs in the package, more typing would mean more typos. Also, we don't
need to check the group ID manually.



More information about the pkg-java-maintainers mailing list