Skip to content

Instantly share code, notes, and snippets.

@abelsromero
Created March 16, 2016 07:05
Show Gist options
  • Select an option

  • Save abelsromero/356d18af5fe56087dd1e to your computer and use it in GitHub Desktop.

Select an option

Save abelsromero/356d18af5fe56087dd1e to your computer and use it in GitHub Desktop.
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Asciidoctor PDF with theme Maven example 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ asciidoctor-pdf-with-theme-example ---
[INFO] Deleting C:\home\bin\cygwin64\home\ABEL.SALGADOROMERO\github\asciidoctor-maven-examples\asciidoctor-pdf-with-theme-example\target
[INFO]
[INFO] --- gem-maven-plugin:1.0.10:initialize (default) @ asciidoctor-pdf-with-theme-example ---
[INFO] Successfully installed prawn-2.0.2
[INFO] Successfully installed ttfunk-1.4.0
[INFO] Successfully installed pdf-core-0.6.1
[INFO] Successfully installed rouge-1.10.1
[INFO] 4 gems installed
[INFO]
[INFO] --- asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc-custom-theme) @ asciidoctor-pdf-with-theme-example ---
[WARNING] Using inherited external environment to resolve gems (C:/home/bin/cygwin64/home/ABEL.SALGADOROMERO/github/asciidoctor-maven-examples/asciidoctor-pdf-with-theme-example/target/gems-provided), i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.612 s
[INFO] Finished at: 2016-03-16T08:04:14+01:00
[INFO] Final Memory: 64M/387M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc-custom-theme) on project asciidoctor-pdf-with-theme-example: Execution generate-pdf-doc-custom-theme of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc failed: org.jruby.exceptions.RaiseException: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc-custom-theme) on project asciidoctor-pdf-with-theme-example: Execution generate-pdf-doc-custom-theme of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc failed: org.jruby.exceptions.RaiseException: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate-pdf-doc-custom-theme of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc failed: org.jruby.exceptions.RaiseException: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: org.asciidoctor.internal.AsciidoctorCoreException: org.jruby.exceptions.RaiseException: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
at org.asciidoctor.internal.JRubyAsciidoctor.renderFile(JRubyAsciidoctor.java:345)
at org.asciidoctor.maven.AsciidoctorMojo.renderFile(AsciidoctorMojo.java:289)
at org.asciidoctor.maven.AsciidoctorMojo.execute(AsciidoctorMojo.java:180)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
Caused by: org.jruby.exceptions.RaiseException: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
at RUBY.require_library(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/helpers.rb:30)
at RUBY.convert_listing_or_literal(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:948)
at RUBY.convert(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96)
at RUBY.convert(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:71)
at RUBY.block in content(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80)
at org.jruby.RubyArray.map(org/jruby/RubyArray.java:2300)
at RUBY.content(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80)
at RUBY.convert_content_for_block(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:112)
at RUBY.convert_section(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:323)
at RUBY.convert(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96)
at RUBY.convert(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:71)
at RUBY.block in content(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80)
at org.jruby.RubyArray.map(org/jruby/RubyArray.java:2300)
at RUBY.content(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80)
at RUBY.content(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1104)
at RUBY.convert_content_for_block(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:112)
at RUBY.convert_document(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:163)
at RUBY.convert(uri:classloader:/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96)
at RUBY.convert(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1044)
at RUBY.convert(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor.rb:1503)
at RUBY.convert_file(uri:classloader:/gems/asciidoctor-1.5.4/lib/asciidoctor.rb:1576)
at RUBY.convertFile(<script>:68)
[ERROR]
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment