[infinispan-issues] [JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
Diego Lovison (JIRA)
issues at jboss.org
Thu Sep 27 09:53:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639537#comment-13639537 ]
Diego Lovison commented on ISPN-9551:
-------------------------------------
I decided to remove the "Blocker" because we can skip the documentation using "-pl \!documentation" and it could be something related to the environment. It worked on my local environment and failed on our Jenkins server.
> Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
> ---------------------------------------------------------------
>
> Key: ISPN-9551
> URL: https://issues.jboss.org/browse/ISPN-9551
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
>
> When build Infinispan in a fresh ( remove .m2 folder ) machine, the build is failing.
> mvn clean install -f pom.xml -s settings.xml -DskipTests=true -Dcheckstyle.skip -Pdistribution
> {noformat}
> [INFO] Infinispan Documentation ........................... FAILURE [01:33 min]
> [INFO] Infinispan Doclets ................................. SKIPPED
> [INFO] Infinispan JavaDoc Embedded ........................ SKIPPED
> [INFO] Infinispan JavaDoc Remote .......................... SKIPPED
> [INFO] Infinispan JavaDoc All ............................. SKIPPED
> [INFO] Infinispan Distribution ............................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16:35 min
> [INFO] Finished at: 2018-09-27T09:10:16-04:00
> [INFO] Final Memory: 931M/1703M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.6:process-asciidoc (pdf) on project infinispan-docs: Execution pdf of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.6:process-asciidoc failed: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `encoding' for nil:NilClass -> [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 <goals> -rf :infinispan-docs
> + '[' 1 '!=' 0 ']'
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list