{"id":22314289,"url":"https://github.com/hgschmie/maven-loader","last_synced_at":"2026-01-30T00:47:45.151Z","repository":{"id":136594413,"uuid":"432630101","full_name":"hgschmie/maven-loader","owner":"hgschmie","description":"simple artifact downloader for maven central","archived":false,"fork":false,"pushed_at":"2024-09-13T04:28:02.000Z","size":215,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T10:57:30.610Z","etag":null,"topics":["downloader","java","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hgschmie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2021-11-28T05:48:28.000Z","updated_at":"2024-09-13T04:28:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"854dd729-e9c8-4604-b527-d8778b4e9fcd","html_url":"https://github.com/hgschmie/maven-loader","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/hgschmie/maven-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgschmie%2Fmaven-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgschmie%2Fmaven-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgschmie%2Fmaven-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgschmie%2Fmaven-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hgschmie","download_url":"https://codeload.github.com/hgschmie/maven-loader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgschmie%2Fmaven-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28892261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["downloader","java","maven"],"created_at":"2024-12-03T22:09:35.823Z","updated_at":"2026-01-30T00:47:45.147Z","avatar_url":"https://github.com/hgschmie.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maven-loader - a dead simple artifact loader for Maven repository system\n\n\nThis is a repackaged version of a bunch of Apache Maven dependencies, intended to offer a quick way to locate and download artifacts from the Maven central repository. It resolves all maven internal dependencies consistently and hides the existing library dependency problems from code that wants to download artifacts from the Maven repository system.\n\nThe maven site with documentation is at [https://softwareforge.de/maven-loader].\n\nAs most things Maven are simply a mess (and even internally inconsistent), this bundles up\n\n- The Apache Maven resolver to locate artifacts\n- File and HTTP transports\n- Maven settings to load and interpret the local settings file\n\nAll the functionality is in the `MavenArtifactLoader` class. See the javadoc for the class for more details.\n\n\n## Find artifacts\n\nDo a partial match:\n\n``` java\nMavenArtifactLoader loader = new MavenArtifactLoader();\n\nList\u003cString\u003e results = loader.builder(GROUP_ID, ARTIFACT_ID)\n        .includeSnapshots(false)\n        .partialMatch(\"2.1\")\n        .findAll();\n```\n\nDo an exact match:\n\n``` java\nMavenArtifactLoader loader = new MavenArtifactLoader();\n\nOptional\u003cString\u003e result = loader.builder(GROUP_ID, ARTIFACT_ID)\n        .includeSnapshots(false)\n        .exactMatch(\"2.1.1\")\n        .findBestMatch();\n```\n\nFind best semver match for a major version:\n\n\n``` java\nMavenArtifactLoader loader = new MavenArtifactLoader();\n\nOptional\u003cString\u003e result = loader.builder(GROUP_ID, ARTIFACT_ID)\n        .includeSnapshots(false)\n        .semVerMajor(2)\n        .findBestMatch();\n```\n\nFind all matches for semver major and minor:\n\n``` java\nMavenArtifactLoader loader = new MavenArtifactLoader();\n\nList\u003cString\u003e results = loader.builder(GROUP_ID, ARTIFACT_ID)\n        .includeSnapshots(false)\n        .semVerMinor(2, 1)\n        .findAll();\n```\n\n## Load an artifact\n\n``` java\nMavenArtifactLoader loader = new MavenArtifactLoader();\nFile artifactFile = loader.getArtifactFile(GROUP_ID, ARTIFACT_ID, \"2.1.1\");\n```\n\n\n----\n\n(C) 2021-2025 Henning P. Schmiedehausen\n\nLicensed under the Apache Software License V2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhgschmie%2Fmaven-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhgschmie%2Fmaven-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhgschmie%2Fmaven-loader/lists"}