Dear All,
I am following instructions on this page:-
When I do mvn package as root I don't get the following error.
However when I do mvn package as unix user dspace I get the following error:-
[INFO] Reactor Summary for DSpace Parent Project 6.3:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [ 1.209 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [ 0.038 s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [ 6.209 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SUCCESS [ 15.203 s]
[INFO] DSpace JSP-UI :: Local Customizations .............. SUCCESS [ 7.210 s]
[INFO] DSpace RDF :: Local Customizations ................. SUCCESS [ 6.657 s]
[INFO] DSpace REST :: Local Customizations ................ SUCCESS [ 8.845 s]
[INFO] DSpace SWORD :: Local Customizations ............... SUCCESS [ 6.799 s]
[INFO] DSpace SWORD v2 :: Local Customizations ............ SUCCESS [ 6.757 s]
[INFO] DSpace SOLR :: Local Customizations ................ FAILURE [ 3.155 s]
[INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:02 min
[INFO] Finished at: 2020-02-26T17:04:45+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project solr: Failed to copy file for artifact [org.dspace:dspace-solr:jar:classes:6.3:compile]: /home/dspace/dspace-6.3-release/dspace/modules/solr/target/solr-6.3/WEB-INF/lib/dspace-solr-6.3-classes.jar (Permission denied) -> [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/MojoExecutionException[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :solr
$
Also in BOTH cases I get this warning :-
Can someone please help me ?
Thank you,
Ashim