Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to change sequence of p2-metadata and jarsignmer in package phase?

OK. Filed a request at https://bugs.eclipse.org/bugs/show_bug.cgi?id=344691

Thanks,
Hendrik.

On Wed, May 4, 2011 at 1:24 PM, Oberlies, Tobias
<tobias.oberlies@xxxxxxx> wrote:
> As far as I know, it is not possible to override the default lifecycle of a packaging type through a POM. However we could change it in the sources. Please open an enhancement request in Bugzilla [1], explaining how you wanted the lifecycle to be changed and how this helps with JAR signing.
>
> Kind regards
> Tobias
>
>
> [1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho
>
>
> Alex Blewitt wrote:
>> I had this problem too. The solution is to disable signing for the
>> repository and instead sign the bundles ahead of the repository's
>> construction.
>>
>> But I agree, a better fix is to reorder the goals so that signing occurs
>> first.
>>
>> Alex
>>
>> Sent from my iPhone 4
>>
>> On 27 Apr 2011, at 13:19, Hendrik Eeckhaut <hendrik.eeckhaut@xxxxxxxxxx>
>> wrote:
>>
>> > I am building an RCP product with Tycho and ran into a problem with
>> > signed plugins. Because the p2-metadata plugin runs before
>> > maven-jarsigner, the p2-metadata adds a different MD5 sum to
>> > p2-artifacts than the actual md5 sum of the Jar (after signing).
>> >
>> > Is there a way to change the sequence in which p2-metadata and
>> > jarsigner are run?
>> >
>> > Thanks,
>> > Hendrik.
>> > _______________________________________________
>> > tycho-user mailing list
>> > tycho-user@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/tycho-user
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>



-- 

Hendrik Eeckhaut, PhD
T: +32 485 06 18 93
http://www.sigasi.com


Back to the top