Read a pom.xml: what each scope really does, properties substituted into versions, and which managed entries nothing actually declares.
Waiting for a pom.xml
Nothing is uploaded. Paste the file, or load an example.
Scope is the field that decides whether your code compiles and then still runs. provided is on the compile classpath and absent at runtime, so a mistake there builds cleanly and throws NoClassDefFoundError in production. Each dependency here is labelled with what its scope actually does rather than with the word alone.
Paste a pom.xml to see what it declares and how far each dependency can move.
This reads one pom. It does not run Maven, resolve the effective pom, follow the parent chain, download anything or compute the dependency tree — so transitive dependencies, inherited scopes and conflict mediation are all outside what it can see. Properties are substituted only from this file’s own <properties> block.
Maven pom.xml Inspector runs entirely on your device — your pom.xml is parsed in your browser and nothing is sent to Maven Central
You’re on the Free plan. Compare plans
Scope is the field that decides whether your code compiles and then still runs. provided is on the compile classpath and absent at runtime, so a mistake there builds cleanly and throws NoClassDefFoundError in production. runtime is the reverse. Each dependency is labelled with what its scope does rather than with the word alone.
dependencyManagement is the most misread section in a Maven build. Entries there declare nothing — they only fix the version a matching dependency will get if one exists somewhere. A managed entry with no declaration anywhere in the file is inert, and people reach for it to add a dependency and then wonder why the class is not on the classpath.
Properties are substituted, because a pom that reads ${spring.version} tells you nothing until they are. A reference with no matching property is reported as a finding rather than left in place: Maven fails the build on it, and seeing it here costs less than seeing it in CI.
Because it compiles and does not ship. The class is on the compile classpath, so your code builds; it is absent at runtime, so the first call fails with NoClassDefFoundError. The gap between those two moments is usually a deployment.
No. It fixes the version that a matching <dependency> will use. Without that declaration — in this pom or in a child module — the entry does nothing at all, which is the single most common misunderstanding about Maven.
No. Maven merges the parent chain, profiles and plugin configuration at build time, and none of that happens here. Run mvn help:effective-pom for the merged result and mvn dependency:tree for the resolved graph.
No. Transitive resolution needs every dependency's own pom, which means the network. This reads what your file declares, which is the part you can change.
Because ${spring.version} is not a version, and a reader comparing two poms needs the values. The raw text is still visible in the properties view, and an unresolvable reference is reported rather than silently printed.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab