Ce site met a disposition le build journalier de la traduction francaise du Maven: The Definitive Guide
Consultez :
  • Les documents de reference sur le projet original
  • Les sources de la traduction fr sur GitHub
  • maven


    16.5.2. Exemple de fichier FML

    Beaucoup de projets contiennent une FAQ (Foire Aux Questions). L'Exemple 16.6, « Document FML (FAQ Markup Language) » présente un exemple de document FML.

    Exemple 16.6. Document FML (FAQ Markup Language)

    <?xml version="1.0" encoding="UTF-8"?>
    <faqs title="Frequently Asked Questions">
      <part id="General">
        <faq id="sample-project-sucks">
          <question>Sample project doesn't work.  Why does sample 
            project suck?</question>
          <answer>
            <p>
              We resent that question.  Sample wasn't designed to work, it was 
              designed to show you how to use Maven.   If you really think 
              this project sucks, then keep it to yourself.   We're not 
              interested in your pestering questions.
            </p>
          </answer>
        </faq>
        <faq id="sample-project-source">
          <question>I want to put some code in Sample Project, 
            how do I do this?</question>
          <answer>
            <p>
              If you want to add code to this project, just start putting 
              Java source in src/main/java.   If you want to put some source 
              code in this FAQ, use the source element:
            </p>
            <source>
              for( int i = 0; i < 1234; i++ ) {
                // do something brilliant
              }
            </source>
          </answer>
        </faq>
      </part>
    </faqs>