Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1975

org.jboss.resteasy.test.cdi.basic.CDIResourceTest needs rewrite

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 3.6.1.Final, 4.0.0.Beta5
    • 4.0.0.Beta5
    • jaxrs
    • None

    Description

      It is a problem for long term maintenance of this test to have a static
      archive (./testsuite/integration-tests/src/test/resources/org/jboss/resteasy/test/cdi/basic/RESTEASY-1082.war)
      deployed by this test.

      When running with the security.manager a permissions.xml file had to be manually
      added to the archive. Future security changes may require more permissions updates. It is not clear from the test structure how this must be done.

      There are versioned archives in the lib directory which will soon grow out of date
      and may cause test failure.

      /./WEB-INF/lib/jboss-jaxb-api_2.2_spec-1.0.4.Final.jar
      ./WEB-INF/lib/resteasy-jaxrs-3.0.15.Final-SNAPSHOT.jar
      ./WEB-INF/lib/commons-logging-1.1.3.jar
      ./WEB-INF/lib/javax.el-2.2.4.jar
      ./WEB-INF/lib/commons-io-2.1.jar
      ./WEB-INF/lib/jboss-logging-3.1.4.GA.jar
      ./WEB-INF/lib/classmate-0.8.0.jar
      ./WEB-INF/lib/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar
      ./WEB-INF/lib/commons-codec-1.6.jar
      ./WEB-INF/lib/resteasy-validator-provider-11-3.0.15.Final-SNAPSHOT.jar
      ./WEB-INF/lib/hibernate-validator-5.0.1.Final.jar
      ./WEB-INF/lib/httpclient-4.3.6.jar
      ./WEB-INF/lib/jcip-annotations-1.0.jar
      ./WEB-INF/lib/httpcore-4.3.3.jar
      ./WEB-INF/lib/validation-api-1.1.0.Final.jar
      ./WEB-INF/lib/activation-1.1.1.jar
      ./WEB-INF/lib/javax.el-api-2.2.4.jar
      

      It is desirable to generate this archive on a per-build basis. Isn't there
      a way in arquillian to build the archive and still deploy it by the manual method
      as this test does?

      Attachments

        Activity

          People

            rsearls r searls
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: