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
Navigate to the root directory of your project.
cd <directory_name>
Use one of the following methods to add the
quarkus-narayana-jta
extension to your Quarkus project:Add the
quarkus-narayana-jta
extension to yourpom.xml
file:<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-narayana-jta</artifactId> </dependency>
Add the
quarkus-narayana-jta
extension using the command line:./mvnw quarkus:add-extension -Dextensions="narayana-jta"