Skip to content

Commit f6d0c79

Browse files
pradithyafeast-ci-bot
authored andcommitted
Embed ui build & packaging into core's build (#106)
1 parent 8afabdc commit f6d0c79

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

core/pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,45 @@
3838
<groupId>org.xolstice.maven.plugins</groupId>
3939
<artifactId>protobuf-maven-plugin</artifactId>
4040
</plugin>
41+
<plugin>
42+
<groupId>com.github.eirslett</groupId>
43+
<artifactId>frontend-maven-plugin</artifactId>
44+
<version>1.6</version>
45+
<executions>
46+
<execution>
47+
<id>install node and yarn</id>
48+
<goals>
49+
<goal>install-node-and-yarn</goal>
50+
</goals>
51+
<phase>generate-resources</phase>
52+
</execution>
53+
<execution>
54+
<id>yarn install</id>
55+
<goals>
56+
<goal>yarn</goal>
57+
</goals>
58+
<configuration>
59+
<arguments>install</arguments>
60+
</configuration>
61+
</execution>
62+
<execution>
63+
<id>build</id>
64+
<goals>
65+
<goal>yarn</goal>
66+
</goals>
67+
<phase>compile</phase>
68+
<configuration>
69+
<arguments>run build</arguments>
70+
</configuration>
71+
</execution>
72+
</executions>
73+
<configuration>
74+
<nodeVersion>v9.9.0</nodeVersion>
75+
<yarnVersion>v1.13.0</yarnVersion>
76+
<workingDirectory>../ui</workingDirectory>
77+
<installDirectory>target</installDirectory>
78+
</configuration>
79+
</plugin>
4180
</plugins>
4281
</build>
4382

0 commit comments

Comments
 (0)