You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HV-1549 Use mvn install instead of mvn verify in the Travis build
'mvn verify' is theoretically the way to go, but in practice it leads to
some issues.
In particular, Maven plugins that need to retrieve artifacts (such as
those used to add our modules to the WildFly server) usually don't know
about the artifacts packaged during the current build, and they end up
looking for the required artifacts in the local Maven repository.
If we use 'mvn verify', the artifacts used for testing will then be
retrieved from a remote repository, and we'll end up executing WildFly
ITs against a nightly build...
Using 'mvn install' solves the issue by populating the local repository
with the version currently being built.
Also, this commit adds a 'before_cache' operation to avoid dirtying the
cache with the artifacts currently being built.
0 commit comments