|
@ -1,6 +1,4 @@ |
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
|
|
|
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
<parent> |
|
|
<parent> |
|
|
<groupId>org.springframework.boot</groupId> |
|
|
<groupId>org.springframework.boot</groupId> |
|
@ -134,6 +132,64 @@ |
|
|
<groupId>org.springframework.boot</groupId> |
|
|
<groupId>org.springframework.boot</groupId> |
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
</plugin> |
|
|
</plugin> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>com.github.eirslett</groupId> |
|
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId> |
|
|
|
|
|
<!-- Use the latest released version: |
|
|
|
|
|
https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
|
|
|
|
|
<version>1.9.1</version> |
|
|
|
|
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
<workingDirectory>src/main/javascript/</workingDirectory> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>install node and yarn</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>install-node-and-yarn</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<!-- See https://nodejs.org/en/download/ for latest node and npm (lts) versions --> |
|
|
|
|
|
<nodeVersion>v12.10.0</nodeVersion> |
|
|
|
|
|
<yarnVersion>v1.21.1</yarnVersion> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>yarn install</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>yarn</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>watch</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>yarn</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<phase>none</phase> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<arguments>run watch</arguments> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>grunt browserify</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>grunt</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
|
|
|
|
<!-- optional: the default phase is "generate-resources" --> |
|
|
|
|
|
<phase>generate-resources</phase> |
|
|
|
|
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
<!-- optional: if not specified, it will run Grunt's default |
|
|
|
|
|
task (and you can remove this whole <configuration> section.) --> |
|
|
|
|
|
<arguments>browserify</arguments> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
</plugins> |
|
|
</plugins> |
|
|
</build> |
|
|
</build> |
|
|
|
|
|
|