Hi folks

I have a strange issue, which I'm struggling to resolve. When I run "mvn 
package -Dmirage2.on=true" to build a 5.6 installer, the build falls over 
at the point of ...
.....
[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.12.1
[INFO] Successfully installed compass-import-once-1.0.5
[INFO] Successfully installed chunky_png-1.3.8
[INFO] Successfully installed rb-fsevent-0.9.8
[INFO] Successfully installed rb-inotify-0.9.10
[INFO] Successfully installed ffi-1.9.18-java
[INFO] 9 gems installed
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies 
(unpack-dependencies) @ xmlui-mirage2 ---
[INFO] Unpacking 
/Users/srenton1/dSpaceProjects/dspace-sdlc56-rgu/dspace-xmlui-mirage2/target/dspace-xmlui-mirage2-5.6.war
 
to 
/Users/srenton1/dSpaceProjects/dspace-sdlc56-rgu/dspace/modules/xmlui-mirage2/target/mirage2-source-extracted
 
with includes "" and excludes "WEB-INF/**,META-INF/**"
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ xmlui-mirage2 
---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
xmlui-mirage2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/Users/srenton1/dSpaceProjects/dspace-sdlc56-rgu/dspace/modules/xmlui-mirage2/src/main/resources
[INFO] 
[INFO] --- maven-resources-plugin:2.6:copy-resources (default) @ 
xmlui-mirage2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/Users/srenton1/dSpaceProjects/dspace-sdlc56-rgu/dspace/modules/xmlui-mirage2/src/main/webapp/themes
[INFO] skip non existing resourceDirectory 
/Users/srenton1/dSpaceProjects/dspace-sdlc56-rgu/dspace/modules/xmlui-mirage2/src/main/webapp/themes
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
xmlui-mirage2 ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) 
@ xmlui-mirage2 ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
xmlui-mirage2 ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ xmlui-mirage2 
---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- iterator-maven-plugin:0.3:iterator (default) @ xmlui-mirage2 ---
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] DSpace Parent Project .............................. SUCCESS [  
0.795 s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [  
2.279 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [ 
12.101 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [  
0.073 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [  
4.862 s]
[INFO] Atmire statistics exporter ......................... SUCCESS [  
0.062 s]
[INFO] Atmire statistics exporter API ..................... SUCCESS [  
0.475 s]
[INFO] DSpace XML-UI (Manakin) ............................ SUCCESS [  
9.200 s]
[INFO] DSpace XML-UI Mirage2 Theme ........................ SUCCESS [  
0.322 s]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  FAILURE [ 
42.706 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED


with 

[ERROR] Failed to execute goal 
com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default) on 
project xmlui-mirage2: Execution default of goal 
com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator failed. 
NullPointerException -> [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 :xmlui-mirage2


This only happens on one branch (the one I'm interested in, inevitably). If 
I run it on the unblemished master branch (i.e. fresh DSpace), it succeeds, 
so I think that issues previous users have had regarding dependencies such 
as node, npm, grunt, compass, bower etc are probably not the issue (I'm 
pretty up-to-date with all of them). That said, I have colleagues who CAN 
get a successful build on this branch, so I don't know if it's a 
combination of the code and our set-ups. I'm picking up changes from 
someone who's now left, unfortunately, but I don't think he would have been 
doing anything that would necessarily have gone into this area. I've been 
running DSpace builds with Mirage2 on version 4 for three years with no 
such issues.

If there's anything anyone can think of that may help me find out where 
this is going wrong, it'd be really useful.

Thanks very much in advance!
Scott




-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to