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

Depency/module injection from profiles (.m2/settings.xml)

    XMLWordPrintableJSON

Details

    Description

      For one project we need to be able to inject dependencies from profiles defined and activated in .m2/settings.xml, into EAR and WAR maven module. It allows to have generic EAR/WAR sources and artifact customized according profiles, so that some dynamic and specific stuff are plugged in and found at deploy/run time.

      We have codec a solution as a Maven plugin (maybe not the better solution but at least work for us) :

      It maybe useful for other people.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cchantep Cédric Chantepie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: