mvn related error in dspace installation

24 views
Skip to first unread message

zizu zazwaz

unread,
Aug 30, 2020, 2:00:19 PM8/30/20
to DSpace Technical Support
I was installing dspace 6.3 on windows 10.

Everything from 
  1. java (jdk-8u261-windows-x64), 
  2. apache-maven-3.6.3-bin, 
  3. apache-ant-1.10.8-bin to 
  4. postgresql -10.13-2-windows-x64 (created user, database and extension) and 
  5. tomcat (apache-tomcat-10.0.0-M7), it is running
  6. Git are all properly installed. 

The problem comes during DSpace installation (mvn package).
I got the following error.
I am a beginner and I couldn't understand the message. 
How can I fix that error, please?
Anyone for this solution, please?
Thank you very much!

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.212 s
[INFO] Finished at: 2020-08-31T02:11:59+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\zizuw). Please verify you invoked Maven from the correct directory. -> [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:

C:\Users\zizuw>


José Geraldo

unread,
Aug 31, 2020, 8:43:11 AM8/31/20
to zizu zazwaz, DSpace Technical Support
Hi,

Verify if the maven is run in source Dspace directory.

Build the Installation Package: As the dspace UNIX user, generate the DSpace installation package.

cd [dspace-source]
mvn package

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/d9d12ecf-b873-44b7-9678-06d3b0ac9331n%40googlegroups.com.


--
At.te,

José Geraldo


Livre de vírus. www.avast.com.

Paul Münch

unread,
Aug 31, 2020, 10:10:47 AM8/31/20
to dspac...@googlegroups.com
Hello,


> Please verify you invoked Maven from the correct directory.

as the error message mentioned, you have to run the 'mvn'-command in the DSpace-Source directory; cf. https://wiki.lyrasis.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Installation (section 7)

I hope this helps and kind regards,

Paul Münch

Am 30.08.20 um 20:00 schrieb zizu zazwaz:
Reply all
Reply to author
Forward
0 new messages