1From ad687709cfca51603264ff565f296cfb5dceb15a Mon Sep 17 00:00:00 2001
2From: Luke Bailey <baileylu@tcd.ie>
3Date: Wed, 19 Mar 2025 22:25:44 +0000
4Subject: [PATCH] Swap out frontend maven plugin which downloads npm
5 for fetching it through nix instead
6
7---
8 web-bundle/pom.xml | 31 -------------------------------
9 1 file changed, 31 deletions(-)
10
11diff --git a/web-bundle/pom.xml b/web-bundle/pom.xml
12index 9a4d83b62..1d995cbaf 100644
13--- a/web-bundle/pom.xml
14+++ b/web-bundle/pom.xml
15@@ -129,37 +129,6 @@
16
17 <build>
18 <plugins>
19- <plugin>
20- <groupId>com.github.eirslett</groupId>
21- <artifactId>frontend-maven-plugin</artifactId>
22- <version>1.12.1</version>
23- <executions>
24- <execution>
25- <id>install node and npm</id>
26- <goals>
27- <goal>install-node-and-npm</goal>
28- </goals>
29- <configuration>
30- <nodeVersion>v20.14.0</nodeVersion>
31- <npmVersion>10.7.0</npmVersion>
32- </configuration>
33- </execution>
34- <execution>
35- <id>download graphhopper maps</id>
36- <phase>generate-resources</phase>
37- <goals>
38- <goal>npm</goal>
39- </goals>
40- <configuration>
41- <!--suppress UnresolvedMavenProperty (IntelliJ shows an error otherwise...)-->
42- <arguments>
43- pack --pack-destination=${basedir}/target
44- @graphhopper/graphhopper-maps-bundle@${graphhopper-maps.version}
45- </arguments>
46- </configuration>
47- </execution>
48- </executions>
49- </plugin>
50 <plugin>
51 <artifactId>maven-antrun-plugin</artifactId>
52 <executions>
53--
542.48.1
55