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

server definitions should be reusable - review use of repository IDs

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None

    Description

      currently if multiple projects use the same server for deployment, we are relying on inheritence to share the definition, or it must be copied. This applies similarly to the SCM connection and the dist/site management settings.

      It would be a good idea to be able to declare these elements in a deployed artifact.

      It may still be reasonable to do this through inheritence, but there is a chance we'll hit the need for multiple inheritence (because multiple projects inherit things from different sources), so we should enumerate the use cases and verify it.

      eg.
      A B
      / \ / \
      C D E

      Where A and B declare two different things that D uses both of, but which C and E desire only to inherit one of.

      This essentially using composition for some elements instead of inheritence.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brett Brett Porter
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: