Maven installation issue as after installing MAVEN and setting up the environment variable etc. when i try to un on CMD prompt then i am getting an error:---(Please refer screenshot for more info)
Help me out guys and please describe the steps in detail to rectify the issue.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3
.1:install (default-cli): Goal requires a project to execute but there is no POM
in this directory (C:\Users\Administrator). Please verify you invoked Maven fro
m the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProject
Exception
C:\Users\Administrator>mvn install:install-file -Dfile=path-to-your-artifact-jar
-DpomFile=path-to-pom
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-po
m ---