jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCRVLT-253) Problems with Configuration inside an Execution with Filters
Date Thu, 14 Dec 2017 11:43:00 GMT

     [ https://issues.apache.org/jira/browse/JCRVLT-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tobias Bocanegra resolved JCRVLT-253.
-------------------------------------
    Resolution: Won't Fix

> 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
>            Assignee: Tobias Bocanegra
>             Fix For: package-maven-plugin-1.0.1
>
>         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:
> {code}
>     /**
>      * 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);
>     }
> {code}
> 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)

Mime
View raw message