Maven IDEA Plugin (RETIRED)
  1. Maven IDEA Plugin (RETIRED)
  2. MIDEA-69

[Patch] allowing to optionally not link certain modules directly

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      3

      Description

      Maven-Idea currently allows to centrally switch linking modules on or off (using the switch link-modules). This patch allows to specify exactly which modules will not be linked directly. For our project (Apache MyFaces, to be more precise) this is essential - we need to link some modules as a jar (cause there are some artifacts in these modules which need to be built specifically), but don't want to loose the freedom of working with the other modules without having to go through a full maven build always.

      This patch adds a new property:

      linkModulesExcept

      which is treated as a comma-separated list of modules which will necessarily be linked as a jar.

      regards,

      Martin

      P.S.: for people trying this out locally - I had to change the version in the pom of the maven-idea-plugin from 2-SNAPSHOT to 2 for building the maven-idea-plugin locally.

      1. linkModulesExcept_new.patch
        5 kB
        Martin Marinschek
      2. linkModulesExcept_v0.1.patch
        5 kB
        Gerald Müllan
      3. linkModulesExcept.patch
        6 kB
        Martin Marinschek

        Activity

        Hide
        Martin Marinschek added a comment -

        New version - patch seemed invalid.

        regards,

        Martin

        Show
        Martin Marinschek added a comment - New version - patch seemed invalid. regards, Martin
        Hide
        Gerald Müllan added a comment -

        Again, a new version of the patch. The outdated one could not be applied succesfully.

        Locally, in the pom, the version of the parent with artifactId "maven-plugins" had to be changed from the newest 4-SNAPSHOT to 3 in order to work properly.

        Show
        Gerald Müllan added a comment - Again, a new version of the patch. The outdated one could not be applied succesfully. Locally, in the pom, the version of the parent with artifactId "maven-plugins" had to be changed from the newest 4-SNAPSHOT to 3 in order to work properly.

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Marinschek
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: