Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 4.0.0-alpha-2, 4.0.0
    • Profiles
    • 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

              martinkanters Martin Kanters
              mthmulders Maarten Mulders
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: