frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

Maven proxy settings are incorrectly passed to yarn

Open Borewit opened this issue 6 years ago • 6 comments

Version 1.6

Relates to issue #660

frontend-maven-plugin calls yarn with:

yarn run build-prod --https-proxy=http://proxy:8080 --proxy=proxy:8080

Causing:

[ERROR] Unknown option: '--https-proxy'
[ERROR] Unknown option: '--proxy'

I think it should be:

yarn --https-proxy=http://proxy:8080 --proxy=proxy:8080 run build-prod

Borewit avatar Feb 14 '19 14:02 Borewit

same bug for npm

OldIMP avatar Oct 08 '19 09:10 OldIMP

Do we have any update on this issue?

phuongnq avatar Jan 22 '20 06:01 phuongnq

It's resolved in version 1.12.0

mshepel avatar Sep 08 '21 13:09 mshepel

There is the same problem with npm but 1.12.0 seems to be already bad

neloman3 avatar Sep 10 '21 07:09 neloman3

It's resolved in version 1.12.0

grafik

It is not - and the PR is also still open. @eirslett any means to fix this issue from the plugin side?

OmarHawk avatar Feb 16 '22 10:02 OmarHawk

problem also exists in version 1.12.1. Would be great to have a solution for this. Screenshot 2022-03-07 at 16 51 26

gstolz avatar Mar 07 '22 15:03 gstolz