-
Notifications
You must be signed in to change notification settings - Fork 877
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
support for downloading node or npm binaries from Nexus repository #413
Comments
The reason you cannot set a full URL is that it wouldn't be cross-platform compatible. As you can see on nodejs.org, there are separate URLs for Windows, Linux and OS X. |
i already do this..nexus can mirror node and npm itself are not as easy. what i have done is create |
Hi @jgangemi , can I have example(screenshot) for setting proxy in @pom.xml and path for uploaded binaries (folder) structure in nexus. |
How do you configure the plugin so that yarn pulls dependencies from Nexus? My company has Nexus setup to mirror npm, but I can't figure out how to configure the plugin so that it configures yarn to pull from the Nexus server. |
We are fetching node/npm binaries from nexus using maven-dependency-plugin and then installing them in local repository using maven-install-plugin plugin. After that we invoke frontend plugin goal install-node-and-npm. Works like a charm. I also think it is possible to fetch npm modules from nexus by configure npm itself using. |
it would be nice if a direct url could be supported. there are ways in maven to ensure the proper binary is selected. |
PR #330 was awesome and I know that this feature was discussed in the same thread(pushing NPM and Node binaries to Maven Central and making the plugin to fetch the binaries from the Maven repositories instead of using the NPM or Node download URLs)
Is this still being considered? If you think uploading all versions of node/npm to central will be a pain, could you please provide an optional parameter to configure the download URL, something like
and replace the variables at runtime to figure out the actual download URL
This would help in fetching the binaries from a private Nexus repo/or any other kind of repository.
If you are ok with either of the options, I can raise a PR for the same 😄
The text was updated successfully, but these errors were encountered: