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

Create comprehensive profiles documentation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • None
    • None
    • Documentation: Guides
    • None

    Description

      This document should draw from the mailing list, FAQ wiki, MNGFAQ jira project (on codehaus), existing site documentation, project source code, and any IRC conversations necessary.

      It should include:

      • How can I tell which profiles are in effect during a build?
      • What are the different types of profile? Where is each defined?
      • Which areas of a POM can be customized by each type of profile? Why?
      • settings-defined and profiles.xml-defined only modify properties, repositories, and pluginRepositories. This is necessary to preserve the portability of the pom as much as possible, since these two locations are not installed/deployed to the repository system.
      • How can a profile be triggered? How does this vary according to the type of profile being used?
      • Profiles are not inherited, but their effects are, because they are applied to the POM before it's used for inheritance. This means a parent POM will have its profiles triggered and applied before it is used to calculate the inherited values for the current POM. Please include this in the documentation as well.

      There's probably more, but I can't think of it off the top of my head. We need to make this another one of those definitive documents for POM configuration.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              jdcasey John Dennis Casey
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 24h
                  24h