You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ka...@apache.org on 2002/02/23 06:17:01 UTC

cvs commit: jakarta-turbine-maven/xdocs bootstrap.xml

kaz         02/02/22 21:17:01

  Added:       xdocs    bootstrap.xml
  Log:
  Documented the Maven bootstrapping process.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/xdocs/bootstrap.xml
  
  Index: bootstrap.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="pete@kazmier.com">Pete Kazmier</author>
      <title>Building Maven</title>
    </properties>
  
    <body>
      <section name="Building Maven">
        <p>
          Building Maven is a little different than your typical Java
          build because Maven uses itself to build itself!  Thus, in order
          to build, you must first bootstrap Maven.  This document details
          the necessary steps to successfully build Maven.  
        </p>
        <p>
          For the impatient:
        </p>
        <source><![CDATA[
    ant -buildfile build-bootstrap.xml  
    cd work
    cp maven.jar ${lib.repo}
    ant
        ]]></source>
        <subsection name="Bootstrapping Maven">
          <p>
            Maven must be bootstrapped before you can actually build the
            full distribution.  First you must download the source from
            the <a href="/site/cvsindex.html"><code>jakarta-turbine-maven</code></a>
            CVS repository.
          </p>
          <p>
            You'll then need to download the dependencies for Maven before
            you can start the bootstrapping process.  These dependencies
            must be placed in your <code>${lib.repo}</code> directory.
            The following is a list of the dependencies:
          </p>
          <ul>
            <li>dom4j-1.1.jar</li>
            <li>commons-util-0.1-dev.jar</li>
            <li>commons-beanutils.jar</li>
            <li>commons-collections.jar</li>
            <li>commons-graph.jar</li>
            <li>log4j-1.1.3.jar</li>
            <li>stratum-0.1-dev.jar</li>
            <li>velocity-1.3-dev.jar</li>
            <li>bcel.jar</li>
            <li>oro.jar</li>
            <li>gnu-regexp-1.1.4.jar</li>
            <li>genjar.jar</li>
          </ul>
          <p>
            These dependencies can be downloaded from the Turbine site at
            <code>http://jakarta.apache.org/turbine/jars</code>.  After
            you've downloaded all of the dependencies, bootstrapping is
            very easy.  Type the following:
          </p>
          <source><![CDATA[
    ant -buildfile build-bootstrap.xml  
          ]]></source>
        </subsection>
        <subsection name="Building Maven with Maven">
          <p>
            Now that you have successfully bootstrapped, you can use the
            resulting jar file to build Maven.  The bootstrapping process
            created a <code>work</code> directory in your base directory.
            In that directory is the bootstrapped Maven jar.  You
            <b>must</b> copy this jar to your <code>${lib.repo}</code>
            directory before proceeding.  Finally, to build Maven, change
            to the <code>work</code> directory (if not already there), and
            type:
          </p>
          <source><![CDATA[
    ant
          ]]></source>
        </subsection>
      </section>
    </body>
  </document>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>