I don't have a better solution to it. The baseline check is not a test, and
it should not be deactivated when skipTests is true. As pointed out by
Robert, the baseline goal already has its own property to skip itself
(baseline.skip), so I see no need to use skipTests. Unless someone
disagree, I can apply the modification suggested by Robert.

2016-01-11 15:33 GMT+01:00 Robert Munteanu <romb...@apache.org>:

> Hi,
>
> Working on a branch makes it quite inconvenient to run baseline checks
> so until I rebase.
>
> I have tried running the build with -Dbaseline.skip=true but that does
> nothing.
>
> The only 'fix' is to patch oak-parent/pom.xml:
>
> diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
> index 72152b2..361ea00 100644
> --- a/oak-parent/pom.xml
> +++ b/oak-parent/pom.xml
> @@ -143,7 +143,6 @@
>                  <logResults>false</logResults>
>                  <failOnWarning>false</failOnWarning>
>                  <failOnError>true</failOnError>
> -                <skip>${skipTests}</skip>
>                </configuration>
>              </execution>
>            </executions>
>
> Does anyone have a better solution?
>
> Thanks,
>
> Robert
>

Reply via email to