Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The Jenkins 'Sanity Check' stage runs a mvn clean compile command. In case this is run before artifacts have been published to Maven Central, the failure will be cached ( by default for a day according to https://maven.apache.org/ref/3.8.6/maven-settings/settings.html#releases ) . We should instead pass the "-U" flag to the command.
I encountered this while validating https://github.com/apache/sling-org-apache-sling-starter/pull/73