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

Wrong command computation with maven using remote containers #563

Open
Alvise88 opened this issue Jan 17, 2021 · 2 comments
Open

Wrong command computation with maven using remote containers #563

Alvise88 opened this issue Jan 17, 2021 · 2 comments

Comments

@Alvise88
Copy link

Alvise88 commented Jan 17, 2021

Gauge with maven doesn't work in container.
When you click Run Spec or Debug spec the resulting command is:

Running tool: -q clean compile test-compile gauge:execute -Dflags=--hide-suggestion,--simple-console -DspecsDir=specs\example.spec

I think the problem is related with cli.ts in getCommand

example-project

@BugDiver
Copy link
Member

@Alvise88 I see that the project usage maven wrapper, I'm afraid currently this plugin does not support maven wrapper.
As a workaround please make sure the maven is installed globally in the container. Meanwhile we will try to add support for maven wrapper.

@Alvise88
Copy link
Author

I confirm this plugin works installing maven globally; if you use the "default" java Dockerfile provided by Microsoft it doesn't work.
The maven wrapper was added for different reason: visual studio maven plugin doesn't recognise maven path using the "default" java Dockerfile.

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

No branches or pull requests

2 participants