[ 
https://issues.apache.org/jira/browse/NIFI-9568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478007#comment-17478007
 ] 

ASF subversion and git services commented on NIFI-9568:
-------------------------------------------------------

Commit 18f2384d0a1659b20261e1cffb69f8d4f1dccb28 in nifi's branch 
refs/heads/main from EC2 Default User
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=18f2384 ]

NIFI-9568 Updated nifi-jolt-transform-json-ui pom.xml to only include CSS and 
JS assets in WAR

This closes #5660

Signed-off-by: David Handermann <[email protected]>


> nifi-jolt-transform-json-ui includes unnecessary assets due to wildcard
> -----------------------------------------------------------------------
>
>                 Key: NIFI-9568
>                 URL: https://issues.apache.org/jira/browse/NIFI-9568
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.15.2
>            Reporter: Dye357
>            Priority: Minor
>             Fix For: 1.16.0
>
>   Original Estimate: 12h
>          Time Spent: 20m
>  Remaining Estimate: 11h 40m
>
> The Nifi-Jolt-Transform-json-UI War file gets built with unnecessary files 
> from build environment. This is due to an wildcard being used to bring 
> anything in: <include>**/*></include> on line 148 of pom.xml. In our use-case 
> this is causing our development configurations to show up in the war file. 
> Recommend using a tighter allow-list so that only *.css and *.js files are 
> included in the build.
> Acceptance Criteria: Only js and css assets are included in the 
> nifi-jolt-transform-ui war file, non-relevant files such as package.json & 
> build environment files (intellij .idea) are no-longer included in the war 
> file.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to