Hi there. I think my issue is related to this thread: https://www.mail-archive.com/dev@nifi.apache.org/msg17623.html And this SO: https://stackoverflow.com/questions/60670370/could-not-generate-extensions-documentation-when-creating-custom-controller-ser
I have this in my nifi-*-nar pom.xml <!-- https://mvnrepository.com/artifact/org.apache.nifi/nifi-standard-services-api-nar --> <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-standard-services-api-nar</artifactId> <version>1.20.0</version> <type>nar</type> </dependency> Still it is failing and asks for dependencies not directly related to my project (I’m assuming they’re nifi deps). · javax.annotation:javax.annotation-api:jar:1.3.2 · org.apache.taglibs:taglibs-standard-impl:jar:1.2.5 · org.apache.taglibs:taglibs-standard-spec:jar:1.2.5 · org.eclipse.jdt:ecj:jar:3.19.0 · org.eclipse.jetty:apache-jsp:jar:9.4.50.v20221201 · etc… [INFO] --- nifi-nar:1.4.0:nar (default-nar) @ nifi-bdcore-nar --- [INFO] Generating documentation for NiFi extensions in the NAR... [INFO] Found NAR dependency of org.apache.nifi:nifi-standard-services-api-nar:nar:1.20.0:compile [INFO] Found NAR dependency of org.apache.nifi:nifi-jetty-bundle:nar:1.20.0:compile [INFO] Found a dependency on version 1.20.0 of NiFi API [ERROR] Could not generate extensions' documentation org.apache.maven.plugin.MojoExecutionException: Failed to create Extension Documentation at org.apache.nifi.NarMojo.generateDocumentation (NarMojo.java:541) at org.apache.nifi.NarMojo.execute (NarMojo.java:512) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) Caused by: org.apache.maven.plugin.MojoExecutionException: Could not resolve local dependency org.eclipse.jetty:apache-jsp:jar:9.4.50.v20221201:compile at org.apache.nifi.extension.definition.extraction.ExtensionClassLoaderFactory.toURLs (ExtensionClassLoaderFactory.java:330) at org.apache.nifi.extension.definition.extraction.ExtensionClassLoaderFactory.createClassLoader (ExtensionClassLoaderFactory.java:272) at org.apache.nifi.extension.definition.extraction.ExtensionClassLoaderFactory.createClassLoader (ExtensionClassLoaderFactory.java:120) at org.apache.nifi.extension.definition.extraction.ExtensionClassLoaderFactory.createClassLoader (ExtensionClassLoaderFactory.java:120) at org.apache.nifi.extension.definition.extraction.ExtensionClassLoaderFactory.createExtensionClassLoader (ExtensionClassLoaderFactory.java:99) at org.apache.nifi.NarMojo.generateDocumentation (NarMojo.java:538) at org.apache.nifi.NarMojo.execute (NarMojo.java:512) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for nifi-bdcore-bundle 1.0.0: [INFO] [INFO] nifi-bdcore-bundle ................................. SUCCESS [ 3.814 s] [INFO] nifi-bdcore-processors ............................. SUCCESS [ 3.048 s] [INFO] nifi-bdcore-nar .................................... FAILURE [ 0.544 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.696 s [INFO] Finished at: 2023-10-30T18:05:12Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.nifi:nifi-nar-maven-plugin:1.4.0:nar (default-nar) on project nifi-bdcore-nar: Failed to create Extension Documentation: Could not resolve local dependency org.eclipse.jetty:apache-jsp:jar:9.4.50.v20221201:compile -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :nifi-bdcore-nar [cid:17261f6184a4cff311] Kyle Nguyen Corporate Technology, Software Engineer Millennium Management LLC 399 Park Avenue | New York, NY 10022 📞 +1.212.708.1366 | 📱 +1.929.837.1788 mlp.com<https://www.mlp.com/home/> ###################################################################### The information contained in this communication is confidential and may contain information that is privileged or exempt from disclosure under applicable law. If you are not a named addressee, please notify the sender immediately and delete this email from your system. If you have received this communication, and are not a named recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ######################################################################