Repository navigation
Conversation
aplicacion-java-enunciado still asked for Java 17 while every pom in the
repository declares 25 and CI sets up a JDK 25. The container built fine,
which is why nothing caught it: it just handed you a JDK that cannot
compile the project it was made for.
The image family here was already the current one, so this is only the
tag: 3-25-bookworm, the same as the sibling in ejemplo-1. There is no
0-25 to move to; the 0- series stops at 17.
Two option values were strings where the feature declares booleans:
"installMaven": "true" -> true
"installGradle": "false" -> removed
installGradle was the riskier of the two. The option is a boolean with a
default of false, and a non-empty string is the kind of value that reads
as true depending on who parses it, so asking for no Gradle in quotes is
a worse way of saying nothing at all. Dropping it says the same thing and
cannot be misread.
installMaven stays: the project has no mvnw and no .mvn directory, so
without Maven in the container there is no way to build it.
The other two problems the sibling had are absent here: no top-level
settings or extensions keys, and no java.home pointing at the
/docker-java-home path that the current images do not have.
These are the only two devcontainers in the repository, and both are now
on the same image and the same feature configuration.
Not verified: nothing in CI builds a devcontainer, and I did not open
this one. The tag was checked against the MCR tag list and the option
names and types against the feature definition.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The first attempt of this run was red on That artifact does exist in Central — This is a side effect of the The likely remedy is Rerunning the one job passed, which is the signature of a cached absence rather than a build problem. |
parte_4/tema_4.2/aplicacion-java-enunciadowas the last place in the repository still asking for Java 17, after #3 moved every pom and the CI workflow to 25. The container built fine, which is why nothing caught it: it just handed you a JDK that cannot compile the project it was made for.The tag
The image family here was already the current one, so this is only the tag:
Same as the sibling in
ejemplo-1. There is no0-25to move to — that series stops at 17, checked against the MCR tag list.Two option values were strings where the feature wants booleans
installGradlewas the riskier of the two. The feature definition declares it as abooleanwith a default offalse, and a non-empty string is the kind of value that reads as true depending on who parses it — so asking for no Gradle in quotes is a worse way of saying nothing at all. Dropping it says the same thing and cannot be misread.installMavenstays, and it is not decoration: the project has nomvnwand no.mvndirectory, so without Maven in the container there is no way to build it.What the sibling had and this one does not
Worth saying explicitly, since it is what I went looking for: this file has no top-level
settingsorextensionskeys, and nojava.homepointing at/docker-java-home. Those wereejemplo-1's problems, not this one's. Nothing to fix there.These are the only two devcontainers in the repository, and both are now on the same image and the same feature configuration.
Verification
The container was not opened, and nothing in CI builds a devcontainer, so the matrix on this PR says nothing about this change — it only confirms the 86 Maven projects are unaffected. What was checked statically:
3-25-bookwormexists in the MCR tag list,0-25does not.version,installMavenandmavenVersionexist in the feature definition, with the types used here.name,image,features.