Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
JDK 1.8
Maven 3.5.0
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.