[
https://issues.apache.org/jira/browse/NIFI-7873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209641#comment-17209641
]
Joe Witt commented on NIFI-7873:
--------------------------------
This is related to what we generate the actual convenience binary from.
We execute the release/prepare and release/perform steps which conduct a build
and publish the artifacts to maven. Of those artifacts the most critical, and
indeed the only thing we're voting upon, is the nifi-source-release.zip. I
take that sourcezip and pull it local then do the build for the convenience
binary of nifi that we actually make available. That build in turn generates
what are technically different nars that we pushed into nexus but actually
derived exclusively from the source bundle pushed to nexus.
I'll attempt during the 1.13.0 release - and will mark this as a blocker for it
- to do the convenience build only from the nars we theoretically pushed to
nexus which is what i should have locally already. And still pull the source
zip from nexus so the hashes match.
We'll see if we can thread the needle on having all these things match. But to
be clear the convenience assembly of nifi and even the stuff in nexus - aren't
actually the officially binding things. The one true thing that matters is the
source.zip
> Provide exactly same version of nars in distribution and in maven repo
> ----------------------------------------------------------------------
>
> Key: NIFI-7873
> URL: https://issues.apache.org/jira/browse/NIFI-7873
> Project: Apache NiFi
> Issue Type: Wish
> Affects Versions: 1.12.1
> Reporter: Andrei Lopukhov
> Priority: Minor
>
> Currently nar artifcats in NiFi distribution differs from same artifacts in
> maven.
> It looks like nars are packaged once again for making distribution assembly.
> Example difference, MANIFEST.MF from nifi-avro-nar-1.12.1:
> ||Maven||Archieve distribution||
> |Manifest-Version: 1.0
> Build-Branch: UNKNOWN
> Build-Timestamp: 2020-09-23T10:17:41Z
> Archiver-Version: Plexus Archiver
> Built-By: jwitt
> Nar-Id: nifi-avro-nar
> Clone-During-Instance-Class-Loading: false
> Nar-Version: 1.12.1
> Build-Tag: nifi-1.12.1-RC2
> Build-Revision: accfaa3
> Nar-Group: org.apache.nifi
> Created-By: Apache Maven 3.6.3
> Build-Jdk: 1.8.0_265|Manifest-Version: 1.0
> Build-Timestamp: 2020-09-23T14:15:53Z
> Clone-During-Instance-Class-Loading: false
> Archiver-Version: Plexus Archiver
> Built-By: jwitt
> Nar-Version: 1.12.1
> Build-Tag: nifi-1.12.1-RC2
> Nar-Id: nifi-avro-nar
> Nar-Group: org.apache.nifi
> Created-By: Apache Maven 3.6.3
> Build-Jdk: 1.8.0_265|
> So it is not possible to validate individual libraries from distribution
> against libraries in maven cental.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)