org.jboss.forge.addon:microprofile-config

Provides, via submodules, a base configuration for JBoss project builds, as well as a derived configuration supporting multi-release JARs

License

License

Categories

Categories

JBoss Container Application Servers config Application Layer Libs Configuration
GroupId

GroupId

org.jboss.forge.addon
ArtifactId

ArtifactId

microprofile-config
Last Version

Last Version

1.0.2.Final
Release Date

Release Date

Type

Type

jar
Description

Description

Provides, via submodules, a base configuration for JBoss project builds, as well as a derived configuration supporting multi-release JARs
Project Organization

Project Organization

JBoss by Red Hat
Source Code Management

Source Code Management

http://github.com/forge/microprofile-config-addon

Download microprofile-config

How to add to project

<!-- https://jarcasting.com/artifacts/org.jboss.forge.addon/microprofile-config/ -->
<dependency>
    <groupId>org.jboss.forge.addon</groupId>
    <artifactId>microprofile-config</artifactId>
    <version>1.0.2.Final</version>
</dependency>
// https://jarcasting.com/artifacts/org.jboss.forge.addon/microprofile-config/
implementation 'org.jboss.forge.addon:microprofile-config:1.0.2.Final'
// https://jarcasting.com/artifacts/org.jboss.forge.addon/microprofile-config/
implementation ("org.jboss.forge.addon:microprofile-config:1.0.2.Final")
'org.jboss.forge.addon:microprofile-config:jar:1.0.2.Final'
<dependency org="org.jboss.forge.addon" name="microprofile-config" rev="1.0.2.Final">
  <artifact name="microprofile-config" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jboss.forge.addon', module='microprofile-config', version='1.0.2.Final')
)
libraryDependencies += "org.jboss.forge.addon" % "microprofile-config" % "1.0.2.Final"
[org.jboss.forge.addon/microprofile-config "1.0.2.Final"]

Dependencies

compile (3)

Group / Artifact Type Version
org.jboss.forge.addon : ui jar
org.jboss.forge.addon : configuration jar
io.smallrye.config : smallrye-config jar 1.6.2

provided (1)

Group / Artifact Type Version
org.jboss.forge.furnace.container : cdi jar

Project Modules

There are no modules declared in this project.

microprofile-config

This addon provides standalone functionality.

Depends on

Addon Exported Optional

org.jboss.forge.furnace.container:cdi

yes

no

Setup

This Addon requires the following installation steps.

Add configuration to pom.xml

To use this addon, you must add it as a dependency in the pom.xml of your forge-addon classified artifact: (Make sure the dependency is put all the way to the left, and uses 3 spaces for indentation of GAV)

<dependency>
   <groupId>org.jboss.forge.addon</groupId>
   <artifactId>microprofile-config</artifactId>
   <classifier>forge-addon</classifier>
   <version>${version}</version>
</dependency>

Features

Injection of ConfigProperties

This addon reads the ~/.forge/config.properties files and makes it available for injection using @ConfigProperty

@Inject
@ConfigProperty
private String name;
org.jboss.forge.addon

JBoss Forge

JBoss Forge is a software development tool that extends your Java IDE, providing wizards and extensions (add-ons) for different technologies and solutions

Versions

Version
1.0.2.Final
1.0.1.Final
1.0.0.Final