Installing DSpace 6.0 without git : Maven build error

547 views
Skip to first unread message

Devaux Cédric

unread,
Dec 5, 2016, 9:39:40 AM12/5/16
to dspac...@googlegroups.com
Hello,
 
When installing DSpace 6.0 ( default theme, not Mirage 2 theme), an error has occurred at the step "7.Build the Installation Package : mvn clean package" because git is not installed  :
[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project dspace-api: Cannot get the revision information from the scm repository :
[ERROR] Exception while executing SCM command. Error while executing command. Error while executing process. Cannot run program "git"
 
This error disappears if I remove from [dspace-source]dspace-api\pom.xml, the lines about buildnumber-maven-plugin (<plugin>…) and the installation of DSpace 6.0 seems OK.
I haven't investigate the consequences of the removal.
So, Git has to be installed for Dspace 6.0  (XMLUI and JSPUI default theme) or buildnumber-maven-plugin has to be removed from pom?
 
Regards,
Cedric

Terry Brady

unread,
Dec 7, 2016, 3:12:20 PM12/7/16
to DSpace Technical Support, cedric...@insee.fr
A ticket has been created in the DSpace proejct to track this issue.

Devaux Cédric

unread,
Dec 8, 2016, 4:39:41 AM12/8/16
to DSpace Technical Support, Terry Brady
Thanks.
(This error occured when installing DSpace 6.0 from Source Release : dspace-6.0-src-release.zip, I haven't tested from Binary Release : dspace-6.0-release.zip)
 
Regards,
Cedric 


De : Terry Brady [mailto:tw...@georgetown.edu]
Envoyé : mercredi 7 décembre 2016 21:12
À : DSpace Technical Support
Cc : Devaux Cédric
Objet : Re: Installing DSpace 6.0 without git : Maven build error

Reply all
Reply to author
Forward
0 new messages