CDI Configuration


License

License

AL2
Categories

Categories

config Application Layer Libs Configuration
GroupId

GroupId

io.thorntail
ArtifactId

ArtifactId

cdi-config
Last Version

Last Version

2.7.0.Final
Release Date

Release Date

Type

Type

jar
Description

Description

CDI Configuration
CDI Configuration
Project Organization

Project Organization

JBoss by Red Hat

Download cdi-config

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
io.thorntail : spi jar 2.7.0.Final
io.thorntail : container jar 2.7.0.Final
io.thorntail : logging jar 2.7.0.Final
jakarta.inject : jakarta.inject-api jar
jakarta.enterprise : jakarta.enterprise.cdi-api jar

provided (3)

Group / Artifact Type Version
org.wildfly.core : wildfly-core-feature-pack zip 10.0.3.Final
org.wildfly : wildfly-feature-pack zip 18.0.1.Final
org.wildfly : wildfly-servlet-feature-pack zip 18.0.1.Final

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.easytesting : fest-assert jar 1.4
org.mockito : mockito-core jar 2.2.28
io.thorntail : build-resources jar 2.7.0.Final

Project Modules

There are no modules declared in this project.

Build Status License Maven Central Join the chat at freenode:thorntail

Thorntail: Rightsize your JavaEE Applications

Issues for v2/master are being tracked using the Red Hat issue tracking system (JIRA). Issues for v4 are being tracked in GitHub Issues. Bug reports and feature requests are greatly appreciated.

Thorntail Core

Thorntail provides a mechanism for building applications as uber jars, with just enough of the WildFly application server wrapped around it to support each application's use-case.

Note: Thorntail requires Maven 3.2.5 or higher for building your application.

Note: Thorntail requires JDK 8 or higher for building your application or for building Thorntail itself.

Project Configuration

In a normal WAR-based maven pom.xml, simply add the following

<plugin>
  <groupId>io.thorntail</groupId>
  <artifactId>thorntail-maven-plugin</artifactId>
  <version>${version.thorntail}</version>
  <executions>
    <execution>
      <phase>package</phase>
      <goals>
        <goal>package</goal>
      </goals>
    </execution>
  </executions>
</plugin>

This will take the .war file normally created by your build, and wrap it in the wildfly-swarm mechanisms.

If you normally produce myapp-1.0.war, in your target/ directory will then also be present a myapp-1.0-thorntail.jar.

In order to specify the portions of the WildFly AS your application needs, your pom.xml should specify some of the following dependencies within the io.thorntail Maven group-id:

  • bean-validation
  • cdi
  • ee
  • io
  • jaxrs
  • logging
  • naming
  • request-controller
  • security
  • transactions
  • undertow
  • and many more!

How To Build Thorntail Itself

Thorntail attempts to be a well-behaved Maven project. To install to your local repository for usage:

mvn clean install

If you're running short on time:

mvn clean install -DskipTests

Documentation

For a more complete set of documentation, go to the Thorntail Guide.

Community

  • We hang out in #thorntail on irc.freenode.net.
io.thorntail

Thorntail

Versions

Version
2.7.0.Final
2.6.0.Final
2.5.0.Final
2.4.0.Final
2.3.0.Final
2.2.1.Final
2.2.0.Final
2.1.0.Final
2.0.0.Final