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

Disallow use of properties in the project coordinates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • POM
    • None

    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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brianf Brian E Fox
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: