Hello,

There is a known issue that one of the Maven modules DSpace uses (in DSpace
6) seems to require *git* to be present on the filesystem.

Here's the bug ticket: https://jira.duraspace.org/browse/DS-3418

We are still looking for a volunteer to investigate this further and figure
out a solution. But, in the meantime, as described in the ticket, you can
do ONE of the following:

1) Install Git on your system: https://git-scm.com/downloads

OR

2) Comment out these lines in the dspace-api's "pom.xml" and rebuild
DSpace:
https://github.com/DSpace/DSpace/blob/master/dspace-api/pom.xml#L103-L115

The first solution (installing Git) is likely more correct for now, until
we find a way to work around the issue.

If anyone else is affected by this issue or has time to devote to debugging
it, we could use a volunteer on the ticket!

Tim

On Tue, Nov 28, 2017 at 12:04 AM Santosh Gupta <santosh.gup...@gmail.com>
wrote:

> This is the problem faced by many people. I tried to solve many ways but
> still, it is unresolved. If someone gets its solution, please mail me to
> santosh.gup...@gmail.com
>
>
> On Saturday, November 11, 2017 at 12:12:32 PM UTC+5:30, Arshad Iqbal wrote:
>>
>> [INFO] DSpace Kernel :: API and Implementation ............ FAILURE [
>> 4.487 s]
>> [INFO] DSpace Addon Modules ............................... SKIPPED
>> [INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
>> [INFO] DSpace XML-UI (Manakin) ............................ SKIPPED
>> [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] DSpace XML-UI Mirage2 Theme ........................ SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10.830 s
>> [INFO] Finished at: 2017-11-11T11:31:35+05:00
>> [INFO] Final Memory: 37M/329M
>> [INFO]
>> ------------------------------------------------------------------------
>> [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" (in
>> directory "/build/dspace-6.2-src-release/dspace-api"): error=2, No such
>> file or directory
>> [ERROR] -> [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 :dspace-api
>>
>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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