You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/03/04 04:41:59 UTC

cvs commit: jakarta-turbine-maven/xdocs/reference internals.xml

jvanzyl     2003/03/03 19:41:59

  Added:       xdocs/reference internals.xml
  Log:
  o just jot down some notes that will eventually be of interest to core
    hackers.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/xdocs/reference/internals.xml
  
  Index: internals.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Internals</title>
      <author email="jason@maven.org">Jason van Zyl</author>
    </properties>
  
    <body>
      <section name="Internals">
        <p>
          <ul>
            <li>
              Plugin contexts inherit from the project's context.
            </li>
            <li>
              When plugins are processed the writing of the cache files is
              performed, plugin dependencies are processed and goals are
              created which is a process where the body of the goal is stored
              in a Werkz Action.
            </li>
            <li>
              When a goal is attained the action for the goal is executed. In
              the case of the GoalTag the Jelly body of the goal is invoked.
              When the goal is invoked we are asking for a specific Jelly blob
              from a specific plugin to be executed. So we must attach the
              correct context and classloader to the goal before it's
              action is executed. So N goals may be executed and the
              context/classloader combination is flipped before each
              goal is attained.
            </li>
          </ul>
        </p>
      </section>
   </body>
  </document>