Without seeing your POM(s), it could be several things. Try posting your POMs here or as a GitHub gist.
On Fri, Jun 19, 2020 at 3:36 AM Etienne Jouvin <lapinoujou...@gmail.com> wrote: > Hello all. > > Do not know where to post the message, guide me if I should send to > another mailing list. > A simple summary in first step. > I created a simple project to build a new service. > I extend the nifi-nar-bundles artifact with version 1.11.4. > My project version is currently 0.0.1-SNAPSHOT. > > During NAR generation, it failed for the documentation with message : > org.apache.maven.plugin.MojoExecutionException: Failed to create Extension > Documentation > Caused by: org.apache.maven.plugin.MojoExecutionException: Could not > resolve local dependency org.apache.nifi:nifi-api:jar:0.0.1-SNAPSHOT > > I am currently looking in source code of nifi-maven project, specially > class ExtensionClassLoaderFactory. > > What I do not understand is why it searches for version 0.0.1-SNAPSHOT on > nifi-api, and not the version 1.11.4 > > Let me know if I should discuss about this in another thread. > > Regards > > Etienne >