[JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9551:
----------------------------------
Comment: was deleted
(was: Is this happening in Jenkins ?)
> 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 building Infinispan, 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)
6 years, 5 months
[JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-9551:
---------------------------------------
Looks like https://github.com/asciidoctor/asciidoctorj/issues/586
> 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 building Infinispan, 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)
6 years, 5 months
[JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9551:
--------------------------------
Workaround Description:
Use
{code:java}
-pl \!documentation
{code}
> 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 building Infinispan, 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)
6 years, 5 months
[JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9551:
--------------------------------
Description:
When building Infinispan, 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}
was:
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}
> 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 building Infinispan, 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)
6 years, 5 months
[JBoss JIRA] (ISPN-9551) Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9551?page=com.atlassian.jira.plugin.... ]
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)
6 years, 5 months