You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/23 14:33:26 UTC

[jira] [Commented] (NIFI-1450) provided-nar-dependencies goal error with disable-doclint profile

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

ASF GitHub Bot commented on NIFI-1450:
--------------------------------------

GitHub user mcgilman opened a pull request:

    https://github.com/apache/nifi-maven/pull/1

    NIFI-1450: Fixed issue preventing provided nar dependencies from running

    NIFI-1450:
    - Ensuring that system properties are relayed so that the disable doclint profile is not activated.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mcgilman/nifi-maven NIFI-1450

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-maven/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1
    
----

----


> provided-nar-dependencies goal error with disable-doclint profile
> -----------------------------------------------------------------
>
>                 Key: NIFI-1450
>                 URL: https://issues.apache.org/jira/browse/NIFI-1450
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: nifi-nar-maven-plugin-1.1.0
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>            Priority: Trivial
>
> The provided-nar-dependencies goal of the nifi-nar-maven-plugin errors when running against any NAR in the NiFi source tree. 
> {code}
> Failed to determine Java version for profile disable-doclint
> {code}
> The issue is that the disable-doclint profile is activated by a JDK version. The JDK version is relayed through system properties. When searching the pom hierarchy we need to pass along the system properties.
> A work-around is to temporarily remove the profile before running the provided-nar-dependencies goal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)