{"id":19463745,"url":"https://github.com/adamko-dev/vcs-mvn-publish","last_synced_at":"2026-06-12T18:31:56.830Z","repository":{"id":65235381,"uuid":"550087191","full_name":"adamko-dev/vcs-mvn-publish","owner":"adamko-dev","description":"A Gradle plugin for publishing Maven release to a Git branch - quick and easy Maven hosting","archived":false,"fork":false,"pushed_at":"2023-01-14T19:49:00.000Z","size":829,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T13:29:34.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/adamko-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-12T07:25:45.000Z","updated_at":"2023-12-11T16:25:22.000Z","dependencies_parsed_at":"2023-01-15T18:45:15.620Z","dependency_job_id":null,"html_url":"https://github.com/adamko-dev/vcs-mvn-publish","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/adamko-dev/vcs-mvn-publish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamko-dev%2Fvcs-mvn-publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamko-dev%2Fvcs-mvn-publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamko-dev%2Fvcs-mvn-publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamko-dev%2Fvcs-mvn-publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamko-dev","download_url":"https://codeload.github.com/adamko-dev/vcs-mvn-publish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamko-dev%2Fvcs-mvn-publish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34258365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-11-10T18:12:01.941Z","updated_at":"2026-06-12T18:31:56.812Z","avatar_url":"https://github.com/adamko-dev.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `vcs-mvn-publish`\n\nPublish Maven artifacts to a Git repository. \n\nArtifacts are published to a separate branch, so development branches remain clean.\n\nSimpler than figuring out publishing to Maven Central!\n\n### Status\n\n`vcs-mvn-publish` is a proof-of-concept. There are no tests. Use at your own risk.\n\n### Quick start\n\nFirst, set up a regular Gradle project, and configure the \n[Maven Publish Plugin](https://docs.gradle.org/current/userguide/publishing_maven.html).\n\nNext, add the `vcs-mvn-publish` plugin, and register a Git repo.\n\n```kotlin\nbuildscript {\n  plugins {\n    repositories {\n      maven(\"https://raw.githubusercontent.com/adamko-dev/vcs-mvn-publish/artifacts/m2\")\n    }\n  }\n}\n\nplugins {\n  id(\"dev.adamko.vcs-mvn-publish\") version \"main-SNAPSHOT\"\n  java\n  `maven-publish`\n}\n\nvcsMvnPublish {\n  gitPushToRemoteEnabled.set(false) // disable auto-push, so we can check it works first\n  gitRepo(\"artifacts\") // 'artifacts' will be the remote branch\n}\n```\n\nThen, run the publishing task\n\n```shell\n./gradlew gitRepoPublish\n```\n\nCheck that there's a Maven repo in `$projectDir/.gradle/vcs-mvn-publish/artifacts/`.\nAre all the published artifacts there?\n\nIf you're happy, then enable auto-push, and re-run `./gradlew gitRepoPublish`.\n\n\n### Multiple subprojects\n\nTo publish multiple subprojects to the Git repository, just add `vcs-mvn-publish` to all relevant\nsubprojects, and to the root project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamko-dev%2Fvcs-mvn-publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamko-dev%2Fvcs-mvn-publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamko-dev%2Fvcs-mvn-publish/lists"}