-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
80 lines (79 loc) · 3.29 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mycore.website</groupId>
<artifactId>mycore-website</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>MyCoRe Website</name>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.15.0</version>
<configuration>
<!-- override node version of mycore parent which is stuck on 16.x -->
<nodeVersion>v20.11.0</nodeVersion>
<yarnVersion>v1.22.22</yarnVersion>
<installDirectory>${settings.localRepository}/node-yarn-v20.11.0-v1.22.22</installDirectory>
</configuration>
<executions>
<execution>
<id>yarn-download-for-clean</id>
<phase>pre-clean</phase>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
</execution>
<execution>
<id>yarn-download</id>
<phase>generate-sources</phase>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
</execution>
<execution>
<id>yarn-install-for-clean</id>
<phase>pre-clean</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>yarn-install</id>
<phase>generate-sources</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>yarn-build</id>
<phase>compile</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>build</arguments>
</configuration>
</execution>
<execution>
<id>yarn-clean</id>
<phase>clean</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>clean</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>