[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: maven-debian-helper behavior change?



On 05/18/2013 03:40 PM, Emmanuel Bourg wrote:
> Hi Tony,
> 
> I just noticed your commit, does this mean all packages based on
> maven-debian-helper have to be updated?
> 
> Emmanuel Bourg
> 
> 
> Le 18/05/2013 19:29, tony mancill a écrit :
>> The following commit has been merged in the master branch:
>> commit 491ba2eb91b975648dead20bff891e02d89ba5e2
>> Author: tony mancill <tmancill@debian.org>
>> Date:   Wed May 15 22:30:20 2013 -0700
>>
>>     Update pom to install jars in /usj for maven-debian-helper behavior change
>>
>> diff --git a/debian/libgeronimo-jta-1.1-spec-java.poms b/debian/libgeronimo-jta-1.1-spec-java.poms
>> index 31a0ccf..6856f17 100644
>> --- a/debian/libgeronimo-jta-1.1-spec-java.poms
>> +++ b/debian/libgeronimo-jta-1.1-spec-java.poms
>> @@ -23,4 +23,4 @@
>>  #   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
>>  #     temporarily for certain artifacts such as Javadoc jars.
>>  #
>> -pom.xml --no-parent --has-package-version
>> +pom.xml --no-parent --has-package-version --java-lib

Hello Emmanuel,

The behavior change isn't all that recent - it was introduced before the
freeze - but not every package was rebuilt before the freeze (and
anyway, it *unfortunately* wouldn't have resulted in a build failure).

In the case of libgeronimo-jta-1.1-spec-java, it was built and uploaded
before m-d-h required --java-lib, so the binary package in wheezy has
the jars in /usj.  The issue arises now when building 1.1.1-2 (version
in stable and testing) with the tools in stable/testing.  I have
uploaded 1.1.1-3 to unstable to address this for this package.

Of course, there may be other packages with issues.  My preference would
be for future versions of m-d-h to assume --java-lib.  Given that the
Java policy dictates that libraries go into /usj, IMO, --java-lib should
be assumed, and it should take extra effort to publish "private" jars.

Cheers,
tony

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: