GHA: Building the module list fails when adding new modules #9271
Labels
area/build
Marks an issue as related to our build pipeline (e.g. Maven settings, CI, etc.)
kind/toil
Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
version:8.1.0-alpha2
version:8.1.0
Marks an issue as being completely or in parts released in 8.1.0
As seen here: #9258
When a new module was added and introduced as a dependency, maven refuses to return the list of modules because it needs to resolve the dependency but can't find it in the maven repository.
To fix this we could simply
mvn install
before asking maven for the module list, but since this issue (missing mvn install) has come up a number of times and it would slow down the entire pipeline by an additional minute or so, we can also look at other solutions:mvn install
firstmvn install
once and makes the built artifacts available to all other jobs, see [SPIKE] [WIP] Refactor Elasticsearch Exporter tests #9258 (comment)The text was updated successfully, but these errors were encountered: