dashboard-ui maven plugins errors happen
Opened this issue · 0 comments
zhjdotxmsme commented
Using frontend-maven-plugin to install node and npm happens error :
The parameters 'nodeVersion' for goal com.github.eirslett:frontend-maven-plugin:1.12.1:install-node-and-npm are missing or invalid
Maybe it is a bug of this plugins, to fix by changing plugins configuration from:
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v14.19.0</nodeVersion>
</configuration>
</execution>
to nodeVersion in global configuration
<plugins>
<plugin>
<configuration>
<nodeVersion>v14.19.0</nodeVersion>
</configuration>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>