[
https://issues.apache.org/jira/browse/NIFI-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884132#comment-16884132
]
Matt Gilman commented on NIFI-6415:
-----------------------------------
[~dsargrad] Thanks for following up! I think I see what's happening here.
According to this SO post [1], depending on how you skip tests it affects
whether or not test code is even compiled. By creating test jars, what's
happening here, the test code can be shared across modules. Please try skipping
tests using
{code}
-DskipTests
{code}
I'll update this JIRA to indicate we should update the documentation to cover
how tests should be skipped.
[1] https://stackoverflow.com/a/30275449/5969130
> Nifi Build Fails on nifi-web-api
> --------------------------------
>
> Key: NIFI-6415
> URL: https://issues.apache.org/jira/browse/NIFI-6415
> Project: Apache NiFi
> Issue Type: Bug
> Environment: centos 7
> mvn 3.6.0
> java 1.8.0_212 openjdk
> Reporter: David Sargrad
> Priority: Major
> Attachments: image-2019-07-02-14-11-15-318.png,
> image-2019-07-12-12-47-58-020.png, image-2019-07-12-12-48-47-442.png
>
>
> I am trying to build the latest nifi master from git.
>
> git clone [https://gitbox.apache.org/repos/asf/nifi.git]
> git checkout master
>
> I am using the command mvn install -Dmaven.test.skip=true
>
> The build consistently fails with the following message.
>
> !image-2019-07-02-14-11-15-318.png!
> I deleted my entire .m2 repository to force maven to download. I get the same
> results. Many other projects seem to build ok.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)