MVN Package not working

38 views
Skip to first unread message

CENTRAL LIBRARY

unread,
Oct 7, 2021, 7:44:19 AM10/7/21
to DSpace Technical Support
Dear Sir,

I have tried to install Dspace on Ubantu 20 . I have some problems with installing MVN Package pl guide me.

Following error 

must@dspace:~$ mvn -U Package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.141 s
[INFO] Finished at: 2021-10-07T16:15:21+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/must). 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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

Gavin Spomer

unread,
Oct 7, 2021, 10:49:11 AM10/7/21
to DSpace Technical Support
It looks like you tried to use Maven from your home directory. You need to cd to the correct directory which is the one you downloaded the DSpace software to.

For example, I installed DSpace in /usr/local/. So, for me I do:

   cd /usr/local/dspace-6.3-release 

   mvn package

Hope this helps.

 - Gavin 

Tim Donohue

unread,
Oct 18, 2021, 11:15:26 AM10/18/21
to DSpace Technical Support, CENTRAL LIBRARY
It looks like you didn't run Maven from the directory where you downloaded DSpace.  See the error message it returned:

"Please verify you invoked Maven from the correct directory"

Tim

From: 'CENTRAL LIBRARY' via DSpace Technical Support <dspac...@googlegroups.com>
Sent: Thursday, October 7, 2021 5:51 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] MVN Package not working
 
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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/f7a9b189-a3e9-4a2f-be22-1ed1171fdebcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages