Maven Repository as JBoss Modules

Resolve JBoss Modules from the Maven repository. Automatically download dependencies.

Лицензия

Лицензия

Категории

Категории

JBoss Контейнер Application Servers Maven Компиляция и сборка
Группа

Группа

pw.krejci
Идентификатор

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

maven-repo-jboss-modules
Последняя версия

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

0.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Maven Repository as JBoss Modules
Resolve JBoss Modules from the Maven repository. Automatically download dependencies.
Ссылка на сайт

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

https://github.com/metlos/maven-repo-jboss-modules
Организация-разработчик

Организация-разработчик

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

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

https://github.com/metlos/maven-repo-jboss-modules

Скачать maven-repo-jboss-modules

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

<!-- https://jarcasting.com/artifacts/pw.krejci/maven-repo-jboss-modules/ -->
<dependency>
    <groupId>pw.krejci</groupId>
    <artifactId>maven-repo-jboss-modules</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/pw.krejci/maven-repo-jboss-modules/
implementation 'pw.krejci:maven-repo-jboss-modules:0.2.0'
// https://jarcasting.com/artifacts/pw.krejci/maven-repo-jboss-modules/
implementation ("pw.krejci:maven-repo-jboss-modules:0.2.0")
'pw.krejci:maven-repo-jboss-modules:jar:0.2.0'
<dependency org="pw.krejci" name="maven-repo-jboss-modules" rev="0.2.0">
  <artifact name="maven-repo-jboss-modules" type="jar" />
</dependency>
@Grapes(
@Grab(group='pw.krejci', module='maven-repo-jboss-modules', version='0.2.0')
)
libraryDependencies += "pw.krejci" % "maven-repo-jboss-modules" % "0.2.0"
[pw.krejci/maven-repo-jboss-modules "0.2.0"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.jboss.modules : jboss-modules jar 1.6.1.Final
org.apache.maven : maven-resolver-provider jar 3.6.2
org.apache.maven.resolver : maven-resolver-transport-file jar 1.4.1
org.apache.maven.resolver : maven-resolver-transport-http jar 1.4.1
org.apache.maven.resolver : maven-resolver-connector-basic jar 1.4.1

test (1)

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

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

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

Maven Repo JBoss Modules

Uses Maven artifact resolution for defining modules for JBoss Modules. This is simplistic and doesn’t support a ton of JBoss Modules features but gets the job done if you want to just have modular classloading and artifacts downloaded from Maven repositories.

Usage

Module project = ProjectModule.build()
        .localRepository("~/custom/local/maven/repository")
        .addRemoteRepository("jboss", URI.create("https://repository.jboss.org/nexus/content/repositories/public/")
        .addDependency("com.acme:artifact:14.3")
        .addDependency("foo.bar:baz:0.10")
        .create();

        Class<?> acme = project.getClassLoader().loadClass("com.acme.artifact.Acme");
        ...

If you don’t specify the location of the local repository using the localRepository() builder method, the default ~/.m2/repository will be used. Maven Central repository is always present as a remote repository and you can add more using the addRemoteRepository() builder method.

You then merely define the dependencies of your "project" module and the artifacts will be resolved and available as modules with all the classloader isolation goodness JBoss Modules provides.

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

Версия
0.2.0
0.1.1
0.1.0