Best practices for resolving eclipse maven Plugins

Source: Internet
Author: User

Recently when trying to use Gae, the project must use MAVEN and downloaded Maven3.1.1 to configure the environment variables. But there was a problem installing the Maven plugin for Eclipse EE.

The website's recommendations are:

    1. Select Help->install New software->add in Eclipse EE
    2. Enter Https://www.eclipse.org/m2e/,Name in the Location column to name it yourself (e.g. M2eclipse)
    3. Select the Maven plugin you want to install.

However, this is likely to be a problem cannot complete the install because one or more required items could isn't be found. The reason for this is that there is a lack of additional jar packages on which the MAVEN plug-in is installed, and the solution is given on STACKOVERFOLW:

    1. Help, Install New software
    2. Enter Http://www.fuin.org/p2-repository/,Name in the Location column to name it yourself (e.g. slf4j)
    3. Expand "Maven osgi-bundles" Check "Slf4j-api"
    4. Then reinstall the M2eclipse plugin as recommended by the official website

I follow the above thinking, my version of Eclipse is Juno, and did not work, the installation of M2eclipse will still encounter problems, there are said other versions do not encounter problems. So I went to Eclipse's website and tried to look at the other versions, and I was amazed to find that Luna and Mars versions of Eclipse EE came with maven support! So the best solution is to upgrade your eclipse. So what exactly should be done? Upgrade in the same version of Eclipse, you can help->check for updates, but what if you want to upgrade from Juno to Luna?

The eclipse question and answer area recommendations are:

    1. Add a new version of the warehouse
      1. Window > Preferences > Install/update > Available software Sites
      2. Click ' Add '
      3. Enter the URL for the new version of the repository (e.g. to upgrade to the Luna version, enter http://download.eclipse.org/releases/luna/)
      4. Click ' Ok '
    2. Help > Check for Updates
    3. Click Finish when you're done, and then remind restart Eclipse to confirm it.

Using this way to upgrade eclipse personal feel is the best, although you can also download the new version of the decompression, and then select the original workspace, but may be downloaded before some plug-ins are not, need to reinstall. Upgrading eclipse solves the problem of the MAVEN plugin not being installed, and the person feels the best solution, after all, the new version of Eclipse will give you more help, and you'll need it sooner or later.

Best practices for resolving eclipse maven Plugins

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.