Maven Fetcher

A simple API for fetching artifacts from Maven repositories.

Лицензия

Лицензия

Группа

Группа

com.samskivert
Идентификатор

Идентификатор

mfetcher
Последняя версия

Последняя версия

1.0.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

Maven Fetcher
A simple API for fetching artifacts from Maven repositories.
Ссылка на сайт

Ссылка на сайт

http://github.com/samskivert/mfetcher/
Система контроля версий

Система контроля версий

http://github.com/samskivert/mfetcher/

Скачать mfetcher

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.samskivert/mfetcher/ -->
<dependency>
    <groupId>com.samskivert</groupId>
    <artifactId>mfetcher</artifactId>
    <version>1.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.samskivert/mfetcher/
implementation 'com.samskivert:mfetcher:1.0.6'
// https://jarcasting.com/artifacts/com.samskivert/mfetcher/
implementation ("com.samskivert:mfetcher:1.0.6")
'com.samskivert:mfetcher:jar:1.0.6'
<dependency org="com.samskivert" name="mfetcher" rev="1.0.6">
  <artifact name="mfetcher" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.samskivert', module='mfetcher', version='1.0.6')
)
libraryDependencies += "com.samskivert" % "mfetcher" % "1.0.6"
[com.samskivert/mfetcher "1.0.6"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.1

Модули Проекта

Данный проект не имеет модулей.

Maven Fetcher

This library provides a greatly simplified interface to Maven's Aether repository system, allowing one to download Maven artifacts into a user's local Maven repository with a minimum degree of fuss.

It is adapted from the Capsule project. Capsule is designed for all wrinkles to be ironed out up front and thus tends to handle any errors by blowing everything up. This library expects to be used in situations where developers will be editing Maven dependencies and may make mistakes, and thus it provides better failure handling for unresolvable dependencies.

Usage

Like so:

Path home = Paths.get(System.getProperty("user.home"));
Path m2 = home.resolve(".m2/repository");
DependencyManager mgr = new DependencyManager(m2, null, false, false);
Map<Coord,Path> results = mgr.resolveDependencies(Arrays.asList(
  new Coord("junit", "junit", "4.11", "jar")));

Et voila!

Set -Dmfetcher.log=verbose to see all the messy details and/or debug failures.

Версии библиотеки

Версия
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0