Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3685

Eclipse m2eclipse plugin can't build with maven prerequisites 2.1.0

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • r2.12.00
    • None
    • None
    • Eclipse

    Description

      working with Eclipse and trying to build the CMS I ran into a problem where
      the m2eclipse plugin did not want to build the CMS project, because it was
      complaining about the wrong maven version. While looking at the
      prerequisites in the top most pom.xml it states:

      <prerequisites>
      <maven>2.1.0</maven>
      </prerequisites>

      Looking at the maven prerequisites documentation it clearly states that this
      is the minimal supported version. However even if you set the m2eclipse
      plugin maven version to your local one (2.2.1 in my case) it still does not
      seem to be able to build the project.

      For those of you that run into this issue, you can fix this by changing the
      parent pom.xml

      <prerequisites>
      <maven>[2.1.0,)</maven>
      </prerequisites>

      This means that it requires at lease 2.1.0, but it will also build with a
      higher version of maven2. This might be a nice thing to change? What do you
      guys think?

      From the commandline however there is no problem with building the project.

      Attachments

        Activity

          People

            spelissier Sylvain PĂ©lissier (Inactive)
            jreijn Jeroen Reijn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: