You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/10/23 09:00:05 UTC

cvs commit: maven/xdocs faq.fml

brett       2004/10/23 00:00:05

  Modified:    xdocs    Tag: MAVEN-1_0-BRANCH faq.fml
  Log:
  PR: MAVEN-1475
  Submitted by:	Julien Kirch
  Reviewed by:	Brett Porter
  applied with amendments. FAQ entry about writing a plugin
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.5.4.9   +25 -6     maven/xdocs/faq.fml
  
  Index: faq.fml
  ===================================================================
  RCS file: /home/cvs/maven/xdocs/faq.fml,v
  retrieving revision 1.5.4.8
  retrieving revision 1.5.4.9
  diff -u -r1.5.4.8 -r1.5.4.9
  --- faq.fml	28 Sep 2004 10:44:18 -0000	1.5.4.8
  +++ faq.fml	23 Oct 2004 07:00:05 -0000	1.5.4.9
  @@ -46,7 +46,7 @@
             If these resources don't help you with your problem, the
             <a href="mail-lists.html">Maven User List</a> is a good source for help.
             Lots of problems have already been discussed there, you'll probably find
  -          a solution in the mailling list archive.  Most of the maven developers 
  +          a solution in the mailling list archive. Most of the maven developers 
             are subscribed to the Maven User List.
           </p>
           <p>
  @@ -184,11 +184,30 @@
       </faq>
   
       <faq id="DownloadPlugin">
  -      <question>How to download a new plugin</question>
  +      <question>How do I download a new plugin?</question>
         <answer>
           <source>maven -DartifactId=artifactID -DgroupId=GROUPID -Dversion=VERSION plugin:download</source>
         </answer>
       </faq>
  +
  +    <faq id="shareCode">
  +      <question>How do I share build code between projects?</question>
  +      <answer>
  +        <p>
  +          Write your own maven plugin. It's not as difficult as you may
  +          think it is, and it will probably save you much time when
  +          your code grows in size.
  +        </p>
  +        <p>
  +          Documentation on how to write plugins is available
  +          <a href="reference/developers/developer-guide.html#Plugins">here</a>.
  +        </p>
  +        <p>
  +          It can also be helpful to refer to the source code for the existing
  +          Maven plugins which you already have installed.
  +        </p>
  +      </answer>
  +    </faq>
     </part>
   
     <part id="building">
  @@ -245,7 +264,7 @@
         <question>Why do the unit tests fail under Java 1.4?</question>
         <answer>
           It is possible that the XML parser included with Ant is
  -        interfering with the XML parser included in Java 1.4.  Please set
  +        interfering with the XML parser included in Java 1.4. Please set
           the <code>${maven.junit.fork}</code>
           <a href="reference/plugins/test/properties.html">property</a> to
           <code>yes</code>.
  @@ -286,7 +305,7 @@
           </p>
           <p>
             This is typically caused by the cvs command not running correctly.
  -          The first port of call is to check maven's output, search the lines containing for "SCM"  
  +          The first port of call is to check maven's output, search the lines containing for "SCM".
           </p>
           <p>
             <source>
  @@ -301,8 +320,8 @@
           </source>
           </p>
           <p>
  -          Try running the command that you find in the log file manually.  The results typically
  -          speak for themselves.  
  +          Try running the command that you find in the log file manually. The results typically
  +          speak for themselves.
           </p>
         </answer>
       </faq>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org