{"id":22707644,"url":"https://github.com/xvik/mvn-repo","last_synced_at":"2026-02-02T17:03:54.968Z","repository":{"id":5868092,"uuid":"7085324","full_name":"xvik/mvn-repo","owner":"xvik","description":null,"archived":false,"fork":false,"pushed_at":"2013-10-31T00:48:03.000Z","size":2120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T21:45:49.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/xvik.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":"2012-12-10T00:12:42.000Z","updated_at":"2013-10-31T00:48:10.000Z","dependencies_parsed_at":"2022-08-31T17:14:33.326Z","dependency_job_id":null,"html_url":"https://github.com/xvik/mvn-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xvik%2Fmvn-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xvik%2Fmvn-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xvik%2Fmvn-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xvik%2Fmvn-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xvik","download_url":"https://codeload.github.com/xvik/mvn-repo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243569,"owners_count":20746311,"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-12-10T10:13:41.317Z","updated_at":"2026-02-02T17:03:49.932Z","avatar_url":"https://github.com/xvik.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"mvn-repo\n========\n\nTo use reposititory add to pom:\n\u003crepositories\u003e\n        \u003crepository\u003e\n            \u003cid\u003emvn-repo\u003c/id\u003e\n            \u003curl\u003ehttps://raw.github.com/xvik/mvn-repo/master\u003c/url\u003e\n            \u003creleases\u003e\n                \u003cenabled\u003etrue\u003c/enabled\u003e\n            \u003c/releases\u003e\n            \u003csnapshots\u003e\n                \u003cenabled\u003etrue\u003c/enabled\u003e\n                \u003cupdatePolicy\u003edaily\u003c/updatePolicy\u003e\n            \u003c/snapshots\u003e\n        \u003c/repository\u003e\n \u003c/repositories\u003e\n\nTo upload single jar:\n1. Checkout repository, e.g. into ~/mvn-repo\n2. Uplaod jar\n mvn deploy:deploy-file \\\n \t-Dfile=path_to_jar \\\n\t-DgroupId=... \\\n\t-DartifactId=...\\\n\t-Dversion=... \\\n\t-Dpackaging=jar \\\n\t-DgeneratePom=true \\\n\t-DcreateChecksum=true \\\n\t-Durl=file://~/mvn-repo\n3. Push changes\n\nTo deploy artifacts with mvn deploy:\n1. Add github plugin\n\u003cplugin\u003e\n                \u003cgroupId\u003ecom.github.github\u003c/groupId\u003e\n                \u003cartifactId\u003esite-maven-plugin\u003c/artifactId\u003e\n                \u003cversion\u003e0.7\u003c/version\u003e\n                \u003cconfiguration\u003e\n                    \u003cmessage\u003eMaven artifacts for ${project.artifactId} ${project.version}\u003c/message\u003e  \u003c!-- git commit message --\u003e\n                    \u003cnoJekyll\u003etrue\u003c/noJekyll\u003e                                  \u003c!-- disable webpage processing --\u003e\n                    \u003cmerge\u003etrue\u003c/merge\u003e \u003c!-- to not clean repo contents on each deploy --\u003e\n                    \u003coutputDirectory\u003e${project.build.directory}/mvn-repo\u003c/outputDirectory\u003e \u003c!-- matches distribution management repository url above --\u003e\n                    \u003cbranch\u003erefs/heads/master\u003c/branch\u003e                       \u003c!-- remote branch name --\u003e\n                    \u003cincludes\u003e\u003cinclude\u003e**/*\u003c/include\u003e\u003c/includes\u003e\n                    \u003crepositoryName\u003emvn-repo\u003c/repositoryName\u003e      \u003c!-- github repo name --\u003e\n                    \u003crepositoryOwner\u003exvik\u003c/repositoryOwner\u003e    \u003c!-- github username  --\u003e\n                \u003c/configuration\u003e\n                \u003cexecutions\u003e\n                    \u003c!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --\u003e\n                    \u003cexecution\u003e\n                        \u003cgoals\u003e\n                            \u003cgoal\u003esite\u003c/goal\u003e\n                        \u003c/goals\u003e\n                        \u003cphase\u003edeploy\u003c/phase\u003e\n                    \u003c/execution\u003e\n                \u003c/executions\u003e\n            \u003c/plugin\u003e\n2. Add property into properties section\n\u003cgithub.global.server\u003egithub\u003c/github.global.server\u003e\n3.Add\n\u003cdistributionManagement\u003e\n        \u003crepository\u003e\n            \u003cid\u003emvn-repo-github\u003c/id\u003e\n            \u003cname\u003eTemporary Staging Repository\u003c/name\u003e\n            \u003curl\u003efile://${project.build.directory}/mvn-repo\u003c/url\u003e\n        \u003c/repository\u003e\n    \u003c/distributionManagement\u003e\n4. Set github credentials in ~/.m2/settings.xml (servers section):\n\u003cserver\u003e\n      \u003cid\u003egithub\u003c/id\u003e\n      \u003cusername\u003eUSER\u003c/username\u003e\n      \u003cpassword\u003ePASSWORD\u003c/password\u003e\n    \u003c/server\u003e\n 5. perform mvn deploy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxvik%2Fmvn-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxvik%2Fmvn-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxvik%2Fmvn-repo/lists"}