Build tooling
Maven dependencyManagement
Provides managed dependency metadata without introducing dependencies by itself. Static Maven 3 example; Maven execution unverified.
Formal Syntax & Structure
java syntaxjava
<dependencyManagement> ... </dependencyManagement>Working Example
Example Snippetjava
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>example.bytemind</groupId> <artifactId>warehouse-parent</artifactId> <version>1.0.0</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>warehouse-app</artifactId> <dependencies> <dependency> <groupId>example.bytemind</groupId> <artifactId>warehouse-core</artifactId> </dependency> </dependencies></project>