Hi Subhash,

(snipping the rest of this thread and subject as it does not seem related 
to the other messages about maven errors)

You need to be in the main DSpace source directory when you run maven 
commands. So for example, if you extracted the DSpace 6.2 release package 
into C:\Projects\DSpace (for example), then you you'd have a directory like 
*C:\Projects\DSpace\dspace-src-6.2-release* . This is often referred to as 
${dspace-src} or [dspace-src] in documentation.

If you can change to your own ${dspace-src} directory before running "mvn 
package", you should have more success.

(and remember, after the mvn package completes, you need to change to 
*${dspace-src}\dspace\target\dspace-installer* before running the ant 
commands

The DSpace wiki has some good installation documentation which I recommend 
reading and keeping around as a reference while you are installing: 
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace

Cheers!

Kim


On Sunday, 1 April 2018 09:52:59 UTC+12, [email protected] wrote:
>
> hi have some error while run command mvn package (try to install window 
> based Dspace software)
>
> C:\Program Files (x86)\Java\jdk1.8.0_144>mvn package
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 0.203 s
> [INFO] Finished at: 2018-03-31T13:49:39+05:30
> [INFO] Final Memory: 4M/15M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] The goal you specified requires a project to execute but there is 
> no POM in this directory (C:\Program Files (x86)\Java\jdk1.8.0_144). 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
> 'cmd' is not recognized as an internal or external command,
> operable program or batch file.
>
>
> please solve my this error.
>
> its urgently.
>
>
> subhash mayangade
>
> [email protected]
>
>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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