Eclipse File>Import "Other" missing for Maven 2 plugin - eclipse

In attempting to follow the instructions on Using Eclipse with Maven in order to use Scala and Lift:
You’ll need to download and install Eclipse for Java or Java EE.
I first installed Eclipse on lubuntu 11.10 using the Synaptic Package Mananger.
The version I am using is "Eclipse Platform Version: 3.7.0 Build id: I20110613-1736". Then the instructions say to install M2Eclipse:
Then install the M2Eclipse, Scala IDE, and M2Eclipse-Scala plugins.
So I followed the link to M2Eclipse where there is a video which says to use "File>Import" which should display a list of choices which includes "Other" in the "Import" window. These instructions are at time stamp "00:55" in the video. My "Import" window only lists "-General -CVS -Install-Pligin -Plugin-Development -Run/Debug -Team".
What am I missing?

Not all Eclipse versions have Maven2 preinstalled. You can check if it is installed in Eclipse via menu Help > About Eclipse. Check if there is an icon with the text m2, or alternatively click on "Installation details" and check the "Features" tab.
After you've installed it you will have new options in the File > Import menu.
Install M2Eclipse via menu Help > Install new software. Then click on the add button and add a site with location http://m2eclipse.sonatype.org/sites/m2e. Wait until contents are retrieved and check the items you want to install.

Related

Can not find "GWT Eclipse Plugin" in Eclipse marketplace to install it

I have installed Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2022-12 (4.26.0) and Build id: 20221201-1913, when I open Eclipse marketplace and search for gwt it can not find GWT Eclipse Plugin, so I am unable to install it.
I tried other ways like drag n drop the install button from Use the Drag and Drop Install Button and it didn't worked,
also I tried adding the url http://storage.googleapis.com/gwt-eclipse-plugin/v3/release via Help->Install New Software... menu and I encountered with error that the url is not reachable.
Today is 12/27/2022 and I have seen reports that the url was available in some time frames but now it is unavailable.
Finally after many try and error I found how to add GWT Eclipse Plugin
1-Download the released package from
http://storage.googleapis.com/gwt-eclipse-plugin/v3/downloads/repo-3.0.0.zip
2- From Help->Install New Software... select a name and select the
downloaded zip file, then you were able to see GWT EClipse Plugin and
Google SDK option, the next steps is straight.

Unable to create JFrame even i installed Windowbuilder in my Eclipse IDE

I have already installed Windowbuilder in my eclipse IDE Mars it worked fine before, but after Eclipse latest changes i am unable to install windowsbuilder with the provided URL of specific IDE Windowbuilder. later i figured out that we must install the Windowbuilder by downloading the repository.zip file. i have downloaded and installed it but still unable to create a JFrame in my Java Project. But what i am confused is i am able to paste a SWT/AWT code in a simple Java Class file and able to execute it.
have installed the repository .zip
No JFrame found after installation.
updated error
GO this route as it has worked for me: Go to help menu in eclipse go to "About Eclipse" in the bottom left corner click on "Installation Details", click the "installed software" tab, search for window builder and click to delete all features for it. Restart Eclipse, then instead of installing window builder using the "install new software" menu in help, open eclipse market place, search for window builder and install it that way, when you get the options you want to install click on Swing that lets you create JFrames. If that does not work, download a new copy of eclipse and go back to the market place and install window builder again, its possible you have conflicting plugins in your installation. I was able to install it in 2018-09 just yesterday, if that still does not work please comment.

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site.
After selecting Maven Integration for Eclipse, I clicked Next and got the following error:
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace, but it cannot be downloaded. I downloaded the binary and tried to copy it to Eclipse's plugin directory. Still the same result.
cp ~/Downloads/guava-16.0.1.jar /Applications/eclipse/plugins/com.google.guava_16.0.1.v1234.jar
How do I install the m2e plugin for Kepler?
m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to #HDave for the link)
So you have to use an older version of m2e under Kepler.
During installation, uncheck "Show only the latest versions of available software". Then only check the 1.4.1 version or lower version in the candidate list. It doesn't require the Guava dependency.
Make sure you have the Luna repository in "Available Software Sites".
You can add it in : Help -> Install New Software...
Then in the "Work with" input, you type http://download.eclipse.org/releases/luna/ and press enter.
After that, you should be able to install m2e with http://download.eclipse.org/technology/m2e/releases/
You can find Guava 15 on Orbit project - "repository of bundled versions of third party libraries that are approved for use in one or more Eclipse projects". You can also directly add the Orbit project update site to your kepler installation and you'll be able to update m2e
What has helped me for Juno release is adding http://download.eclipse.org/technology/m2e/releases/1.3/ as plugin update site. The version of Maven for Eclipse was 1.3 instead of 1.5 but, for me, this differrence was less principal than the absence of extra dependencies and extra update sites, especially that of the newer version of IDE itself.
Do you necessarily need version 1.5 or 1.3 also should be good?
STEPS TO INSTALL MAVEN (in Eclipse):
Maven Eclipse plugin installation step by step:
Open Eclipse IDE
Click Help -> Install New Software...
Uncheck "Show only the latest versions of available software"
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as"http://download.eclipse.org/technology/m2e/releases"
Check only one 1.4.1 Version.
Now click OK After that installation would be started.
http://download.eclipse.org/technology/m2e/releases
This URL does not work.
http://download.eclipse.org/technology/m2e/releases/1.3/
This one can work.

How to install TestNG in eclipse Kepler

I am trying to install TestNG (which I have never used before) in eclipse Kepler (4.3). I've tried to follow the directions provided on the TestNG site (http://testng.org/doc/download.html), but they do not work. The link (http://beust.com/eclipse/) just takes me to a page with a jar file. My experience is that when you use the installer within eclipse, it expects to be provided with a "p2" repository site. If I try to set up a site with the address provided, it fails.
On a related note, do I need to install TestNG as something additional (outside eclipse), or is the eclipse plug-in sufficient?
It is working fine on my machine. I just installed TestNG on my eclipse by following the steps below:
Click on Help > Install New software
Add the link http://beust.com/eclipse in Work with text box as shown below.
TestNG feature will be shown, expand the tree node then verify the version.
Tick the check box of TestNG
Click on Next button then Finish button.
I guess you enter wrong software update site. Remove the / and extra spaces around the link "http://beust.com/eclipse/" then try.
Nothing to install outside eclipse.
TestNG can also be installed in Eclipse by using "Eclipse Marketplace..." Below are the steps:
Open eclipse
Go to Help -> Eclipse Marketplace...
Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
After searching: Click Install button at TestNG for Eclipse area
Follow the further instructions by eclipse
After successful installation: Go to Window -> Preferences. TestNG is enlisted at the left panel in pop-up.
Download Testng.jar and add testng jar as external-lib in eclipse. Eclipse will identify the testng.
Currently, TestNG is not available at https://beust.com/eclipse
To install TestNG in Eclipse version – 2019-03 or above, You can follow these steps:
Go to Window > Install New Software.
Enter https://testng.org/testng-eclipse-update-site/<TestNG Version> Refer to this site for TestNG Version: https://testng.org/testng-eclipse-update-site/
Select TestNG Options and Accept the agreement. Once you complete the process, TestNG will get installed.
Reference: https://testng.org/doc/download.html

Eclipse Java EE plugin

I want an Eclipse Java EE plugin which I can install directly from Eclipse.
I searched about it on Google and found some ones but couldn't figure out how to download them directly from Eclipse.
One plugin I found was WTP but couldn't find the location of the WTP repository that I can enter in the Eclipse's Software Update tool.
I am using Eclipse 3.4.2 (Ganymede)
I warmly suggest to install Eclipse IDE for Java EE developers which already includes the Web Tools Platform (WTP) and much more (see this page for a full comparison).
As an alternative, you can download a zip of the Web Tools from here or install it via Update Manager using this URL:
http://download.eclipse.org/webtools/updates/
If you have Eclipse Galileo you should go to Help > Install New Software. Then the list of available sites to install updates will appear. You should add the WTP plug-in to this list, for example.
To do this, click on Add and enter the name and location (you can get this from the WTP site). Then, select this plug-in and click on Finish. That's it and it's valid to all plug-ins.
when you are searching do a comprehensive search http:// in eclipse
Google search the repository containing Java EE WTP
Install the new software in your IDE, restart your IDE, right click under the project explorer view, select new, the option for creating a dynamic web project should now be available. I did it using the luna version of eclipse which dose not have the default and now have the option.
Use
help---install new software--type http://findbugs.cs.umd.edu/eclipse
And go from there