Execute Apache Maven commands on projects recursively in dependency order.
- Python Simple Directed Acyclic Graph: py-sdag
- Install py-dag if not has be installed;
- Install and configure Apache Maven;
- Define the
M2_HOME
andJAVA_HOME
enviroment variables if not be defined; - Clone this repo in your enviroment, execute
cd py-mvnr.git
andpython setup.py install
.
tests_resources/projects_root
proj-a/
pom.xml
proj-b/
pom.xml {
dependencies:
groupId:proj-c-sub-b:$project.version
}
proj-c/
pom.xml
proj-c-sub-a/
pom.xml {
dependencies:
groupId:proj-c-sub-b:$project.version
groupId:proj-a:1.0-SNAPSHOT
}
proj-c-sub-b
pom.xml {
dependencies:
groupId:proj-a:1.0-SNAPSHOT
}
- groupId:proj-a:version
- groupId:proj-c-b:version
- groupId:proj-c-a:version
- groupId:proj-b:version
cd tests_resources
mvnr clean install