akquinet/maven-latex-plugin — Issue #1: Using multiple executions, only the first one succeeds
Author: lilalinda
Created: 2011-12-02 16:11:15+00:00
State: open

Hi,

I'm using Maven 3.0.3 and found the maven-latex-plugin to be exactly what I was looking for to prepare my already existing manual in LaTeX for inclusion in the Maven generated site. I wanted to use the feature of maven-latex-plugin to compile my source code into PDF, HTML single page and HTML multiple pages. So I followed you "Complex Example" (see http://akquinet.github.com/maven-latex-plugin/example_complex.html). However, when I have more than one execution, only the first one succeeds (which I can inspect under `target/m2latex` if I turn `` off). The result of target/m2latex is then copied to the `` for each execution.

To put it differently, if I have the following in my POM:

de.akquinet.maven
maven-latex-plugin
1.1
false

HTML multipage

html_multipage

tex4ht,2

-interaction=nonstopmode --src-specials

site

tex4ht

HTML singlepage

html_singlepage

tex4ht,1

-interaction=nonstopmode --src-specials

site

tex4ht

then the `HTML multipage` target gets created successfully but not the `HTML singlepage` target. Instead, the multipage result gets copied into the `target/site/html_singlepage/` directory. If I switch the order, the singlepage result is generated and copied into the `target/site/html_multipage/` directory.

Now I tried to specify different `` entries for each execution, but the same thing happened. If I turn `` off, I see the output of the first execution in both temp directories.

Any thoughts?
Thanks,
Linda