Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-253

Problems with Configuration inside an Execution with Filters

    XMLWordPrintableJSON

Details

    Description

      When I create an 'container' package with this plugin then it works when configured inside a plugin configuration section. If the same is configured inside an 'execution/configuration' section then it fails with:

      No workspace filter defined (failOnEmptyFilter=true)

      I added this to the FilterIT class at the end:

          /**
           * Tests if a project with no filter file or inline filters and only a single embedded and sub package marked as filter entry
           * is creating a filter
           */
          @Test
          public void test_no_filter_container() throws Exception {
              verify("no-filter-container", false);
          }
      
          /**
           * Tests if a project with no filter file or inline filters and only a single embedded and sub package marked as filter entry
           * is creating a filter but inside an execution's configuration
           */
          @Test
          public void test_no_filter_container_in_execution() throws Exception {
              verify("no-filter-container-in-execution", false);
          }
      

      Attached are the ZIP files containing the necessary files.

      The first method succeeds while the second fails to even generate a filter.xml file.

      Attachments

        1. additional.filter-tests.zip
          4 kB
          Andreas Schaefer

        Activity

          People

            tripod Tobias Bocanegra
            andysch Andreas Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: