pom file updates for testing use of TeXDoclet as alternative doclet with maven
This commit is contained in:
119
pom.xml
119
pom.xml
@@ -15,9 +15,10 @@
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
|
||||
<maven-shade-plugin.version>1.4</maven-shade-plugin.version>
|
||||
<maven-war-plugin.version>2.1.1</maven-war-plugin.version>
|
||||
<maven-javadoc-plugin.version>2.9</maven-javadoc-plugin.version>
|
||||
|
||||
<finalJarName>TeXDoclet</finalJarName>
|
||||
<texdoclet.version>0.9-SNAPSHOT</texdoclet.version>
|
||||
|
||||
</properties>
|
||||
|
||||
@@ -67,8 +68,10 @@
|
||||
<build>
|
||||
|
||||
<finalName>${finalJarName}</finalName>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
@@ -91,7 +94,121 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- goal javadoc:javadoc - alternative TeXDoclet doclet configuration -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>${maven-javadoc-plugin.version}</version>
|
||||
<configuration>
|
||||
<doclet>org.stfm.texdoclet.TeXDoclet</doclet>
|
||||
<docletArtifact>
|
||||
<groupId>org.stfm</groupId>
|
||||
<artifactId>texdoclet</artifactId>
|
||||
<version>${texdoclet.version}</version>
|
||||
</docletArtifact>
|
||||
<sourcepath>src/main/java:src/test/java</sourcepath>
|
||||
<useStandardDocletOptions>false</useStandardDocletOptions><!-- set to false !!! -->
|
||||
<destDir>apidocs_tex</destDir>
|
||||
<additionalparam>
|
||||
-tree
|
||||
-hyperref
|
||||
-output TeXDoclet.tex
|
||||
-createpdf
|
||||
-title "TeXDoclet Java Documentation"
|
||||
-subtitle "Created with Javadoc TeXDoclet Doclet"
|
||||
-author "Greg Wonderly \and S{\"o}ren Caspersen \and Stefan Marx"
|
||||
-subpackages org
|
||||
-shortinherited
|
||||
</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>site</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
|
||||
<!-- Run selective reports - let's build 'about' page only -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>index</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
|
||||
<!-- goal site:site - alternative TeXDoclet doclet configuration -->
|
||||
<!-- TODO : html docs are not created -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<reportSets>
|
||||
|
||||
<reportSet>
|
||||
<id>html</id>
|
||||
<configuration>
|
||||
<destDir>apidocs_html</destDir>
|
||||
</configuration>
|
||||
<reports>
|
||||
<report>javadoc</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
|
||||
<reportSet>
|
||||
<id>texdoclet</id>
|
||||
<configuration>
|
||||
<doclet>org.stfm.texdoclet.TeXDoclet</doclet>
|
||||
<docletArtifact>
|
||||
<groupId>org.stfm</groupId>
|
||||
<artifactId>texdoclet</artifactId>
|
||||
<version>${texdoclet.version}</version>
|
||||
</docletArtifact>
|
||||
<sourcepath>src/main/java:src/test/java</sourcepath>
|
||||
<useStandardDocletOptions>false</useStandardDocletOptions>
|
||||
<additionalparam>
|
||||
-tree
|
||||
-hyperref
|
||||
-output TeXDoclet.tex
|
||||
-createpdf
|
||||
-title "TeXDoclet Java Documentation"
|
||||
-subtitle "Created with Javadoc TeXDoclet Doclet"
|
||||
-author "Greg Wonderly \and S{\"o}ren Caspersen \and Stefan Marx"
|
||||
-subpackages org
|
||||
-shortinherited
|
||||
</additionalparam>
|
||||
<destDir>apidocs_tex</destDir>
|
||||
<name>TeXDoclet</name>
|
||||
<description>TeXDoclet documentation.</description>
|
||||
</configuration>
|
||||
<reports>
|
||||
<report>javadoc</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
|
||||
</reportSets>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user