Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-471

mvn eclipse:eclipse should be able to generate a different variable name than M2_REPO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.5.1
    • None
    • Core : Multi-projects
    • None
    • doesn't matter

    Description

      For some reasons I have to add two projects to the same eclipse instance which use different local maven repositories. Using mvn eclipse:eclipse for both of them leads to a conflict as the generated .classpath files use the same variable M2_REPO to refer to the local repository. Currently I have to manually replace this name by a different one for one of these projects every time I have to re-execute mvn eclipse:eclipse. This is especially very error-prone (as it can easily be forgotten).

      Therefore I would like to have a possibility to tell the plugin to generate a different variable name. This could be by passing a property to the mvn call, or to configure the plugin in the pom-file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tarand Thomas Arand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: