Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-399

requireVariable = requireProperty or requireEnvironmentVariable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Standard Rules
    • None

    Description

      As far a i know maven doesn't care where a value for ${variable} comes from. In a pom you can access a env.variable or a property by ${variable}.

      Also in some system the value is provided by an environment variable like CICD or by a property maybe a dev environment.

      I would suggest a new standard rule "requireVariable"  which just look like maven for a value for this variable by property or environment.

      Attachments

        1. pom.xml
          2 kB
          Hüseyin Kartal

        Activity

          People

            Unassigned Unassigned
            hsyn Hüseyin Kartal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: