Commit e451f8f6 authored by Gerson SUNYE's avatar Gerson SUNYE

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

parent 10313d83
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>not-alone</artifactId> <artifactId>not-alone</artifactId>
<groupId>fr.univnantes.alma</groupId> <groupId>fr.univnantes.alma</groupId>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<configuration> <configuration>
<workingDirectory>./</workingDirectory> <workingDirectory>./</workingDirectory>
<nodeVersion>v14.11.0</nodeVersion> <nodeVersion>v14.11.0</nodeVersion>
<npmVersion>6.14.8</npmVersion> <npmVersion>7.0.10</npmVersion>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
...@@ -29,12 +29,17 @@ ...@@ -29,12 +29,17 @@
<goals> <goals>
<goal>install-node-and-npm</goal> <goal>install-node-and-npm</goal>
</goals> </goals>
<phase>generate-resources</phase>
</execution> </execution>
<execution> <execution>
<id>npm install</id> <id>npm install</id>
<goals> <goals>
<goal>npm</goal> <goal>npm</goal>
</goals> </goals>
<configuration>
<arguments>install</arguments>
</configuration>
<phase>generate-resources</phase>
</execution> </execution>
<execution> <execution>
<id>npm run build</id> <id>npm run build</id>
...@@ -46,11 +51,11 @@ ...@@ -46,11 +51,11 @@
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>code geneation</id> <id>code generation</id>
<phase>generate-sources</phase> <phase>compile</phase>
<goals> <goals>
<goal>npm</goal> <goal>npm</goal>
</goals> </goals>
<configuration> <configuration>
<arguments>run codegen</arguments> <arguments>run codegen</arguments>
</configuration> </configuration>
......
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