Installing and launching Eclipse

Go to the location of the downloaded file, as shown in the preceding screenshot, and extract it to a desired location of your choice. The extraction will result in a folder named eclipse. The contents of the eclipse folder are shown in the following screenshot:

Installing and launching Eclipse

We can see there is an application or executable file named eclipse, which on double-clicking, launches the Eclipse IDE. When Eclipse is launched, it will prompt you for a workspace location. Provide an appropriate location where the projects are to be stored and click on OK. Now, we are right in the Eclipse space and ready for action. You see something similar to the following screenshot:

Installing and launching Eclipse

Methods to install m2eclipse

Installing m2eclipse is fairly simple. Primarily, there are two ways to install the m2eclipse plugin in Eclipse:

  • Using Eclipse Marketplace: Use Eclipse Marketplace to find and install the plugin
  • Using update site: Add the m2eclipse update site and install

Using Eclipse Marketplace

The installation of m2eclipse using Eclipse Marketplace involves the following steps:

  1. Navigate to Help | Eclipse Marketplace as shown in the following screenshot:
    Using Eclipse Marketplace
  2. Then, search for m2eclipse in the search box, and click on the Install button for Maven integration for the Eclipse package, as shown in the following screenshot:
    Using Eclipse Marketplace
  3. On the next window, confirm the package to be installed as follows:
    Using Eclipse Marketplace
  4. Accept the terms and conditions and click on Finish. After the installation is done, the following prompt appears:
    Using Eclipse Marketplace
  5. Click on Yes to restart Eclipse and to have the changes reflected.
  6. For Mac users, choose the Restart Now option, and for other OSes, choose Yes.

Using Update Site

The installation of m2eclipse using update site involves the following steps:

  1. Navigate to Help | Install New Software and your screen will look similar to the following screenshot:
    Using Update Site
  2. Click on the Add... button. Add the http://download.eclipse.org/technology/m2e/releases site as the m2eclipse update site, as shown in the following screenshot and click on OK:
    Using Update Site
  3. Choose the packages as shown in the following screenshot:
    Using Update Site
  4. Click on Next, agree to the terms, and finally click on Finish to start installing. Once the installation is done, the following prompt appears:
    Using Update Site
  5. Click on Yes to restart Eclipse and to have the changes reflected. For Mac users, choose the Restart Now option and for users with other OSes, choose Yes.

    Note

    Eclipse Kepler 4.3.2 SR2 has m2eclipse installed and hence the preceding step of installation would update the plugin to the latest one. Regardless of any of the preceding methods of installation, m2eclipse that comes packaged with Eclipse Kepler is still going to be updated.

    So, midway, you will see something similar to the following screen:

    Using Update Site
  6. Click on Next and accept the terms, click on Finish to start the installation, and you will have to restart to have the changes reflected.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.41.235