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

2016-12-03 Thread Emmanuel Bourg
This looks rather redundant with --usj-name to me. Renaming the usj jar
isn't rare but it isn't very common either.

I suggest supporting variables for --usj-name instead, prefixing the
name of the jar with the groupId would look like this:

--usj-name=${groupId}-foo

or:

--usj-name=${groupId}.${artifactId}

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2016-12-03 Thread 殷啟聰
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.

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.