You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Andreas Schaefer (JIRA)" <ji...@apache.org> on 2017/12/11 18:07:00 UTC
[jira] [Commented] (JCRVLT-253) Problems with Configuration inside
an Execution with Filters
[ https://issues.apache.org/jira/browse/JCRVLT-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286367#comment-16286367 ]
Andreas Schaefer commented on JCRVLT-253:
-----------------------------------------
The contents of the ZIP files goes into the 'src/test/resources/test-projects/filter-tests' folder.
> Problems with Configuration inside an Execution with Filters
> ------------------------------------------------------------
>
> Key: JCRVLT-253
> URL: https://issues.apache.org/jira/browse/JCRVLT-253
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: package maven plugin
> Environment: JDK 1.8
> Maven 3.5.0
> Reporter: Andreas Schaefer
> Attachments: additional.filter-tests.zip
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)