Makarov Vasiliy Nicolaevich created NIFI-7562:
-------------------------------------------------

             Summary: asciidoctor-maven-plugin error when buildin on windows
                 Key: NIFI-7562
                 URL: https://issues.apache.org/jira/browse/NIFI-7562
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Makarov Vasiliy Nicolaevich
         Attachments: log.txt

When building NiFi on windows I encounter such an error with 
_asciidoctor-maven-plugin:_

~_[INFO] BUILD FAILURE_~
~_[INFO] 
------------------------------------------------------------------------_~
~_[INFO] Total time:  01:22 min (Wall Clock)_~
~_[INFO] Finished at: 2020-06-11T13:42:20+03:00_~
~_[INFO] 
------------------------------------------------------------------------_~
~_[ERROR] Failed to execute goal 
org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc (output-html) 
on project nifi-docs: Execution output-html of goal 
org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc failed: 
(LoadError) no such file to load -- asciidoctor -> [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/PluginExecutionException_~
~_[ERROR]_~
~_[ERROR] After correcting the problems, you can resume the build with the 
command_~
~_[ERROR]   mvn <args> -rf :nifi-docs_~




I have temporarily resolved this issue by commenting out these rows in 
nifi-docs pom.xml:



<!-- <executions>-->
<!-- <execution>-->
<!-- <id>output-html</id>-->
<!-- <phase>prepare-package</phase>-->
<!-- <goals>-->
<!-- <goal>process-asciidoc</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- –>





Building with Java 1.8.0_211-b12, but I also have tried with newer versions of 
Java 14.

Maven version:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin\..
Java version: 1.8.0_211, vendor: Oracle Corporation, runtime: C:\Program 
Files\Java\jdk1.8.0_211\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Attached whole log file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to