io.thorntail.jdk-specific:thorntail-jdk-specific

Parent POM for multi-release JBoss projects.

License

License

AL2
Categories

Categories

Java Languages
GroupId

GroupId

io.thorntail.jdk-specific
ArtifactId

ArtifactId

thorntail-jdk-specific
Last Version

Last Version

4
Release Date

Release Date

Type

Type

jar
Description

Description

Parent POM for multi-release JBoss projects.
Project Organization

Project Organization

JBoss by Red Hat
Source Code Management

Source Code Management

https://github.com/thorntail/jdk-specific

Download thorntail-jdk-specific

How to add to project

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

Dependencies

provided (1)

Group / Artifact Type Version
org.jboss.modules : jboss-modules jar 1.11.0.Final

Project Modules

There are no modules declared in this project.

Thorntail JDK-specific bits

This Maven project produces a single artifact, whose coordinates are io.thorntail.jdk-specific:thorntail-jdk-specific. The artifact is a multi-release JAR (see JEP 238) and contains several utility classes that are implemented differently between Java 8 and Java 9+. This is required on a few places in the Thorntail core, and we build it as a separate project to make sure that the main Thorntail project can stay on Java 8.

In addition to the utility classes, a few JBoss Modules classes are overridden here. The main Thorntail codebase already carries a few patches to JBoss Modules, so it's natural to ask why are these overrides present here. The reason is same as above -- these changes need to be built with Java 9+, and we want the main project to stay on Java 8.

This project is only meant for use inside the Thorntail codebase and can't be treated as public API.

io.thorntail.jdk-specific

Thorntail

Versions

Version
4
3
2
1