Running the ZK essentials maven project from eclipse - zk

I usually can run zk apps on the server but the essentials app is a maven project and I cant see that option in zk studio (in eclipse).
How do I run it in eclipse?

Install the m2e plugin from the marketplace. It will give you additional options in the Run menu like "Maven install".
Note that Maven is a build tool, not a run tool. Maven only manages the classpath for you. You can then use the normal "Run as ..." of Eclipse to start it.
EDIT When you have m2e, make sure you import the project using "Import Maven project". M2e will then configure all the aspects, facets and natures.
If you already have the project imported, try "Update Project..."
If that doesn't work, try to enable the "Web Project Facet". See this blog post for details: http://www.mkyong.com/java/how-to-convert-java-project-to-web-project-in-eclipse/

I have installed m2e plugin on Eclipse Juno without any problem.
Have you tried install m2e plugin before install other plugins? it
will give you maven install option .
first of all, goto help menu then eclipse marketplace search
m2e plugin in eclipse juno/ kepler version and install the m2e plugin

Related

Maven found missing in Eclipse IDE (Mars) after installing m2e-egit

unable to create a maven project after installing the m2e-egit plugin; Obviously I don't see the maven option under Eclipse > Window > preferences
Tool used:
Eclipse Java EE IDE for Web Developers.
Version: Mars Release (4.5.0)
Try this :
Firstly, for Maven:
Eclipse > Help > Install new software and add http://download.eclipse.org/technology/m2e/releases.
Secondly, for m2e-egit:
Eclipse > Help > Install new software and add
https://repository.takari.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/.
Because the version of m2e-egit in the Marketplace is outdated
Now restart eclipse.
It perfectly worked for me (Mars Version).
I had this same issue with m2eclipse-scala. I tracked the issue down to what seems to be multiple installs of the m2e plugin, one explicit and one implicit. This plugin gets installed by m2eclipse-scala if it's not already there (perhaps similarly to how m2e-egit operates). The base version of Eclipse that I'm using does NOT show m2e installed under Window > Installation Details, but all of the Maven buttons and toolbars are already present, and explicitly installing m2e makes them disappear.

I need to get maven folder while creating project

I have downloaded maven 3.x successfully but when I am opening eclipse ide File > New > Project and need to select maven project then I am not able to view the maven folder itself .I dont know whether I need m2e plugin or what as I am new to this .Please guide me on this.
Open Help - Eclipse Marketplace in Eclipse and then enter m2e or maven plugin. It depends on your eclipse version, what to install.
But there are also a lot of eclipse bundles, which already include the maven plugin like the Java EE version.

Maven eclipse integraton

I'm trying to install Maven Eclipse plugin M2E, but it's update site is here isn't working.
Others Maven plugins at Eclipse Marketplace are showing the 'Not found' page too.
Since Eclipse 4.3.x the Maven integration can be installed directly from the default Eclipse update site that also ships all the other standard Eclipse plugins.

Maven menu disappears after installing m2e 1.0

i installed m2e 1.0 latest version from here
http://download.eclipse.org/technology/m2e/releases
i had to remove the old maven integration for eclipse, and the maven integration for eclipse WTP
after installing this latest version, and restarting eclipse, i found that the maven menu disappears from the right click on project, so i though that i need the m2e extras, but i couldn't found a compatible version, please advise.
The new Maven plugin uses different project metadata (due to the move to Eclipse foundation and new package names). So it doesn't recognize older Maven projects. You have to enable Maven for every project again to create the new metadata. To do this, right click on the project, choose "Configure" and then "Convert to Maven project". Now the "Maven" submenu should appear.
What version of Eclipse are you running? In the download page they are saying that m2e is tested against Eclipse 3.6 (Helios) and 3.7 (Indigo).

Maven plugin install with Eclipse

I am new to Maven, I have to install maven plugin in eclipse. I am facing some issues in the same, as the inputs I am getting different sites are not working.
I have also gone through existing posts like this, which talks about running the command like :
mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code
-DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar
but where do I run this command ??
This site talks about adding as parameter maven.repo.remote like :
maven -DartifactId=maven-eclipse-plugin-plugin -DgroupId=mevenide -Dversion=0.3.1 plugin:download
BUt where are these parameter set ??
Please can someone help me with pointing some good resource, which gives easy steps to install maven plugin in eclipse?
My eclipse version: indigo release, Java EE IDE.
If you are running eclipse Indigo for Java EE you can install the missing m2e plugin this way:
Help-> Install new software -> Work with: Indigo -> General Purpose Tools -> m2e
See also: Where is m2eclipse?
Start with Eclipse Indigo Java EE edition
m2e is the maven integration for Eclipse. Install this plugin in the IDE.
Import maven project if you have any or create a new one
mvn install:install-file is used to install maven artifacts in local repository, if it cannot be automatically downloaded and installed by maven. This is not normally required, but if you have to do this, you can go to Run as -> Run Configurations... and create an appropriate Maven Build configuration.
maveide is not maintained and not to be referred.
In the Indigo release, Maven is already included by the eclipse plugin m2e. At the plugins website, you will find plenty of material. The steps are normally:
Install eclipse with m2e
Install separately a current maven version (depending on what you need, Maven 2.2.x or Maven 3.0.x)
Configure your installed Maven inside Eclipse due to the documentation. Do that in the section Window > Preferences > Maven > Installations. If that is not visible in Eclipse, you first have to install m2e with the normal installation procedure: Help > Install New Software > Work with: Indigo > Filter text: m2e > Collaboration > m2e. Then next, next, next ...
Hope that helps.
Eclipse > Help > Eclipse Marketplace...
Search for m2e
Install Maven Integration for Eclipse (Juno and newer). [It works for Indigo also]