Upgrading a J2EE application from Wildfly 8.2.1.FInal to 9.0.1.Final I discovered the namespace and versioning change of the Arquillian Wildfly container.
In the JBoss Developer forum I read
This is working with the Maven "org.wildfly.arquillian" group artifacts instead, having versions matching the Wildfly J2EE spec instead of the Wildfly container version, seems more reasonable both by name and version numbering.
What is the "Wildfly J2EE spec" and how do I go about matching Wildfly
versions with versions of
org.wildfly.arquillian:wildfly-arquillian-container-managed
?
Cheers Mats
Addendum
If someone lands in this page because they have that same problem here is my recommendation: Arquillian Chameleon for the sake of simplicity. Arquillian Chameleon is an automatic container downloader-install-container manager for Arquillian integration tests.
If you're going for the org.wildfly.arquillian:wildfly-arquillian-container-managed
, the verion to use with Wildfly 9.0.1.Final is org.wildfly.arquillian:wildfly-arquillian-container-managed:1.0.0.Final
.
The easy way to work out what version of Arquillian jars to use with a specific version of WildFly is to look at the WildFly Source on GitHub.
Click on the "Branch: master" button and choose the "Tags" tab.
Look down the list until you find 9.0.1.Final and select it.
Open the pom.xml file and search the page for version.org.wildfly.arquillian
.
You will see
<version.org.wildfly.arquillian>1.0.0.Final</version.org.wildfly.arquillian>
which is the version that you're after.
For 10.1.0.Final it says:
<version.org.wildfly.arquillian>1.0.2.Final</version.org.wildfly.arquillian>
which looks like a bug fix release that will likely work just fine with WildFly 9.0.1 as well.