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

Command line option to exclude modules from reactor

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment