Skip to content

Ensure taglets and indexer built first#225

Merged
gselzer merged 2 commits into
mainfrom
scijava-parent/reorder-build-components
May 20, 2024
Merged

Ensure taglets and indexer built first#225
gselzer merged 2 commits into
mainfrom
scijava-parent/reorder-build-components

Conversation

@gselzer
Copy link
Copy Markdown
Member

@gselzer gselzer commented May 20, 2024

This PR fixes errors where the implicit dependent libraries, like the SciJava Ops Indexer or SciJava Taglets, have not been built, or are old, and are not built before modules needing them in the build. In other words, the following two scenarios now work:

  1. Building e.g. the SciJava Ops Engine when the SciJava Ops Indexer has not yet been built locally (either due to a removal of the ~/.m2 folder or otherwise)
  2. Building e.g. the SciJava Ops Engine when the SciJava Ops Indexer has just been modified.

What does not work with this change is running e.g. mvn clean install -pl scijava-ops-engine -am when either (1) or (2), hold, as this change does not make the SciJava Ops Engine explicitly dependent upon the Indexer.

@gselzer gselzer added the bug label May 20, 2024
@gselzer gselzer requested a review from hinerm May 20, 2024 14:30
@gselzer gselzer self-assigned this May 20, 2024
@gselzer gselzer merged commit a3db039 into main May 20, 2024
@gselzer gselzer deleted the scijava-parent/reorder-build-components branch May 20, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant