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

Command line option to exclude modules from reactor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 3.2.1
    • Command Line
    • 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

              rfscholte Robert Scholte
              famod Falko Modler
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: