1 Reply Latest reply: Sep 28, 2011 1:22 PM by Keith Babo RSS

    Project pom guidelines

    Magesh Bojan Master

      A recent review of the poms across core, components, release made me think that we are very inconsistent in declaring dependencies. Dependencies should not be added with hard coded versions. It is mandatory to use properties as needed in the poms. The naming convention should follow "version." as a prefix followed by the name of the dependency.



      And its usage elsewhere



      This enables us to search across poms for the usage of dependency properties easily, consolidate them if necessary in one place.


      Let me know if you guys have any issues with this.

        • 1. Re: Project pom guidelines
          Keith Babo Master

          Sorry for the late reply.  Forum notifications must be messed up again.


          Properties should always be used for versions and dependencies should be tracked in the parent pom for each repository (not everything in the top-level parent) in the dependency management section.