Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 4.0.0, 4.0.0-alpha-1
    • Component/s: Profiles
    • Labels:
      None

      Description

      For Maven 4, the behaviour of the -P command line option will change:

      • -P apache-release will activate the apache-release profile. If such a profile cannot be found, the build will break.
      • -P ?apache-release will activate the apache-release profile. If such a profile cannot be found, the build will continue but log a warning.


      Note that this breaks the current behaviour of Maven 3 in two ways:

      1. -P apache-release will currently log a warning and not break the build. That behaviour can be restored by adding the ?.
      2. A profile that has an identifier that not valid (i.e., contains anything else than a - z, A to Z, 0 - 9, -, _ or .) will break the build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martinkanters Martin Kanters
                Reporter:
                mthmulders Maarten Mulders
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: