-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Describe the bug
'Gauge init java_maven' project does not create pom.xml that works correctly in VSCode
To Reproduce
- Create a initial Java + Maven (pom.xml) Gauge test project
gauge init java_maven
-
Open the project in VSCode
-
Spec is not executed when 'Run' in spec but the command runs indefinitely. The project needs to be reloaded.
pom.xml contains old versions for:
- maven-compiler-plugin
- gauge-maven-plugin
- gauge-java
Logs
Problems:
Build path specifies execution environment JavaSE-11. There are no JREs installed in the workspace that are strictly compatible with this environment.
The compiler compliance specified is 11 but a JRE 17 is used
Run in spec:
Running tool: -q clean compile test-compile gauge:execute -Dflags=--hide-suggestion,--simple-console -DspecsDir=specs\example.spec:21
Notifications
Error calculating project classpath. ,,'undefined' is not recognized as an internal or external command, operable program or batch file.
Additional context
gauge --version
Gauge version: 1.6.13
Commit Hash: 706e32a
Plugins
dotnet (0.7.4)
html-report (4.3.1)
java (0.11.2)
python (0.4.6)
reportportal (1.17.0)
screenshot (0.3.0)
xml-report (0.5.1)
VSCode
Version: 1.97.2
Commit: e54c774e0add60467559eb0d1e229c6452cf8447
Date: 2025-02-12T23:20:35.343Z
Electron: 32.2.7
ElectronBuildId: 10982180
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045
'Extension Pack for Java'
Identifier
vscjava.vscode-java-pack
Version
0.29.0
Last Updated
2025-02-17, 10:22:21