1 2 Previous Next 16 Replies Latest reply on Aug 28, 2012 7:49 AM by jmnarloch Go to original post
      • 15. Re: Injection Point A of type org.jboss.arquillian.core.api.InstanceProducer must define a org.jboss...annotation.Scope annotation
        jmnarloch

        The drone dependency should be resolved based on the project classpath not the deployment one. In other words, it depends on the artifacts specified within pom.xml.

        • 16. Re: Injection Point A of type org.jboss.arquillian.core.api.InstanceProducer must define a org.jboss...annotation.Scope annotation
          jmnarloch

          The easies way to set up Drone and Warp is to import their BOM's by adding them into the dependencyManagment

           

          <dependencyManagment>

           

          <!-- Arquillian Drone -->

                      <dependency>

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

                          <artifactId>arquillian-drone-bom</artifactId>

                          <version>${version.arquillian_drone}</version>

                          <type>pom</type>

                          <scope>import</scope>

                      </dependency>

           

                      <!-- Arquillian Warp -->

                      <dependency>

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

                          <artifactId>arquillian-warp-bom</artifactId>

                          <version>${version.arquillian_warp}</version>

                          <scope>import</scope>

                          <type>pom</type>

                      </dependency>

           

          </dependencyManagment>

           

          And also adding the implmentations to the dependencies

           

          <dependencies>

                  <dependency>

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

                      <artifactId>arquillian-drone-webdriver-depchain</artifactId>

                      <type>pom</type>

                      <scope>test</scope>

                  </dependency>

           

           

                  <dependency>

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

                      <artifactId>arquillian-warp-impl</artifactId>

                      <scope>test</scope>

                  </dependency>

           

          </dependencies>

          1 2 Previous Next