Skip to content

Commit 3ed526a

Browse files
committed
build: fix maven build after updating Angular to version 15
* In the maven pom.xml file node version upgraded, npm version upgraded and temporarily added parameter --legacy-peer-deps to npm install.
1 parent ddf3e3c commit 3ed526a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<artifactId>frontend-maven-plugin</artifactId>
2323
<version>${frontend-plugin.version}</version>
2424
<configuration>
25-
<nodeVersion>v15.5.1</nodeVersion>
26-
<npmVersion>7.19.0</npmVersion>
25+
<nodeVersion>v18.15.0</nodeVersion>
26+
<npmVersion>9.5.0</npmVersion>
2727
<workingDirectory>src/main/web/</workingDirectory>
2828
</configuration>
2929
<executions>
@@ -38,6 +38,9 @@
3838
<goals>
3939
<goal>npm</goal>
4040
</goals>
41+
<configuration>
42+
<arguments>install --legacy-peer-deps</arguments>
43+
</configuration>
4144
</execution>
4245
<execution>
4346
<id>admin-gui</id>

0 commit comments

Comments
 (0)