Hello, I don't know if you are aware of arquillian chameleon (
https://github.com/arquillian/arquillian-container-chameleon) basically
this project acts as a container proxy  for resolving which container and
mode you want to use in your tests, so you only need to modify one string
to change from one implementation or mode to another. For example:

<container qualifier="chameleon" default="true">
    <configuration>
        <property name="chameleonTarget">wildfly:8.0.0.Final:managed</property>
        <property name="serverConfig">standalone-full.xml</property>
    </configuration>
</container>


Notice that if you want to change to another version of wildfly, you only
need to change one string, Chameleon takes care of resolving the
dependencies and modifying the classpath. Currently we have support for
Wildfly, JBoss, Glassfish (with all modes) and also we have support for
TomEE managed. But we are facing some classloader problems with embedded
mode. You can see the commit here:
https://github.com/arquillian/arquillian-container-chameleon/commit/ead79be84b5db3e6f72211218384e6b9f1179030

We think that Arquillian Chameleon is going to be the future of Arquillian
for configuring the containers as well as it is going to be Arquillian
Universe (https://github.com/arquillian/arquillian-universe-bom) for
defining extensions.

I send this thread in the dev list because maybe this issue might require a
lot of discussion and maybe changes on code.

Cheers,
Alex.

Reply via email to