gildor
Declaring custom check, clean, build or assemble tasks is not allowed anymore when using the lifecycle plugin.