-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello Daniel,
If you use a recent version of maven-debian-helper and the mh_make tool to package your project, then --java-lib option should have been included in the generated .poms file. Ludovic On 08/29/2012 06:55 PM, Daniel Thomas wrote: > On Tue, 2012-04-24 at 13:32 +0100, James Page wrote: >> Hi Ludovic >> >> On 21/02/12 22:08, Ludovic Claude wrote: >>> The new behaviour of maven-debian-helper seems more correct. I >>> think that for most cases, you explicitely add --java-lib >>> option to publish your jar in /usr/share/java, but there are >>> cases where a jar is private, for example Ant or Eclipse >>> plugins. In such cases, you can create a link to a custom >>> location (with the third argument to mh_installjar) or install >>> the jar in that custom location (using - --dest-jar=<path>) and >>> let mh_installjar create a link for the jar in the Maven >>> repository. >>> >>> Please file bug reports for those packages which are broken by >>> this change, I tried to fix such packages some time ago but >>> there are still some problems in packages I don't know. >> >> It would be nice the m-d-h made more intelligent decisioning on >> whether to install to /usr/share/java or not. >> >> For example, if the binary package name that m-d-h is targetting >> is named libXXX-java, it would make sense to automatically >> install to /usr/share/java. If the package is not a libXXX-java >> package then it a) does not want to install to usj or b) has to >> do it explicitly with --java-lib. >> >> Lintian checks that libXXX-java packages install jar files to >> /usr/share/java - I don't think mdh should be breaking that >> rule! >> >> I'd be happy to work up a patch to implement this functionality >> (feel it might be a better spend of time rather than continually >> finding packages which don't use --java-lib). >> >> Thoughts? > > That would be great. I just got bitten by forgetting --java-lib on > a libXXX-java package because mdh was being so wonderfully helpful > I thought it would have done this for me. > > Daniel > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJQP/TxAAoJEImmFv6yGz69aWwP/jANDQqBZJWmkyoj2uZVH3fp O9s/wRlYw/3nuJ7QtqPa+pqgF5zCzDeN5sFiPLM/BTIlyoYdR1+RbaYjPXshW4WK rVA+UGJXE/LmEQ/4gvqAyTRVKc8lWZfksTqXwCIUU1HOCjUehuDjE/mL8v8BUeOO 4u4Ikc4XKm+labOAvUcwnd5f0AhM/RQ4MdOeF8a0Itfyn2UbyCvfrFsagrBuKveS u2dVMZ50K38BXtFv9vy20xidB9EqhRP6Qx0lWZesIoiHde/H7sZcnyFalf9r42HH akOLWEOXa6ksRHXDGQqEc1rLJKXb0SlmP3mshHi/+Hs+eBb9F/bORcPGoUL9f3Uq GKhz9OQe8JVhJw/RemQ671ApkGQTSVwa/kdyB0SI6tVFffijUHYjqN2zVLA+hEwd W+osM80KzycEfKbZD2oXCW4mmP10aicCuJz0n+u/QIXy7XDGGYmU7XB5cnaK+18L 55i+aWbcibtTD30pPxxXZJ/dAYHGfHSGnNVqSayjQISMgb09oG+OpDpFNLXMuZNL ed20/unrczz0j+TWX6BiKT+JZV6tSmIKYO0dYHAIgtAHIROI38zJE1Cq3aSh2x72 EWU5yWlxAcki630BDgD0U7w5gf85zvFKOLAU9fvxTA0oopw+NOftTJB2/d1L++5A ftj/44u4fWJr5kSTLbsV =U+cs -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503ff4f6.8010...@laposte.net