NoteThis repository is my personal fork of the official arquillian-container-glassfish6.
The upstream project is not so active, so I decide to fork this project and update to use the latest GlassFish 7.0 and Jakarta EE 10.
-
Update to Glassfish 7.0 and Jakarta EE 10 APIs.
-
Rename project artifactIds and add a
-jakarta
postfix. -
Change the build baseline Java version to Java 11, and clean the source codes.
-
Update the testing codes to the latest Arquillian Core 1.7.x and JUnit 5.
This project is not published to the Maven Central repository. I choose JitPack to share my work to Java communities.
Add the following repository in your project pom.xml.
<repositories>
//... other repositories
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
To use Managed GlassFish Container Adapter, add the following dependency.
<dependencies>
// other dependencies
<dependency>
<groupId>com.github.hantsy.arquillian-container-glassfish-jakarta</groupId>
<artifactId>arquillian-glassfish-managed-jakarta</artifactId>
<version>${arquillian-glassfish-jakarta.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Alternatively, to use Remote GlassFish Container Adapter, add the following dependency.
<dependencies>
// other dependencies
<dependency>
<groupId>com.github.hantsy.arquillian-container-glassfish-jakarta</groupId>
<artifactId>arquillian-glassfish-remote-jakarta</artifactId>
<version>${arquillian-glassfish-jakarta.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Configure property arquillian-glassfish-arquillian.version
, check the latest build version from JitPack Build Status page.
<properties>
//other properties
<arquillian-glassfish-jakarta.version>1665e14a</arquillian-glassfish-jakarta.version>
</properties>
Explore my personal Jakarta EE 10 Example Codes and get to know the Arquillian configuration details.
NoteIf you are new to Arquillian, go to Jakarta EE Starter Boilerplate project to study it yourself.