anchor.diff:      <configuration>
           <sourceDirectory>src/main/asciidoc</sourceDirectory>
           <headerFooter>true</headerFooter>
  -        <imagesDir>../resources/images</imagesDir>                  <1>
  +        <imagesDir>../resources/images</imagesDir> <!--1-->
       </configuration>
   </plugin>
   ----
  -
   <1> `imagesDir` should be relative to the source directory. It defaults to `images` but in this example the images used in the docs are also used elsewhere in the project.
   
   Any configuration specified outside the executions section is inherited by each execution.
  
positive.code:         <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-site-plugin</artifactId>
              <version>3.2</version>
              <dependencies>
                  <dependency>
                      <groupId>org.asciidoctor</groupId>
                      <artifactId>asciidoctor-maven-plugin</artifactId>
                      <version>${asciidoctor.version}</version>
                  </dependency>
              </dependencies>
          </plugin>
  
negative.code: = Asciidoctor Maven Plugin
  // Metadata
  :release-version: 1.5.2
  // Settings
  :page-layout: base
  :idprefix:
  :idseparator: -
  :toc: preamble
  ifdef::env-github[:badges:]
  // URIs
  :project-repo: asciidoctor/asciidoctor-maven-plugin
  :uri-asciidoc: http://asciidoc.org
  :uri-asciidoctor: http://asciidoctor.org
  :uri-examples: https://github.com/asciidoctor/asciidoctor-maven-examples
  :uri-maven: http://maven.apache.org
  
  ifdef::badges[]
  image:https://ci.appveyor.com/api/projects/status/chebmu91f08dlmsc/branch/master?svg=true["Build Status (AppVeyor)", link="https://ci.appveyor.com/project/asciidoctor/asciidoctor-maven-plugin"]
  image:http://img.shields.io/travis/asciidoctor/asciidoctor-maven-plugin/master.svg["Build Status (Travis CI)", link="https://travis-ci.org/asciidoctor/asciidoctor-maven-plugin"]
  image:http://img.shields.io/coveralls/{project-repo}/master.svg["Coverage Status", link="https://coveralls.io/r/{project-repo}?branch=master"]
  endif::[]
  
  The Asciidoctor Maven Plugin is the official way to convert your {uri-asciidoc}[AsciiDoc] documentation using {uri-asciidoctor}[Asciidoctor] from an {uri-maven}[Apache Maven] build.
  
  == Installation
  
  As this is a typical Maven plugin, simply declare the plugin in the `<plugins>` section of your POM file:
  
  [source,xml,subs=attributes+]
  .Plugin declaration in pom.xml
  ----
  <plugins>
      <plugin>
          <groupId>org.asciidoctor</groupId>
          <artifactId>asciidoctor-maven-plugin</artifactId>
          <version>{release-version}</version> <!--1-->
          ...
      </plugin>
  </plugins>
  ----
  <1> As this plugin tracks the version of Asciidoctor, you can use whichever version of Asciidoctor you prefer.
  
  == Usage
  
  [source,xml]
  .Execution setup
  ----
  <plugin>
      ...
      <executions>
          <execution>
              <id>output-html</id>              <!--1-->
              <phase>generate-resources</phase> <!--2-->
              <goals>
                  <goal>process-asciidoc</goal> <!--3-->
              </goals>
          </execution>
      </executions>
  </plugin>
  ----
  <1> This is simply an unique id for the execution
  <2> The asciidoctor-maven-plugin does not run in a specific phase, so one must be specified
  <3> The (only for the moment) Asciidoctor Maven plugin goal
  
  === Configuration options
  
  