Cleanup pom.xml

* Remove redundant pdf generation sections
* Remove targetDirectory variable, the default is fine
* Properly set webhelpDirname
* Remove cleanup section from Install and Image Guides that
  are now not needed anymore due to the above changes

Change-Id: I4a11d74d3e53738d33b8ba9b50119bb1c25a1aec
This commit is contained in:
Andreas Jaeger
2014-01-27 18:00:28 +01:00
parent 4377120be6
commit f386e081e3
9 changed files with 8 additions and 94 deletions

View File

@@ -27,21 +27,7 @@
<!-- version is set in ../pom.xml file -->
<executions>
<execution>
<id>goal1</id>
<goals>
<goal>generate-pdf</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<highlightSource>false</highlightSource>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
</configuration>
</execution>
<execution>
<id>goal2</id>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
@@ -69,9 +55,8 @@
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/config-reference</targetDirectory>
<webhelpDirname>/</webhelpDirname>
<pdfFilenameBase>bk-config-guide-${release.path.name}</pdfFilenameBase>
<webhelpDirname>${release.path.name}/config-reference</webhelpDirname>
<pdfFilenameBase>config-reference-${release.path.name}</pdfFilenameBase>
</configuration>
</execution>
</executions>