Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5230

Command line option to exclude modules from reactor

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.2.1
    • Component/s: Command Line
    • Labels:
      None

      Description

      Every now and then I want to exclude one or more modules from a rather large reactor build.
      One reason for this can be: The respective module has tests that take long time to execute and I know that I don't need to execute them.

      Introducing yet another profile for this is not desirable for various reasons.

      So, something like an opposite to -pl would come in handy. Let's say "-el" for "exclude list".

      Example:

      root
        + module a
          + module a1
          + module a2
        + module b
          + module b1
        + module c
      

      Calling mvn -el a1,c would build all modules execpt a1 and c.

        Attachments

        1. MNG-5230-maven-core.patch
          8 kB
          Luuk van den Broek
        2. MNG-5230-maven-integration-testing.patch
          21 kB
          Luuk van den Broek

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                famod Falko Modler
              • Votes:
                5 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: