Integrate LatexTaglet into a Maven build
From JQuantLib
Below you can see a snippet of code you can add into your pom.xml in order to UmlGraph into your build.
<repositories>
<repository>
<id>artifactory-releases</id>
<name>artifactory-releases</name>
<url>${maven.deploy.repository.url}/inhouse-releases</url>
<releases> <enabled>true</enabled> </releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
...
<repositories>
<dependencies>
<dependency>
<groupId>net.sf.latextaglet</groupId>
<artifactId>latextaglet</artifactId>
<version>0.1.1</version>
<scope>provided</scope>
</dependency>
...
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<configuration>
<destDir>api-${project.version}</destDir>
<show>private</show>
<use>true</use>
<splitindex>true</splitindex>
<stylesheet>maven</stylesheet>
<linksource>true</linksource>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<charset>UTF-8</charset>
<verbose>true</verbose>
<windowtitle>JQuantLib v${project.version} API Javadocs</windowtitle>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<!-- LatexTaglet works fine with UMLGraph-4.9.0 :) -->
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.9.0</version>
</docletArtifact>
<!-- LatexTaglet does not work with UMLGraph 5.0, 5.1 and 5.2 :(
<doclet>org.umlgraph.doclet.UmlGraph</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>5.0</version>
</docletArtifact>
-->
<taglets>
<taglet>
<tagletClass>net.sf.latextaglet.LaTeXBlockEquationTaglet</tagletClass>
<tagletArtifact>
<groupId>net.sf.latextaglet</groupId>
<artifactId>latextaglet</artifactId>
<version>0.1.1</version>
</tagletArtifact>
</taglet>
<taglet>
<tagletClass>net.sf.latextaglet.LaTeXEquationTaglet</tagletClass>
<tagletArtifact>
<groupId>net.sf.latextaglet</groupId>
<artifactId>latextaglet</artifactId>
<version>0.1.1</version>
</tagletArtifact>
</taglet>
<taglet>
<tagletClass>net.sf.latextaglet.LaTeXInlineTaglet</tagletClass>
<tagletArtifact>
<groupId>net.sf.latextaglet</groupId>
<artifactId>latextaglet</artifactId>
<version>0.1.1</version>
</tagletArtifact>
</taglet>
</taglets>
<additionalparam>
-inferrel -inferdep -quiet -hide java.* -collpackages java.util.* -qualify
-postfixpackage -nodefontsize 9
-nodefontpackagesize 7
</additionalparam>
<useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
</plugin>
...
</plugins>
</reporting>
Resources
Richard Gomes 21:59, 20 September 2009 (UTC)

