Your message dated Wed, 27 Jan 2016 10:26:13 +0000
with message-id <e1aonij-0006q8...@franck.debian.org>
and subject line Bug#766392: fixed in maven-debian-helper 2.0.3
has caused the Debian Bug report #766392,
regarding maven-debian-helper: --no-usj-versionless does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
766392: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766392
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven-debian-helper
Version: 1.6.8
Severity: important

Hi,

I'm trying to build libspatial4j-0.4-java, a Maven based project, but
for ABI incompatibility reasons I do NOT want the spatial4j-0.4.1.jar ->
spatial4j.jar symlink in /usr/share/java.

>From reading the comments in the generated debian/lib*.poms file[1], I
understand that I should just add "--no-usj-versionless" after the
pom.xml entry to avoid creating that symlink. However, this seems not to
have the desired effect: The link in /usr/share/java is still created.

I have experimented with the other modifiers and have found that both
"--usj-name" and "--usj-version" seem to work as advertised in the
comments.

The relevant code seems to be in the copyJarToUsj() method in
debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java:

        if (jarFile.exists()) {
            System.out.println("Install jar for " + artifactId + " into 
/usr/share/java");
            mkdir(compatSharePath());
            FileUtils.copyFile(jarFile, new File(fullCompatPath()));
            if (noUsjVersionless) {
                link(destUsjJarName(), versionedFullCompatPath());
            } else {
                link(destUsjJarName(), fullCompatPath());
                link(destUsjJarName(), versionedFullCompatPath());
            }
         }

destUsjJarName() returns a versionless .jar name. That filename should
not even be mentioned in the "--no-usj-versionless" branch, should it?

Cheers,
-Hilko

[1] Specifically this line:
#   --no-usj-versionless: don't install the versionless link in /usr/share/java

--- End Message ---
--- Begin Message ---
Source: maven-debian-helper
Source-Version: 2.0.3

We believe that the bug you reported is fixed in the latest version of
maven-debian-helper, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 766...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated maven-debian-helper 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 27 Jan 2016 09:51:30 +0100
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source all
Version: 2.0.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 766392
Changes:
 maven-debian-helper (2.0.3) unstable; urgency=medium
 .
   * Team upload.
   * Fixed the --no-usj-versionless option (Closes: #766392)
   * Build the plugin metadata for the org.codehaus.plexus group
     when copying the Maven repository.
   * No longer export a default value for the JAVA_HOME variable in the
     debian/rules file generated by mh_make (the DH build system already uses
     a default value)
   * Fixed the test failure with testSolvePlexusActiveCollectionsDependencies
     in DependenciesSolverTest. It should have been updated with
     maven-debian-helper 1.6.8 when the provided dependencies stopped
     from being included in the package dependencies.
Checksums-Sha1:
 563a357eaf862c55b5d150b3040768e8454534c0 2143 maven-debian-helper_2.0.3.dsc
 6370649bd0df0a397c2e9a3dff12ae6b6f475d14 86100 maven-debian-helper_2.0.3.tar.xz
 b9854bd0226907ef606ab3505b56ec89c36846a2 117306 
maven-debian-helper_2.0.3_all.deb
Checksums-Sha256:
 3293c5089e215535481bd9e05e09b79dbd9c419e24b46e8e9efcbc0428f94b8e 2143 
maven-debian-helper_2.0.3.dsc
 6891bc06ef1acca554e8fbc3d31850bd5c8dfb49daff8bf19aa44a19f622661a 86100 
maven-debian-helper_2.0.3.tar.xz
 847a93e22def0d1e968d8c342c7e388fd058a48af592061bedb4d4ebb91adb88 117306 
maven-debian-helper_2.0.3_all.deb
Files:
 beaf521bbd7b7c4a4f877f7f2e8ce67c 2143 java optional 
maven-debian-helper_2.0.3.dsc
 8a9317629d70a94990f737f4cfa16567 86100 java optional 
maven-debian-helper_2.0.3.tar.xz
 89477bdd005a437d429d2b46f4d99d55 117306 java optional 
maven-debian-helper_2.0.3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWqIWKAAoJEPUTxBnkudCsiUcP/0MxtOsitWVbf57ejvrUEIOw
V4hxrW49uEHZ1T1PEfEbom2kahSRPdToqB8ZprD+4+QqZG3TZID8TzSAE3LUnr44
aUf965URDN0UpxGBMJbCc4Xlq8IUwIU0yYYqlfiQb+o+ZRDX6Tz8gnBl4RnEjuXD
7AxwjMbKPdLy+NNAu8RdNdPzEUJRdAJQNDHeXEdpJN9rFNqzW68nsLs4ZN45AS/k
kNsF3p99RG+2i9M/phYEoidyU8Hu1hP9npokRn+fp9kVAhWONyB7lstq0ML7Bn4z
Ru7sbltaFM69NnAQU2WrAPwTIBkhgWY1utHP1EPZKeeejhrcxRmE2rIak2BNYU4c
wsm7UJ5JK/37i9KSdNHm3IqcyoJj7dWqWI6WAneiy4A0ZxUPNF+wOhMtRB+wMVSG
i7H1o8yWpYlEGmxcm/ovsfYSGX1H+T08GTU3RqoL9Wbnmqm51RfdxOCA/rO0fa95
rEY8nwhkOZ3bJyV6ztL3F6TGJCKRpSCMGtLrexwOAQIeVrkGVEBaMSe0wHc4t5M0
512Ya58l9oXu/Vu4+5pH3zzSp/TBdiJbtCFwZjDTEU8ad/4br/N7YZRgnMuVQlQW
IbFnRT/2x0SxKtdYGofI6Bl0EQfojA2QKYCB7HemzjOZpYcdL2PsIoKsWmShhsKG
1rimw+2Zahpp9EG+G7XM
=BMVM
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to