{"record":{"id":"0c81b3e61591f41b","repo":"quarkusio/quarkus","slug":"classpath-resource-pompropspath-is-missing-versi","errorCode":null,"errorMessage":"Classpath resource <pomPropsPath> is missing version","messagePattern":"Classpath resource <pomPropsPath> is missing version","errorType":"exception","errorClass":"MojoExecutionException","httpStatus":null,"severity":"error","filePath":"devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java","lineNumber":1725,"sourceCode":"            throw new MojoExecutionException(\"Failed to locate \" + pomPropsPath + \" on the classpath\");\n        }\n        final Properties devModeProps = new Properties();\n        try (InputStream is = devModePomPropsIs) {\n            devModeProps.load(is);\n        } catch (IOException e) {\n            throw new MojoExecutionException(\"Failed to load \" + pomPropsPath + \" from the classpath\", e);\n        }\n        final String devModeGroupId = devModeProps.getProperty(\"groupId\");\n        if (devModeGroupId == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing groupId\");\n        }\n        final String devModeArtifactId = devModeProps.getProperty(\"artifactId\");\n        if (devModeArtifactId == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing artifactId\");\n        }\n        final String devModeVersion = devModeProps.getProperty(\"version\");\n        if (devModeVersion == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing version\");\n        }\n\n        final DefaultArtifact devModeJar = new DefaultArtifact(devModeGroupId, devModeArtifactId, ArtifactCoords.TYPE_JAR,\n                devModeVersion);\n        final DependencyResult cpRes = repoSystem.resolveDependencies(repoSession,\n                new DependencyRequest()\n                        .setCollectRequest(\n                                new CollectRequest()\n                                        // it doesn't matter what the root artifact is, it's an alias\n                                        .setRootArtifact(new DefaultArtifact(IO_QUARKUS, \"quarkus-devmode-alias\",\n                                                ArtifactCoords.TYPE_JAR, \"1.0\"))\n                                        .setManagedDependencies(getProjectAetherDependencyManagement())\n                                        .setDependencies(List.of(\n                                                new org.eclipse.aether.graph.Dependency(devModeJar, JavaScopes.RUNTIME),\n                                                new org.eclipse.aether.graph.Dependency(new DefaultArtifact(\n                                                        coreDeployment.getGroupId(), coreDeployment.getArtifactId(),\n                                                        coreDeployment.getClassifier(), coreDeployment.getType(),\n                                                        coreDeployment.getVersion()), JavaScopes.RUNTIME)))","sourceCodeStart":1707,"sourceCodeEnd":1743,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java#L1707-L1743","documentation":"DevMojo reads version from the quarkus-bootstrap-maven-resolver pom.properties and throws this MojoExecutionException if the version key is missing. The version is then used to construct the DefaultArtifact for the dev-mode jar, so it is mandatory.","triggerScenarios":"The pom.properties resource has groupId and artifactId but no `version` property — incomplete Maven metadata inside the resolver jar.","commonSituations":"Stripped or hand-modified pom.properties in a repackaged jar; corrupted artifact in local repository; mismatched plugin/jar versions after a partial upgrade.","solutions":["Remove io/quarkus/quarkus-bootstrap-maven-resolver from the local repo and re-resolve with -U","Reinstall the quarkus-maven-plugin at a version matching the platform BOM","Confirm pom.properties inside the jar lists groupId, artifactId and version"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"unzip -p <resolver.jar> META-INF/maven/io.quarkus/quarkus-bootstrap-maven-resolver/pom.properties\n# must contain groupId, artifactId and version lines","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Do not modify pom.properties inside jars","After partial upgrades, wipe and re-fetch affected io.quarkus artifacts","Use a single Quarkus version across plugin and dependencies"],"tags":["maven","classpath","artifact-metadata","dev-mode"],"backgroundTag":"missing-artifact-metadata","analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}