0 Replies Latest reply on Nov 25, 2013 5:44 AM by Cédric Leray

    Which configuration for jboss-as-arquillian-container-embedded 7.2.0.Final?

    Cédric Leray Newbie

      Hi,

       

      I am under Eclipse Kepler and I would like to use jboss-as-arquillian-container-embedded 7.2.0 Final for my Arquillian tests.


      When I use the managed version of jboss container every things works well because of the jbossHome paremeter correctly setted in arquillian.xml file.


      But when I use jboss-as-arquillian-container-embedded 7.2.0 Final, I have this error message: org.jboss.arquillian.container.spi.ConfigurationException: jbossHome 'null' must exist

      Of course because of the embedded version, the jbossHome value in arquillian.xml file is not setted here.


      So which configuration I have to use jboss-as-arquillian-container-embedded 7.2.0.Final?


      Thanks in advance,


      Cedric


      pom

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

       

           <modelVersion>4.0.0</modelVersion>

       

           <parent>...</parent>

           <artifactId>...</artifactId>

           <name>...</name>

       

            <dependencies

                <dependency>

                     <groupId>com.almerys.didbi</groupId>

                     <artifactId>ebx-admin-center-business</artifactId>

                     <version>1.0.0.0.0-SNAPSHOT</version>

                </dependency>

                <dependency>

                     <groupId>commons-dbutils</groupId>

                     <artifactId>commons-dbutils</artifactId>

                     <version>1.5</version>

                </dependency>

                <dependency>

                     <groupId>org.apache.commons</groupId>

                     <artifactId>commons-lang3</artifactId>

                     <version>3.1</version>

                </dependency>

                <dependency>

                     <groupId>commons-collections</groupId>

                     <artifactId>commons-collections</artifactId>

                     <version>3.2.1</version>

                </dependency>

                <dependency>

                     <groupId>junit</groupId>

                     <artifactId>junit</artifactId>

                     <version>4.11</version>

                     <scope>test</scope>

                </dependency>

                <dependency>

                    <groupId>org.jboss.arquillian.junit</groupId>

                    <artifactId>arquillian-junit-container</artifactId>

                    <scope>test</scope>

                </dependency>  

                <dependency>

                    <groupId>org.jboss.shrinkwrap.resolver</groupId>

                    <artifactId>shrinkwrap-resolver-api</artifactId>

                    <version>2.0.0-alpha-5</version>

                    <scope>test</scope>

                </dependency>

               <dependency>

                    <groupId>org.jboss.shrinkwrap.resolver</groupId>

                    <artifactId>shrinkwrap-resolver-impl-maven</artifactId>

                    <version>2.0.0-alpha-5</version>

                    <scope>test</scope>

                </dependency>

                <dependency>

                    <groupId>org.jboss.shrinkwrap.resolver</groupId>

                    <artifactId>shrinkwrap-resolver-api-maven</artifactId>

                    <version>2.0.0-alpha-5</version>

                   <scope>test</scope>

                </dependency>

               <dependency>

                     <groupId>org.jboss.as</groupId>

                     <artifactId>jboss-as-arquillian-container-embedded</artifactId>

                     <version>7.2.0.Final</version>

                     <scope>test</scope>

                </dependency>

           </dependencies>

        <dependencyManagement>

          <dependencies>

               <dependency>

                   <groupId>org.jboss.shrinkwrap.resolver</groupId>

                   <artifactId>shrinkwrap-resolver-bom</artifactId>

                   <version>2.0.0-alpha-5</version>

                   <scope>import</scope>

                   <type>pom</type>

               </dependency>

               <dependency>

                   <groupId>org.jboss.arquillian</groupId>

                   <artifactId>arquillian-bom</artifactId>

                   <version>1.0.3.Final</version>

                   <scope>import</scope>

                   <type>pom</type>

               </dependency>

          </dependencies>

        </dependencyManagement>

             

      </project>