You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/09/08 13:04:00 UTC

[jira] [Commented] (NIFI-10459) Fix shaded dependencies are not recognizable by IDEA

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

David Handermann commented on NIFI-10459:
-----------------------------------------

Thanks for highlighting this issue [~sabonyi]. From previous research, it appears to be a known problem with IntelliJ. It is possible to work around the problem by building the project with Maven, then marking the {{nifi-h2-database}} module as ignored in IntelliJ. If you are able to find a better solution, that would be great, but the shaded dependency is necessary to exclude problematic older code. We should be able to drop this approach and remove the migration code in a major release of NiFi, but for now it provides upgrade compatibility between NiFi versions.

> Fix shaded dependencies are not recognizable by IDEA
> ----------------------------------------------------
>
>                 Key: NIFI-10459
>                 URL: https://issues.apache.org/jira/browse/NIFI-10459
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Nandor Soma Abonyi
>            Assignee: Nandor Soma Abonyi
>            Priority: Major
>
> IDEA doesn't recognize shaded dependencies that are created during the build process. Because of that, it is not possible to run unit tests from IDEA and conveniently edit files that transitively depend on `nifi-h2-database`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)