Maven
  1. Maven
  2. MNG-4297

Disallow use of properties in the project coordinates

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: POM
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Maven currently allows properties in the groupId, artifactId and version of a pom. This causes artifacts to be produced that require full inheritance and interpolation before they can be uniquely identified. It also poses potential problems if the properties are defined in settings, env or profiles where the consumer can't exactly identify the artifact after the fact.

      Allowing properties in the coordinates generally allows bad practices. After all, how can you not know what the identify of the project you're working on actually is?

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brianfox brianfox
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: