Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should I config to specify the suffix of the download file? #1136

Open
brycehu129 opened this issue Mar 11, 2024 · 0 comments
Open

How should I config to specify the suffix of the download file? #1136

brycehu129 opened this issue Mar 11, 2024 · 0 comments

Comments

@brycehu129
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant