Build problem , need to skip unit tests - s1tbx (affects s2tbx and s3tbx too)

Hi, I could not build s1tbx with the unit tests, and managed to build only by skipping them:
‘mvn clean install -DskipTests=true’

This looks like a well-known problem, but since I could not find any mention here, and since, on this page of the wiki guide, there was an invitation to declare the issue, I thought it worth reporting :wink:
I actually get the same issues with toolboxes 2 and 3 too. No such problems with the snap-engine and snap-desktop, anyway.

I am using a windows machine, JDK 1.8 and Maven 3.5.8.

Let me know if you need further details to tackle the issue. Thanks.

In general you should be able to mvn clean install -D maven.test.skip=true
However, initially there are some test data dependencies that need to be retrieved by running the tests with mvn clean install inside of snap-core and s2tbx-commons. You only need to do this once and then should be able to skip all tests. I don’t know why it’s this way but it should get fixed.

1 Like