Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Pack by default, sign in a profile

On Fri, Sep 6, 2013 at 9:28 AM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

I'm trying to set up a pom in a way that the jar files get packed in any case, and I can sign them with a profile.
So what I'd like to do is, by default:
* pack200a
* pack200b
and when using a profile
* pack200a
* sign
* pack200b

However, I don't know a way to trigger signing execution just between pack200a and pack200b. So it seems to me that I'll need to deal with a couple of profiles if I want to achieve it.
Is there a nicer solution?

The SignMojo [1] has a parameter "skip", if you configure that using
a Maven property you should be able to switch it by setting the property. 


--
Matthias

Back to the top