{"id":21259282,"url":"https://github.com/buijs-dev/maven-explicit-dependencies-plugin","last_synced_at":"2025-03-15T06:41:42.808Z","repository":{"id":240998176,"uuid":"792867814","full_name":"buijs-dev/maven-explicit-dependencies-plugin","owner":"buijs-dev","description":"Maven plugin to force transitive dependencies to be explicitly declared.","archived":false,"fork":false,"pushed_at":"2024-05-26T14:11:09.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T20:04:13.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buijs-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["buijs-dev"]}},"created_at":"2024-04-27T19:21:22.000Z","updated_at":"2024-05-26T14:10:50.000Z","dependencies_parsed_at":"2024-05-21T21:42:34.723Z","dependency_job_id":"367897ee-3f5c-431d-b8c0-223e656ebf37","html_url":"https://github.com/buijs-dev/maven-explicit-dependencies-plugin","commit_stats":null,"previous_names":["buijs-dev/maven-explicit-dependencies-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fmaven-explicit-dependencies-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fmaven-explicit-dependencies-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fmaven-explicit-dependencies-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fmaven-explicit-dependencies-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buijs-dev","download_url":"https://codeload.github.com/buijs-dev/maven-explicit-dependencies-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695513,"owners_count":20332626,"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","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":[],"created_at":"2024-11-21T04:13:28.892Z","updated_at":"2025-03-15T06:41:42.770Z","avatar_url":"https://github.com/buijs-dev.png","language":"Java","funding_links":["https://github.com/sponsors/buijs-dev"],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/Buijs-Software-blue)](https://pub.dev/publishers/buijs.dev/packages)\n[![CodeScene Code Health](https://codescene.io/projects/54076/status-badges/code-health)](https://codescene.io/projects/54076)\n[![codecov](https://codecov.io/gh/buijs-dev/maven-explicit-dependencies-plugin/graph/badge.svg?token=Bz9XcQYruX)](https://codecov.io/gh/buijs-dev/maven-explicit-dependencies-plugin)\n[![GitHub](https://img.shields.io/github/license/buijs-dev/maven-explicit-dependencies-plugin?color=black)](https://github.com/buijs-dev/maven-explicit-dependencies-plugin/blob/main/LICENSE)\n\n# maven-explicit-dependencies-plugin\nMaven plugin to force transitive dependencies to be explicitly declared.\n\n## Usage\nAdd the buijs-dev maven repository:\n```xml\n\u003cpluginRepositories\u003e\n    \u003cpluginRepository\u003e\n        \u003cid\u003ebuijs-dev\u003c/id\u003e\n        \u003curl\u003ehttps://repsy.io/mvn/buijs-dev/maven\u003c/url\u003e\n    \u003c/pluginRepository\u003e\n\u003c/pluginRepositories\u003e\n```\n\nAdd the plugin:\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003edev.buijs.maven\u003c/groupId\u003e\n    \u003cartifactId\u003eexplicit-dependencies-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/plugin\u003e\n```\n\nThe plugin can be executed after configuration:\n\n```shell\nmvn explicit-dependencies:compile\n```\n\nMinimal configuration:\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003edev.buijs.maven\u003c/groupId\u003e\n    \u003cartifactId\u003eexplicit-dependencies-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/plugin\u003e\n```\n\nAdd an execution goal to automatically execute the plugin during\nthe compilation:\n\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003edev.buijs.maven\u003c/groupId\u003e\n    \u003cartifactId\u003eexplicit-dependencies-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003cexecutions\u003e\n        \u003cexecution\u003e\n            \u003cgoals\u003e\n                \u003cgoal\u003ecompile\u003c/goal\u003e\n            \u003c/goals\u003e\n        \u003c/execution\u003e\n    \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n\nSet the force option false to let compilation continue when the plugin has errors.\n\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003edev.buijs.maven\u003c/groupId\u003e\n    \u003cartifactId\u003eexplicit-dependencies-maven-plugin\u003c/artifactId\u003e\n    ...\n    \u003cconfiguration\u003e\n        \u003cforce\u003efalse\u003c/force\u003e\n    \u003c/configuration\u003e\n\u003c/plugin\u003e\n```\n\nLog output is available in target/maven-explicit-dependencies directory:\n- dependencies.json (all explicitly added dependencies)\n- dependenciesMissing.json (all transitive dependencies that are not explicitly added)\n- dependencyTree.txt (compiled dependency-tree)\n- dependencyTreeFlattened.json (all dependencies which should be explicitly added)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fmaven-explicit-dependencies-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuijs-dev%2Fmaven-explicit-dependencies-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fmaven-explicit-dependencies-plugin/lists"}