mojohaus / appassembler

https://www.mojohaus.org/appassembler/
MIT License
93 stars 49 forks source link

Add the ability to skip #95

Open woodforda opened 5 years ago

woodforda commented 5 years ago

Hi,

Would it be possible to have a element in the configuration that would just skip the plugin execution?

I have a large reactor build that I would like to control if/when I generate scripts and repo to avoid extra time etc in our builds.

I realise I can skip the repo generation separately but I would pref to skip the whole execution.

cheers, Andrew

leif81 commented 4 years ago

Maybe put the plugin into a profile in your pom so it isn't run unless the profile is specified?

woodforda commented 4 years ago

Actually I do use profile however, it's a ver large application with different plugins etc etc. I would like to use the profile to set a property [true|false]</skip.assembly> and use that to control various plugins (i.e. appassembler, assembly etc). This means I can have a single declaration in the depMgmt (i.e. define the configuration with using the property) for appassemnbly and control it more precisely where I need to.

On Sun, 23 Feb 2020 at 04:30, Leif Gruenwoldt notifications@github.com wrote:

Maybe put the plugin into a profile in your pom so it isn't run unless the profile is specified?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mojohaus/appassembler/issues/95?email_source=notifications&email_token=AAINSNFAGSNRJMRL4SPJ47LREHUU3A5CNFSM4IT3FLU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVQOEA#issuecomment-590022416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINSNHK4EXKFGU64EUPQ2LREHUU3ANCNFSM4IT3FLUQ .

-- kind regards, Andrew