fix(s2i): fail if dependencies can't be downloaded
When gathering dependencies via go-offline-maven-plugin for the S2I
image build we need to fail the build if any of the dependencies can't
be downloaded. Otherwise we might end up with a S2I image containing
partial dependencies.
</goals>
<configuration>
<goals>
- <goal>--batch-mode -T3.0C de.qaware.maven:go-offline-maven-plugin:1.2.7:resolve-dependencies</goal>
+ <goal>--batch-mode -T3.0C de.qaware.maven:go-offline-maven-plugin:1.2.7:resolve-dependencies -DfailOnErrors=true</goal>
</goals>
<mergeUserSettings>true</mergeUserSettings>
<projectsDirectory>${project.build.directory}/generated</projectsDirectory>
