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:00:00 UTC
[jira] [Created] (JCRVLT-253) Problems with Configuration inside an
Execution with Filters
Andreas Schaefer created JCRVLT-253:
---------------------------------------
Summary: 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
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)