-
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 of Modern Yarn (Yarn 2+) #1126
Comments
I think it's at least partially supported. In the readme it states:
Got added in https://github.com/eirslett/frontend-maven-plugin/pull/1012/files |
@123Haynes thx for you answer but I didn't get why Jenkins project seems to say it is missing something for full support :
(Note that #1012 seems very older than jenkinsci/jenkins#5824) 🤔 |
Yarn 2, 3, 4 work perfectly fine. You just need to include executable into repository, so simply install classic yarn with maven-frontend-plugin and run yarn commands. The problem that jenkins team is referencing is support for corepack distribution model, where you don't need to ship yarn berry executable inside of your repo. Yarn 4 switched to corepack by default. |
Hi,
I'm currently using this maven plugin with
classic-yarn
and this works well. 👍Sooner or later, I consider to migrate to modern yarn (currently Yarn 4).
But it is not clear to me if this project support it (partially or fully).
I see this could work #928 but it seems that some are using workaround (jenkinsci/jenkins#5824 (comment))
So what is the current status ? and is there any plan about this ?
Thx 🙏
The text was updated successfully, but these errors were encountered: