Hadoop Common
  1. Hadoop Common
  2. HADOOP-8094

Make maven-eclipse-plugin use the spring project nature

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:

      Description

      If I want to have multiple versions of Apache Hadoop loaded into my Eclipse IDE today (or any other IDE maybe), I'm supposed to do the following when generating eclipse files, such that the version name is appended to the project name and thereby resolves conflict in project names when I import another version in:

      mvn -Declipse.addVersionToProjectName=true eclipse:eclipse

      But this does not work presently due to a lack of configuration in Apache Hadoop, which https://jira.codehaus.org/browse/MECLIPSE-702 demands. The problem being that though the project names are indeed named with version suffixes, the "related project" name it carries for dependencies do not carry the same suffix and therefore you have a broken import of projects errors everywhere about 'dependent project <regularname> not found'.

      The fix is as Carlo details on https://jira.codehaus.org/browse/MECLIPSE-702 and it works perfectly. I'll attach a patch adding in the same configuration for Apache Hadoop so that the above mechanism is then possible.

        Activity

        Harsh J created issue -
        Harsh J made changes -
        Field Original Value New Value
        Attachment HADOOP-8094.patch [ 12515263 ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.23.2, 0.24.0 [ 12319855, 12317652 ] 0.24.0, 0.23.2 [ 12317652, 12319855 ]
        Robert Joseph Evans made changes -
        Target Version/s 0.23.2, 0.24.0 [ 12319855, 12317652 ] 2.0.0, 3.0.0 [ 12320352, 12320357 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 3.0.0, 2.0.0 [ 12320357, 12320352 ] 2.0.0, 3.0.0 [ 12320352, 12320357 ]
        Resolution Not A Problem [ 8 ]

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development