Some checks failed
Build and publish Docker image / Build and push (push) Failing after 1m27s
Java 21 / Spring Boot 3.5.3 multi-module Maven project. Hybrid BM25+HNSW search with RRF, cross-encoder reranker, ONNX Runtime 1.22.0 (CPU + CUDA 12 GPU variants).
64 lines
2.8 KiB
XML
64 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>com.trueref</groupId>
|
|
<artifactId>trueref-parent</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>trueref-frontend</artifactId>
|
|
<name>trueref-frontend</name>
|
|
<description>SvelteKit static UI built with frontend-maven-plugin and packaged as a resource jar.</description>
|
|
<packaging>jar</packaging>
|
|
|
|
<build>
|
|
<resources>
|
|
<!-- Point directly at the SvelteKit build output so resources:resources
|
|
(bound to process-resources) finds the files that npm-build already
|
|
created in generate-resources. The intermediate copy-frontend-build
|
|
step used target/frontend-dist as the resource directory, but that
|
|
directory is only populated later in process-resources, causing an
|
|
empty JAR on clean builds. -->
|
|
<resource>
|
|
<directory>web/build</directory>
|
|
<targetPath>static</targetPath>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<configuration>
|
|
<workingDirectory>web</workingDirectory>
|
|
<installDirectory>${project.build.directory}</installDirectory>
|
|
<nodeVersion>${node.version}</nodeVersion>
|
|
<npmVersion>${npm.version}</npmVersion>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>install-node-and-npm</id>
|
|
<goals><goal>install-node-and-npm</goal></goals>
|
|
<phase>generate-resources</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>npm-install</id>
|
|
<goals><goal>npm</goal></goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration><arguments>install</arguments></configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm-build</id>
|
|
<goals><goal>npm</goal></goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration><arguments>run build</arguments></configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|