Using the aether jcabi tool, we simulate the Maven dependency tool to extract all transitive dependencies of a library dependency defined in the pom.xml.
Operation:
- Place pom.xml in the output folder.
- Run execute using getDeps as the main class.
- Ouput is in the output/libs folder. libraries.cvs shows direct dependencies, listing shows all the transitive dependencies.
Format for dependency is
libraries.csv --> filepath+"#"+Name+"#"+version+"#"+pomfilepath+"#"+scope
listing.csv --> dependencyFile+"#"+Name+"#"+version+"#"+GroupId+"#"+getArtifactId()