Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2225

SPI classes and ServletContainerInitializer classes are loaded also if the packages aren't added to the deployement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • Hide

      I've created a simple testproject and attached it here. As soon as you outcomment the vaadin dependencies the test works and if you add them the deployment fails.

      Show
      I've created a simple testproject and attached it here. As soon as you outcomment the vaadin dependencies the test works and if you add them the deployment fails.

      I've written a very simple Arquillian Test which just adds one CDI Bean to the deployment archive and the tests injects this Bean and checks if a method call to the CDI bean is working.

      Once I add the Vaadin dependencies to my pom.xml the test fails as there is a ServletContainerInitializer configured and it's loaded by the test without adding the packages to add and this breaks the deployment of the test.

       

       

              Unassigned Unassigned
              mweiss_2000 Markus Weiss (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: