marklogic / nifi

Mirror of Apache NiFi to support ongoing MarkLogic integration efforts
https://marklogic.github.io/nifi/
Apache License 2.0
12 stars 23 forks source link

Publish NARs in Maven #206

Closed dmcassel closed 7 months ago

dmcassel commented 12 months ago

I'm building something that would be a lot easier if I could set up a maven dependency on the nifi-marklogic-services-api-nar. Could we get that published in either Maven Central or http://developer.marklogic.com/maven2?

dmcassel commented 12 months ago

I just revised my approach so that I won't need this after all. Still, it could be helpful.

rjrudin commented 12 months ago

This still sounds helpful and should be easy for us to support, so I'll keep this open. We're going to do a new release soon.

rjrudin commented 7 months ago

@dmcassel What exactly were you looking to reuse within (presumably) your own Java application? This looks doable, though we'd need to publish not just the nars but all the jars as well. Which takes awhile (hours of waiting) to do with Maven Central.

rjrudin commented 7 months ago

Closing for now but will continue to use for conversation as needed.

dmcassel commented 7 months ago

@rjrudin I was working on a custom NiFi processor that was going to use some types from the MarkLogic NARs. We revised our approach and no longer have that dependency, so the need has gone away.

rjrudin commented 7 months ago

Got it - would the "processors" jar have likely been sufficient then, as opposed to the nar file(s)?

dmcassel commented 7 months ago

Got it - would the "processors" jar have likely been sufficient then, as opposed to the nar file(s)?

Yes, I think so.