The given Link for Maven Project in Your Docs is not working.

Hello, when I try to run Maven Project in Eclipse IDE , this link http://svn.openmrs.org/openmrs/trunk is not working properly. Any little help is appreciated.

Can you share the link to the documentation that you are looking at such that we update it?

You could also take a look at this: https://wiki.openmrs.org/display/docs/OpenMRS+SDK

1 Like

This is the Link https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+in+Eclipse#UsingtheM2EclipseMavenPlugininEclipse-DevelopwithMaven

Sorry about the confusing outdated documentation. The project moved from svn to git https://github.com/openmrs/openmrs-core

Do you think you can edit that documentation to reflect this?

1 Like

I have followed the Official Readme file of OpenMRS and trying to execute cd openmrs-core/webapp mvn jetty:run commands in my terminal .

        [ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.3.v20150827:run (default-cli) on project openmrs-webapp: Failure: /home/vinay/openmrs-core/web/target -> [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.

Can you share the full log at pastebin.com?

1 Like

@tendomart and @ruhanga kindly help me update this document basing on the changes pointed out.

1 Like

Here are some screenshots of what is happening in terminal when I try to execute these commands cd openmrs-core/webapp mvn jetty:run

In your log, include the command that you typed

1 Like

I have typed these commands cd openmrs-core/webapp mvn jetty:run .

@jwnasambu noted

@vinay72 Run “mvn jetty:run -X” and give us the results

@tendomart I ran mvn jetty:run -X inside my terminal and it produces the following error [ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.3.v20150827:run (default-cli) on project openmrs-webapp: Failure: /home/vinay/openmrs-core/web/target -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.3.v20150827:run (default-cli) on project openmrs-webapp: Failure

@vinay72 put the whole error at hastebin.com

1 Like

Thanks @tendomart

1 Like