run maven project form github in eclipse - maven

I have imported a Git project from this url to my Eclipse.
How can I run this project? I am not familiar to maven and javaEE. please guide me to run this project. I am confused.
I have installed eclipse javaEE Kepler. but i do not know how to configure this project to run? what is type of my run? maven build or junit?

Related

Can't build project through intellij-idea with maven, but through console command "mvn package" build successful

I got a project written in java EE 5.
I use:
Java 7
Maven 3.5.4
idea 2018.2.5x64
When you build a project through idea, the project is not built.
enter image description here
But when I run the mvn package through console, the process completes successfully
Help me please for this issue.
Try to update your maven dependencies in Intellij. Usually you should see a prompt asking you to do that.
Read this for more details on updating dependencies: How can I make IntelliJ IDEA update my dependencies from Maven?

Installing maven and the maven eclipse plugin?

I installed maven from here: http://maven.apache.org/download.cgi
and also installed plugin for eclipse from the eclipse marketplace.
This is a really dumb question, but what's the difference between the two?
both are same thing ? or for differnet purposes ?
do we need both on system ?
Maven itself is the software you can use on your machine. It has nothing to do with Eclipse. You can use it from the command line with the mvn command to execute Maven goals on your projects in the file system.
The Maven Eclipse plugin (m2e) integrates Maven with Eclipse so you can comfortably use Maven functionality from inside Eclipse rather than using Maven as an external tool. The plugin just integrates Maven with Eclipse and needs a Maven installation to work. You can configure the plugin to use the Maven installation on your system but there is no need for one. It can use it's own internal "installation" of the actual Maven software. This would be basically the same as you can download and install yourself but it is integrated with the plugin. It therefor can't be used outside Eclipse.

how to build and deploy sakai cle 2.9.x in eclipse

I have imported "sakai" project into eclipse.
How do I build and deploy automatically in "Sakai 2.9.x" in eclipse?
Building from within eclipse is not recommended. We would suggest that you build from the maven command line. However, I think this is answered here: How to build and run Maven projects after importing into Eclipse IDE

Can Jenkins issue a "maven jboss-as:deploy" on my project?

I am trying to use Jenkins and Selenium for CI with my Spring Project that I will be running in AS7.
I would like to know if I can get Jenkins to issue a "maven jboss-as:deploy" command line on my project to deploy it to my AS7 server.
Can someone please let me know if this can be done..
No need to involve Jenkins here. Just add the jboss-as:deploy plugin to your pom.xml, bound to the pre-integration-test phase of your build. Then when you run mvn install (either locally or on Jenkins), your war will be deployed to the AS7 server.

Using maven jetty plugin in multi-module project under Eclipse

I am working on a simple multi module maven project under Eclipse using m2eclipse with maven 3 and jetty plugin version 7. One of my module is a jar and the other module is a war which has a dependency on the jar.
Even though the workspace dependency resolution is enabled, the call to mvn jetty:run fails if I don't run mvn install before.
Having read about workspace dependency, I am not sure why a call to mvn install is required. I would like to be able to run the jetty plugin without installing the artifacts to my local repository. Is it possible?
Thanks in advance.
There is an integration module between m2eclipse and the WTP (Web Tool Platform).
WTP allow starting Jetty/Tomcat/... from Eclipse, debugging inside Eclipse, redeploy on change,...
Here is it: m2eclipse Extras

Resources