<!-- The runway-spi (and runway-spi-testkit) version this plugin compiles and tests against, from ~/.m2. -->
<runway.version>1.0.0</runway.version>
<!-- The search plugin this engine compiles against, `provided` from ~/.m2 (install it first:
`mvn -o -DskipTests install` in ../search — the verify script does). plugin.yml declares
`search >= 2.2.0` (3.2.0: the box submits to the results page in its page's language, so a
language's index is reached); 2.1.0 was the first whose SearchHit carries the matched words (the
constructor this engine calls), and an older search does not compile this plugin. Provided, never bundled: a second copy of the search SPI classes would break by-type lookup. -->
<search.version>2.3.0</search.version>
<!-- The EXACT Lucene version this plugin is compiled against; lucene-provider must ship the same one
(plugin.yml pins `lucene-provider == 10.4.0`). Keep these two in lock-step. -->
<lucene.version>10.4.0</lucene.version>
</properties>
<dependencies>
<!-- The dependency-free extension API (SPI interfaces, services and immutable model records). -->
<dependency>
<groupId>mx.quest</groupId>
<artifactId>runway-spi</artifactId>
<version>${runway.version}</version>
</dependency>
<!-- NO runway-app dependency, in any scope: the plugin links only the SPI, so a host
import no longer compiles and the kernel's host-linkage scanner finds nothing to report. -->
<dependency>
<groupId>mx.quest</groupId>
<artifactId>runway-spi-testkit</artifactId>
<version>${runway.version}</version>
<scope>test</scope>
</dependency>
<!-- The `search` plugin publishes the SiteSearchEngine SPI this plugin implements and the SearchCorpus it
indexes. Compile-only: at runtime the shared plugin classloader supplies search's classes (both
plugin jars load into ONE classloader, so the SPI has one Class identity), and `requires: search`
in plugin.yml makes it a HARD load gate. `provided` from ~/.m2 (install ../search first), and never
bundled: the assembly below copies this plugin's own jar only. -->
<dependency>
<groupId>mx.quest</groupId>
<artifactId>runway-plugin-search</artifactId>
<version>${search.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<scope>provided</scope>
</dependency>
<!-- Lucene — supplied at RUNTIME by the lucene-provider plugin on the shared classloader. PROVIDED here:
compile-only, never bundled into this plugin's own lib/ (that would be a second copy on the shared
classloader). requires: lucene-provider == 10.4.0 in plugin.yml guarantees the exact binaries. -->
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${lucene.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analysis-common</artifactId>
<version>${lucene.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-highlighter</artifactId>
<version>${lucene.version}</version>
<scope>provided</scope>
</dependency>
<!-- Tests DO run the real Lucene: at test time it must be on the classpath, so the same jars come in as
`test` scope too (provided is not visible to the test classpath on its own). These are the exact
10.4.0 artifacts lucene-provider ships, so the tests exercise the runtime binaries faithfully. -->