Maven no building mirage dspace 6.3

263 views
Skip to first unread message

Wbeimar Cano Restrepo

unread,
Jul 16, 2021, 10:38:25 AM7/16/21
to DSpace Community
Hi.
I have a problem with building Mirage2 theme. 

     [echo] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
     [echo] GEM_PATH=${env.GEM_PATH}
     [echo] GEM_HOME=${env.GEM_HOME}
     [echo] mirage2.deps.included=true
     [echo] grunt.color.scheme=classic_mirage_color_scheme
     [echo] grunt.environment=prod
     [echo] source=/dspace_build/dspace-6.3-src-release/dspace/modules/xmlui-mirage2/src/main/webapp/themes/
[INFO] Executed tasks
[INFO] 
[INFO] --- gem-maven-plugin:1.0.6:initialize (default) @ xmlui-mirage2 ---
[INFO] Successfully installed sass-3.3.14
[INFO]     Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
[INFO] Successfully installed compass-1.0.1
[INFO] Successfully installed compass-core-1.0.3
[INFO] Successfully installed multi_json-1.15.0
[INFO] Successfully installed compass-import-once-1.0.5
[WARNING] ERROR:  Error installing /root/.m2/repository/rubygems/chunky_png/1.4.0/chunky_png-1.4.0.gem:
[WARNING] chunky_png requires Ruby version >= 2.0.
[INFO] Successfully installed rb-fsevent-0.11.0
[WARNING] ERROR:  Error installing /root/.m2/repository/rubygems/rb-inotify/0.10.1/rb-inotify-0.10.1.gem:
[WARNING] rb-inotify requires Ruby version >= 2.2.
[WARNING] ERROR:  Error installing /root/.m2/repository/rubygems/ffi/1.15.3/ffi-1.15.3.gem:
[INFO] 6 gems installed
[WARNING] ffi requires Ruby version >= 2.3.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for DSpace Parent Project 6.3:
[INFO] 
[INFO] DSpace Parent Project .............................. SUCCESS [  0.670 s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [  3.122 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [ 11.436 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [  0.011 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [  1.803 s]
[INFO] DSpace XML-UI (Manakin) ............................ SUCCESS [  5.957 s]
[INFO] DSpace XML-UI Mirage2 Theme ........................ SUCCESS [  0.142 s]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  FAILURE [ 27.243 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
[INFO] DSpace JSP-UI ...................................... SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED
[INFO] DSpace RDF ......................................... SKIPPED
[INFO] DSpace RDF :: Local Customizations ................. SKIPPED
[INFO] DSpace REST :: API and Implementation .............. SKIPPED
[INFO] DSpace REST :: Local Customizations ................ SKIPPED
[INFO] DSpace SWORD ....................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations ............... SKIPPED
[INFO] DSpace SWORD v2 .................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED
[INFO] Apache Solr Webapp ................................. SKIPPED
[INFO] DSpace SOLR :: Local Customizations ................ SKIPPED
[INFO] DSpace OAI-PMH ..................................... SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  50.892 s
[INFO] Finished at: 2021-07-16T03:13:27-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 -> [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] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :xmlui-mirage2
root@wbeimar-ThinkPad-T430:/dspace_build/dspace-6.3-src-release# 

Captura de pantalla de 2021-07-16 02-35-53.png

Jose Texier

unread,
Aug 11, 2021, 11:02:46 AM8/11/21
to DSpace Community
Hi, can you resolved this problem? I have same problem.

Any suggestions?
Thanks

Wbeimar Cano Restrepo

unread,
Dec 8, 2021, 10:03:39 PM12/8/21
to DSpace Community
Yes,

Solution this change de file $home/resource/dspace/modules/xmlui-mirage2/pom.xml

Reply all
Reply to author
Forward
0 new messages