frontend-maven-plugin
frontend-maven-plugin copied to clipboard
How should I config to specify the suffix of the download file?
This is my config. The url after every execution is end with "gz", like "xxx/node-v18.19.0-linux-x64.tar.gz".How should I config to download file with the suffix "xz" ?
<plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <version>1.6</version> <executions> <!-- Install our node and npm version to run npm/node scripts--> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> <configuration> <nodeVersion>v18.19.0</nodeVersion> <npmVersion>10.3.0</npmVersion> <nodeDownloadRoot>${downloadDir}</nodeDownloadRoot> <workingDirectory>${basedir}/src/client</workingDirectory> </configuration> </execution> <execution> <id>npm install</id> <goals> <goal>npm</goal> </goals> <phase>generate-resources</phase> <configuration> <arguments>install</arguments> <workingDirectory>${basedir}/src/client</workingDirectory> </configuration> </execution> <execution> <id>npm run build</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run build</arguments> <workingDirectory>${basedir}/src/client</workingDirectory> </configuration> </execution> </executions> </plugin>