Simple Example

The following configuration contains one execution which will create

  • a pdf version of each TeX document under PROJECT_HOME/target/site.
<project>
  <build>
    <plugins>
      <plugin>
        <groupId>eu.simuline.m2latex</groupId>
        <artifactId>latex-maven-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
        <executions>
          <execution>
            <phase>site</phase>
            <goals><goal>pdf</goal></goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>