{"id":16908618,"url":"https://github.com/byteit101/maven_require","last_synced_at":"2025-03-20T17:29:59.180Z","repository":{"id":56883035,"uuid":"472954481","full_name":"byteit101/maven_require","owner":"byteit101","description":"A gem for loading maven coordinates interactively in JRuby","archived":false,"fork":false,"pushed_at":"2022-03-22T22:34:48.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T03:44:23.895Z","etag":null,"topics":["gem","jruby","maven"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/byteit101.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-03-22T22:15:36.000Z","updated_at":"2022-03-22T22:23:24.000Z","dependencies_parsed_at":"2022-08-20T13:10:40.215Z","dependency_job_id":null,"html_url":"https://github.com/byteit101/maven_require","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteit101%2Fmaven_require","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteit101%2Fmaven_require/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteit101%2Fmaven_require/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteit101%2Fmaven_require/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteit101","download_url":"https://codeload.github.com/byteit101/maven_require/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244659926,"owners_count":20489251,"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":["gem","jruby","maven"],"created_at":"2024-10-13T18:52:11.620Z","updated_at":"2025-03-20T17:29:59.157Z","avatar_url":"https://github.com/byteit101.png","language":"Ruby","readme":"# Maven Require for JRuby\n\nWhy shouldn't interactively loading Java libraries be as easy as using Ruby gems?\n\nIf you using JRuby, `maven_require` lets you install and use Maven-published Java libraries interactively.\nFor non-interactive use, we recommend creating a `Jarfile` with `jar-dependencies`, which this gem is based on.\n\n## Installation\n\n```ruby\ngem install maven-require\n```\n\n## Usage\n\n```ruby\nrequire 'maven_require'\nmaven_require 'groupid:artifactid' # installs latest\nmaven_require 'groupid', 'artifactid' # installs latest\nmaven_require 'groupid:artifactid:version' # installs specified version\nmaven_require 'groupid', 'artifactid','version' # installs specified version\n\n# load a set of items, resolved together\nmaven_require do |deps|\n    deps.jar 'groupid:artifactid' # installs latest\n    deps.jar 'groupid', 'artifactid' # installs latest\n    deps.jar 'groupid:artifactid:version' # installs specified version\n    deps.jar 'groupid', 'artifactid','version' # installs specified version\nend\n```\n\nIf you are requiring multiple dependencies, it is hightly recommended to use the block form as it resolves all transitive dependencies together\n\nNOTE: multiple calls to maven_require will re-resolve the given artifact.\n\n## Development\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/byteit101/maven_require.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteit101%2Fmaven_require","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteit101%2Fmaven_require","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteit101%2Fmaven_require/lists"}