Chapter 3. Installing the Quarkus Narayana JTA extension


You need to add the quarkus-narayana-jta extension as a dependency to your Quarkus project. If you are using Hibernate ORM, the quarkus-narayana-jta extension is already present in your project.

Prerequisites

  • Have a Quarkus Maven project.

Procedure

  1. Navigate to the root directory of your project.

    cd <directory_name>
    Copy to Clipboard Toggle word wrap
  2. Use one of the following methods to add the quarkus-narayana-jta extension to your Quarkus project:

    1. Add the quarkus-narayana-jta extension to your pom.xml file:

      <dependency>
          <groupId>io.quarkus</groupId>
          <artifactId>quarkus-narayana-jta</artifactId>
      </dependency>
      Copy to Clipboard Toggle word wrap
    2. Add the quarkus-narayana-jta extension using the command line:

      ./mvnw quarkus:add-extension -Dextensions="narayana-jta"
      Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top