Run Wildfly IT with Java16
MODIFY
asciidoctorj-wildfly-integration-test/build.gradle
asciidoctorj-wildfly-integration-test/build.gradle
jar.enabled = false
ext {
- arquillianVersion = '1.1.13.Final'
- arquillianWildflyVersion = '2.1.1.Final'
+ arquillianVersion = '1.6.0.Final'
+ arquillianWildflyVersion = '3.0.1.Final'
wildflyVersion = '23.0.0.Final'
}
+repositories {
+ // Required by arquillian
+ maven { url "https://maven.repository.redhat.com/ga/" }
+}
+
configurations {
jbossmodule
jbossdist { transitive = false }
@@ -85,9 +90,7 @@ test {
systemProperty('jboss.home', jbossHome)
systemProperty('module.path', jbossHome + "/modules" + File.pathSeparator + file('build/modules').absolutePath)
- if (JavaVersion.current() == JavaVersion.VERSION_16) {
- systemProperty('arquillian.launch', 'wildfly-java16')
- } else if (JavaVersion.current().isJava11Compatible()) {
+ if (JavaVersion.current().isJava11Compatible()) {
systemProperty('arquillian.launch', 'wildfly-java11')
}
@@ -95,12 +98,7 @@ test {
dependsOn createModule
dependsOn unpackWildfly
dependsOn configurations.jbossmodule
-
- onlyIf {
- JavaVersion.current() != JavaVersion.VERSION_16
}
-}
-
configurations.all {

MODIFY
asciidoctorj-wildfly-integration-test/src/test/resources/arquillian.xml
asciidoctorj-wildfly-integration-test/src/test/resources/arquillian.xml
</configuration>
</container>
- <container qualifier="wildfly-java16">
- <configuration>
- <property name="jbossHome">${jboss.home}</property>
- <!--<property name="javaVmArguments">-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</property> -->
- <property name="javaVmArguments">--add-modules java.se,java.security</property>
- <property name="serverConfig">${jboss.server.config.file.name:standalone.xml}</property>
- <property name="jbossArguments">${jboss.args:}</property>
- </configuration>
- </container>
-
</arquillian>

Run Wildfly IT with Java16