68 lines
2.3 KiB
XML
68 lines
2.3 KiB
XML
|
<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>
|
||
|
<parent>
|
||
|
<groupId>org.gcube.information-system</groupId>
|
||
|
<artifactId>is-monitor</artifactId>
|
||
|
<version>1.0.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<artifactId>is-monitor-frontend</artifactId>
|
||
|
<name>IS Monitor Frontend</name>
|
||
|
<description>IS Monitor Frontend</description>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<!-- https://github.com/eirslett/frontend-maven-plugin -->
|
||
|
<groupId>com.github.eirslett</groupId>
|
||
|
<artifactId>frontend-maven-plugin</artifactId>
|
||
|
<version>1.8.0</version>
|
||
|
<configuration>
|
||
|
<nodeVersion>v10.15.2</nodeVersion>
|
||
|
<npmVersion>5.8.0</npmVersion>
|
||
|
|
||
|
<!-- optional: where to download node from. -->
|
||
|
<!-- Defaults to https://nodejs.org/dist/ -->
|
||
|
<!-- downloadRoot>http://node.d4science.net/nodejs/</downloadRoot -->
|
||
|
|
||
|
<!-- optional: where to download npm from. -->
|
||
|
<!-- Defaults to https://registry.npmjs.org/npm/-/ -->
|
||
|
<!-- npmDownloadRoot>https://myproxy.example.org/npm/</npmDownloadRoot -->
|
||
|
<!-- You can use Nexus repository Manager to proxy npm registries. -->
|
||
|
<!-- See https://help.sonatype.com/display/NXRM3/Npm+Registry -->
|
||
|
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<!-- optional: you don't really need execution ids, -->
|
||
|
<!-- but it looks nice in your build log. -->
|
||
|
<id>install node and npm</id>
|
||
|
<goals>
|
||
|
<goal>install-node-and-npm</goal>
|
||
|
</goals>
|
||
|
<!-- optional: default phase is "generate-resources" -->
|
||
|
<!-- phase>generate-resources</phase -->
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>npm install</id>
|
||
|
<goals>
|
||
|
<goal>npm</goal>
|
||
|
</goals>
|
||
|
|
||
|
<!-- optional: default phase is "generate-resources" -->
|
||
|
<phase>generate-resources</phase>
|
||
|
|
||
|
<configuration>
|
||
|
<!-- optional: The default argument is actually "install", so unless
|
||
|
you need to run some other npm command, you can remove this whole <configuration>
|
||
|
section. -->
|
||
|
<arguments>install</arguments>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|