Commit e451f8f6 authored by Gerson SUNYE's avatar Gerson SUNYE

Correct bug in pom.xml: Node compilation is executed before its installation

parent 10313d83
......@@ -21,7 +21,7 @@
<configuration>
<workingDirectory>./</workingDirectory>
<nodeVersion>v14.11.0</nodeVersion>
<npmVersion>6.14.8</npmVersion>
<npmVersion>7.0.10</npmVersion>
</configuration>
<executions>
<execution>
......@@ -29,12 +29,17 @@
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-resources</phase>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
<phase>generate-resources</phase>
</execution>
<execution>
<id>npm run build</id>
......@@ -46,8 +51,8 @@
</configuration>
</execution>
<execution>
<id>code geneation</id>
<phase>generate-sources</phase>
<id>code generation</id>
<phase>compile</phase>
<goals>
<goal>npm</goal>
</goals>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment