{"id":31769935,"url":"https://github.com/jfrog/maven-dep-tree","last_synced_at":"2025-10-10T02:55:49.397Z","repository":{"id":182503172,"uuid":"664294989","full_name":"jfrog/maven-dep-tree","owner":"jfrog","description":" Maven plugin that reads the Maven dependencies of a given Maven project, and generates a dependency tree. ","archived":false,"fork":false,"pushed_at":"2025-09-29T14:40:52.000Z","size":63,"stargazers_count":8,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-29T16:28:33.710Z","etag":null,"topics":["dependency-graph","dependency-tree","jfrog","jfrog-xray","maven","maven-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfrog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-09T14:31:21.000Z","updated_at":"2025-09-29T14:40:55.000Z","dependencies_parsed_at":"2024-05-20T12:35:33.126Z","dependency_job_id":"0a2d08aa-4348-4737-8a71-4579011195cb","html_url":"https://github.com/jfrog/maven-dep-tree","commit_stats":null,"previous_names":["jfrog/maven-dep-tree"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jfrog/maven-dep-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fmaven-dep-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fmaven-dep-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fmaven-dep-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fmaven-dep-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfrog","download_url":"https://codeload.github.com/jfrog/maven-dep-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fmaven-dep-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002527,"owners_count":26083403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependency-graph","dependency-tree","jfrog","jfrog-xray","maven","maven-plugin"],"created_at":"2025-10-10T02:55:45.964Z","updated_at":"2025-10-10T02:55:49.390Z","avatar_url":"https://github.com/jfrog.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Scanned by Frogbot](https://raw.github.com/jfrog/frogbot/master/images/frogbot-badge.svg)](https://github.com/jfrog/frogbot#readme)\n[![Test](https://github.com/jfrog/maven-dep-tree/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/jfrog/maven-dep-tree/actions/workflows/test.yml)\n\n# 🪶 Maven Dependency Tree\n\nThis Maven plugin reads the Maven dependencies of a given Maven project, and generates a dependency tree.\nThis package was developed by JFrog, and is used by [JFrog Frogbot](https://github.com/jfrog/frogbot)\nto generate the dependency tree for projects using Maven dependencies.\n\n## Table of Contents\n\n- [Usage](#-usage)\n    - [Tree](#-tree)\n        - [Output](#output)\n        - [Output Tree Structure](#output-tree-structure)\n    - [Project Info](#-project-info)\n        - [Output](#output-1)\n- [Contributions](#-contributions)\n\n## 🖥️ Usage\n\n### 🌲 Tree\n\nRun *tree* in a directory containing a pom.xml file. The plugin will generate a dependency tree for each subproject that\ncontains a pom.xml file.\n\nThe command:\n\n```bash\nmvn com.jfrog:maven-dep-tree:tree -DdepsTreeOutputFile=\u003cpath/to/output/file\u003e\n```\n\n#### Output:\n\n```\n\u003cpath/to/dependency/tree1\u003e\n\u003cpath/to/dependency/tree2\u003e\n...\n```\n\n#### Output Tree Structure:\n\n```json\n{\n  \"root\": \"org.jfrog.test:multi:3.7-SNAPSHOT\",\n  \"nodes\": {\n    \"junit:junit:3.8.1\": {\n      \"children\": [],\n      \"configurations\": [\n        \"test\"\n      ],\n      \"types\": [\n        \"jar\"\n      ]\n    },\n    \"org.jfrog.test:multi:3.7-SNAPSHOT\": {\n      \"children\": [\n        \"junit:junit:3.8.1\"\n      ],\n      \"configurations\": [],\n      \"types\": [\n        \"pom\"\n      ]\n    }\n  }\n}\n```\n\n### 🧐 Project Info\n\nRun *projects* in a directory containing a pom.xml file. The plugin will generate the project info for each subproject\nthat contains a pom.xml file.\n\nThe command:\n\n```bash\nmvn com.jfrog:maven-dep-tree:projects -q \n```\n\n#### Output:\n\n```sh\n{\"gav\":\"org.jfrog.test:multi:3.7-SNAPSHOT\",\"parentGav\":\"\",\"pomPath\":\"/path/to/maven-example/pom.xml\"}\n{\"gav\":\"org.jfrog.test:multi1:3.7-SNAPSHOT\",\"parentGav\":\"org.jfrog.test:multi:3.7-SNAPSHOT\",\"pomPath\":\"/path/to/maven-example/multi1/pom.xml\"}\n{\"gav\":\"org.jfrog.test:multi2:3.7-SNAPSHOT\",\"parentGav\":\"org.jfrog.test:multi:3.7-SNAPSHOT\",\"pomPath\":\"/path/to/maven-example/multi2/pom.xml\"}\n{\"gav\":\"org.jfrog.test:multi3:3.7-SNAPSHOT\",\"parentGav\":\"org.jfrog.test:multi:3.7-SNAPSHOT\",\"pomPath\":\"/path/to/maven-example/multi3/pom.xml\"}\n```\n\n## 💻 Contributions\n\nWe welcome pull requests from the community. To help us improve this project, please read\nour [contribution](./CONTRIBUTING.md#-guidelines) guide.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fmaven-dep-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfrog%2Fmaven-dep-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fmaven-dep-tree/lists"}