Skip to content

Commit ee6b691

Browse files
author
Simon Sendler
committed
build: build frontend assets through maven
1 parent a2d3ea6 commit ee6b691

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

module-gui/pom.xml

+36
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,42 @@
88
<artifactId>plugin-step-transcription-gui</artifactId>
99
<packaging>jar</packaging>
1010
<build>
11+
<plugins>
12+
<plugin>
13+
<groupId>com.github.eirslett</groupId>
14+
<artifactId>frontend-maven-plugin</artifactId>
15+
<version>1.15.0</version>
16+
<executions>
17+
<execution>
18+
<id>Install node and npm</id>
19+
<goals>
20+
<goal>install-node-and-npm</goal>
21+
</goals>
22+
</execution>
23+
<execution>
24+
<id>npm install</id>
25+
<goals>
26+
<goal>npm</goal>
27+
</goals>
28+
</execution>
29+
<execution>
30+
<id>npm run build</id>
31+
<goals>
32+
<goal>npm</goal>
33+
</goals>
34+
<configuration>
35+
<arguments>run build</arguments>
36+
</configuration>
37+
</execution>
38+
</executions>
39+
<configuration>
40+
<nodeVersion>v21.2.0</nodeVersion>
41+
<npmVersion>10.2.3</npmVersion>
42+
<workingDirectory>src/main/webapp/</workingDirectory>
43+
<installDirectory>target</installDirectory>
44+
</configuration>
45+
</plugin>
46+
</plugins>
1147
<resources>
1248
<resource>
1349
<targetPath>META-INF/resources</targetPath>

0 commit comments

Comments
 (0)