Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 843 Bytes

File metadata and controls

19 lines (10 loc) · 843 Bytes

Maven pom.xml

Maven projects use pom.xml files to declare dependencies and multi-project relationships.

In a multi-project maven structure, sub-projects usually inherit dependencies, or can reference other sub-projects as dependencies.

Project discovery

Do a complete directory traversal looking for files named pom.xml.

There's no guarantee that a maven pom will be called pom.xml. To accomodate for this, we use <relativePath> directives in <parent> declarations to include additional poms.

poms are linked together by their <parent> references into multi-project projects.

Analysis

Each project in the single- or multi-project structure has its pom information overlayed on top of parent poms, and a dependency graph is gathered from each project.

We have limited support for naive ${property} interpolation.