I am getting following error
root@gerrit:~/download-commands# mvn clean install -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.169s
[INFO] Finished at: Mon Apr 06 13:36:22 EDT 2015
[INFO] Final Memory: 5M/116M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/root/download-commands). Please verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (/root/download-commands). Please verify you invoked Maven from the correct directory.
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:89)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]
[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
root@gerrit:~/download-commands#
Error screenshot is also attached with this topic. Can anyone tell me how can i install it?
I have installed it and i restarted gerrit but still i didn't see the checkout and cherrypick links. Can you please help?
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I cleared the browser cache as well as i refreshed by clicking Ctrl + F5 but still it does not show the download commands moreover there is no Plugin in Plugin >> Installed menu but when i run java -jar ~/gerrit_installed_directory/bin/gerrit.war init and install download-commands plugin. It says that plugin is already installed. I don't understand if its installed why its not showing up? Please guide me in this
That means the plugin loaded successfully? or i am checking the wrong logs?
Okay i have restarted the server and i took a recent screenshot of the error logs i am attaching it with this message.. According to the logs it tried to load plugins from gerrit-directory/plugins. When i run ls ~/Gerrit_Directory/plugins its shows empty that means no plugin is there to load. I am not able to understand where the plugins are installed because when i run init again it says plugins are already installed
Okay here is how i run init. I started a terminal from my Linux server (where gerrit is installed) and i run init as ~/gerrit_example/bin/gerrit.war init