{"id":15290833,"url":"https://github.com/jcabi/jcabi-aether","last_synced_at":"2025-05-16T11:06:54.341Z","repository":{"id":10426310,"uuid":"12587970","full_name":"jcabi/jcabi-aether","owner":"jcabi","description":"Wrapper of Sonatype Aether","archived":false,"fork":false,"pushed_at":"2025-02-22T19:07:47.000Z","size":917,"stargazers_count":66,"open_issues_count":44,"forks_count":33,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-09T07:03:00.320Z","etag":null,"topics":["aether","java","maven"],"latest_commit_sha":null,"homepage":"http://aether.jcabi.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcabi.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}},"created_at":"2013-09-04T10:15:58.000Z","updated_at":"2024-11-13T04:15:54.000Z","dependencies_parsed_at":"2024-02-24T12:24:18.079Z","dependency_job_id":"11e3596c-1325-46de-b27c-6afff7a5aea0","html_url":"https://github.com/jcabi/jcabi-aether","commit_stats":{"total_commits":447,"total_committers":19,"mean_commits":"23.526315789473685","dds":0.5413870246085011,"last_synced_commit":"8fa5dfd99b620f2bbb93f0caabf6e5909202e58b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-aether","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-aether/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-aether/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcabi%2Fjcabi-aether/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcabi","download_url":"https://codeload.github.com/jcabi/jcabi-aether/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518383,"owners_count":22084374,"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":["aether","java","maven"],"created_at":"2024-09-30T16:09:40.115Z","updated_at":"2025-05-16T11:06:49.331Z","avatar_url":"https://github.com/jcabi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"http://img.jcabi.com/logo-square.svg\" width=\"64px\" height=\"64px\" /\u003e\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![Managed by Zerocracy](https://www.0crat.com/badge/C3RUBL5H9.svg)](https://www.0crat.com/p/C3RUBL5H9)\n[![DevOps By Rultor.com](http://www.rultor.com/b/jcabi/jcabi-aether)](http://www.rultor.com/p/jcabi/jcabi-aether)\n\n[![Build Status](https://travis-ci.org/jcabi/jcabi-aether.svg?branch=master)](https://travis-ci.org/jcabi/jcabi-aether)\n[![PDD status](http://www.0pdd.com/svg?name=jcabi/jcabi-aether)](http://www.0pdd.com/p?name=jcabi/jcabi-aether)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-aether/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-aether)\n[![Javadoc](https://javadoc.io/badge/com.jcabi/jcabi-aether.svg)](http://www.javadoc.io/doc/com.jcabi/jcabi-aether)\n[![Dependencies](https://www.versioneye.com/user/projects/561ac2e2a193340f32001011/badge.svg?style=flat)](https://www.versioneye.com/user/projects/561ac2e2a193340f32001011)\n\n[![jpeek report](https://i.jpeek.org/com.jcabi/jcabi-aether/badge.svg)](https://i.jpeek.org/com.jcabi/jcabi-aether/)\n\nAether adapter for Maven plugins\n\nMore details are here: [aether.jcabi.com](http://aether.jcabi.com/index.html)\n\n[Aether](http://www.eclipse.org/aether/) is a dependency\nmanagement toolkit for Maven repositories. It is very convenient to use Aether\nin your Maven plugins, when it's necessary to find a location of certain\nartifact or find out what transitive dependencies it contains. This module\ncontains `Aether` class, an adapter between your plugin and Aether.\n\nThis is how you find out the location of a `junit:junit-dep:4.10` artifact:\n\n```java\nimport com.jcabi.aether.Aether;\nimport java.io.File;\nimport org.apache.maven.plugin.AbstractMojo;\nimport org.sonatype.aether.RepositorySystemSession;\nimport org.sonatype.aether.artifact.Artifact;\nimport org.sonatype.aether.util.artifact.DefaultArtifact;\nimport org.sonatype.aether.util.artifact.JavaScopes;\n\npublic class MyMojo extends AbstractMojo {\n  /**\n   * @parameter default-value=\"${repositorySystemSession}\"\n   * @readonly\n   */\n  private RepositorySystemSession session;\n  @Override\n  public void execute() {\n    File repo = this.session.getLocalRepository().getBasedir();\n    Collection\u003cArtifact\u003e deps = new Aether(this.getProject(), repo).resolve(\n      new DefaultArtifact(\"junit\", \"junit-dep\", \"\", \"jar\", \"4.10\"),\n      JavaScopes.COMPILE\n    );\n    // Now you have a full set of artifacts that include junit-dep.jar\n    // and all its dependencies in \"runtime\" scope. The first\n    // element in the collection is junit-dep.jar itself. You can use\n    // Artifact#getFile() method to get its absolute path\n  }\n}\n```\n\n## Questions?\n\nIf you have any questions about the framework, or something doesn't work as expected,\nplease [submit an issue here](https://github.com/jcabi/jcabi-aether/issues/new).\n\n## How to contribute?\n\nFork the repository, make changes, submit a pull request.\nWe promise to review your changes same day and apply to\nthe `master` branch, if they look correct.\n\nPlease run Maven build before submitting a pull request:\n\n```\n$ mvn clean install -Pqulice\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcabi%2Fjcabi-aether","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcabi%2Fjcabi-aether","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcabi%2Fjcabi-aether/lists"}