+1

I think separate git repos is a great idea. One thing to clarify, too: most of the time the nifi project relies on the last nifi-nar-maven-plugin release, right? So that should be transparent for most people building the project. It would only be awkward for someone updating the maven plugin and testing it out locally because the develop branch should always track a release.

Speaking of the develop branch... what about using master like most projects after this change?

rb

On 08/10/2015 07:32 AM, Joe Witt wrote:
Team,

We've seen and heard the confusion of folks trying to build NiFi's
goofy three step build process with parent, nar plugin, and nifi.  I
propose to do the following:

1) Eliminate the nifi-parent by pushing anything necessary back into
nifi-nar-maven-plugin.  The DRY concept is valid but just not worth a
third project at this point given how little it avoids meaningful
repetition on.

2) Create a new apache git repo for 'nifi-maven-plugins' and move the
'nifi-nar-maven-plugin' content into it.

3) Remove the nifi-parent and nifi-nar-maven-plugin from nifi folder
and promote the current 'nifi' sub folder to the top level.

Why: Folks are confused as to why they need to build all three and it
is odd that in a given project folder you would have to each manually.
It is just not a generally appreciated fact that you cannot have a
dependency on a maven plugin within the same reactor build that uses
that builds that plugin.  By cleaning this up people can just download
the source and build it.  We don't have to have any protracted build
cycles for 'nifi maven plugings' anymore leaving dependency on a
snapshot in the nifi tree.

If there seems to be consensus on this i'll put in the infra ticket soon.

Thanks
Joe



--
Ryan Blue
Software Engineer
Cloudera, Inc.

Reply via email to