Simplify distribution-check to use -Pq profile
The -Pq profile disables many of the same things distribution-check
wants to disable to run a quick build and build a karaf bundle.
This is a 2nd attempt at this patch now that odlparent was updated to
not skip compiling tests via patch
https://git.opendaylight.org/gerrit/42106
Change-Id: I07e41cd0c5a854c7735951b70f3efe6ad5c97006
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(cherry picked from commit
e61f031a50900a8a2d1895b320806e14f623f408)