ccavanaugh / jgnash

jGnash Personal Finance
http://ccavanaugh.github.io/jgnash/
Other
139 stars 80 forks source link

maven installation error #13

Closed DragFAQ closed 7 years ago

DragFAQ commented 8 years ago

In building jGnash section written "Before running the main build, the Maven-based jgnash-help project must be built and installed into your local Maven repository". "cd jgnash-help. mvn install" When I do it, I receive an error

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jGnash Help 2.25.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc) @ jgnash-help ---
io/console not supported; tty will not be manipulated
▒▒▒ 04, 2016 3:34:34 PM org.asciidoctor.internal.JRubyAsciidoctor renderFile
SEVERE: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.041 s
[INFO] Finished at: 2016-09-04T15:34:34+03:00
[INFO] Final Memory: 68M/469M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc) on project jgnash-help: Execution generate-pdf-doc 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]
[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
ccavanaugh commented 7 years ago

What OS / platform are you using?

DragFAQ commented 7 years ago

Windows 10 x64

ccavanaugh commented 7 years ago

The build documentation has been updated. With the change to the help system, the extra build step is not required. Tested under Windows 10.

DragFAQ commented 7 years ago
drag@DESKTOP-8KA05HT MINGW64 /c/Work/java/jgnash (master)
$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jGnash
[INFO] jGnash Bayes
[INFO] jGnash Help
[INFO] jGnash Resources
[INFO] jGnash Core
[INFO] jGnash Report Core
[INFO] jGnash Convert
[INFO] jGnash Plugin
[INFO] JIDE Software
[INFO] jGnash Swing
[INFO] jGnash JavaFx
[INFO] mt940 Plugin
[INFO] jGnash Test Plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jGnash 2.25.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jGnash Bayes 2.25.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jgnash-bayes ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Work\java\jgnash\jgnash-bayes\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jgnash-bayes ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jgnash-bayes ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Work\java\jgnash\jgnash-bayes\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ jgnash-bayes ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jgnash-bayes ---
[INFO] Surefire report directory: C:\Work\java\jgnash\jgnash-bayes\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jgnash.bayes.BayesClassifierTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jgnash-bayes ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jGnash Help 2.25.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc) @ jgnash-help ---
io/console not supported; tty will not be manipulated
▒▒▒ 19, 2016 12:20:22 PM org.asciidoctor.internal.JRubyAsciidoctor renderFile
SEVERE: (RuntimeError) asciidoctor: FAILED: required gem 'rouge' is not installed. Processing aborted.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jGnash ............................................. SUCCESS [  0.004 s]
[INFO] jGnash Bayes ....................................... SUCCESS [  4.539 s]
[INFO] jGnash Help ........................................ FAILURE [ 20.300 s]
[INFO] jGnash Resources ................................... SKIPPED
[INFO] jGnash Core ........................................ SKIPPED
[INFO] jGnash Report Core ................................. SKIPPED
[INFO] jGnash Convert ..................................... SKIPPED
[INFO] jGnash Plugin ...................................... SKIPPED
[INFO] JIDE Software ...................................... SKIPPED
[INFO] jGnash Swing ....................................... SKIPPED
[INFO] jGnash JavaFx ...................................... SKIPPED
[INFO] mt940 Plugin ....................................... SKIPPED
[INFO] jGnash Test Plugin ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.266 s
[INFO] Finished at: 2016-09-19T12:20:22+03:00
[INFO] Final Memory: 69M/471M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc (generate-pdf-doc) on project jgnash-help: Execution generate-pdf-doc 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]
[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 :jgnash-help

drag@DESKTOP-8KA05HT MINGW64 /c/Work/java/jgnash (master)
$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

drag@DESKTOP-8KA05HT MINGW64 /c/Work/java/jgnash (master)
$ ant -v
Apache Ant(TM) version 1.9.7 compiled on April 9 2016
Trying the default build file: build.xml
Buildfile: build.xml does not exist!
Build failed

drag@DESKTOP-8KA05HT MINGW64 /c/Work/java/jgnash (master)
$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00)
Maven home: C:\Program Files\Java\maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_101\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"