features/test/java/scenarios.json
etienne-chrp be4f0498e4
Add Gradle and Maven version parameters to Java (#263)
* Refactor java feature tests grep syntax

The grep with pipe syntax was creating problems with the check helper

Change them in favour of process substitution syntax

* Fix java feature tests about java version

Java 18 is not available anymore in SDKMAN

Some tests asserts were generating false positives

* Add Gradle and Maven version parameters to Java
2022-11-16 16:46:30 -08:00

57 lines
1.4 KiB
JSON

{
"install_from_non_default_distro": {
"image": "ubuntu:focal",
"features": {
"java": {
"version": "11",
"jdkDistro": "open"
}
}
},
"install_additional_java": {
"image": "ubuntu:focal",
"features": {
"java": {
"version": "11",
"additionalVersions": "17,8"
}
}
},
"install_gradle_and_maven_for_user": {
"image": "ubuntu:focal",
"remoteUser": "vscode",
"features": {
"common-utils": {
"username": "vscode"
},
"java": {
"version": "latest",
"installGradle": true,
"installMaven": true
}
}
},
"install_gradle_and_maven": {
"image": "ubuntu:focal",
"features": {
"java": {
"version": "latest",
"installGradle": true,
"installMaven": true
}
}
},
"install_gradle_and_maven_with_specific_version": {
"image": "ubuntu:focal",
"features": {
"java": {
"version": "latest",
"installGradle": "true",
"gradleVersion": "6.8.3",
"installMaven": "true",
"mavenVersion": "3.6.3"
}
}
}
}