50
<groupId>org.codehaus.mojo</groupId>
51
<artifactId>batik-maven-plugin</artifactId>
52
<version>1.0-beta-1</version>
57
<goal>rasterize</goal>
59
<phase>generate-sources</phase>
61
<srcDir>${basedir}/source/docbkx/openstack-api-extensions/figures</srcDir>
62
<destDir>${basedir}/target/docbkx/webhelp/apix-intro-proposal/content/figures</destDir>
68
51
<groupId>com.rackspace.cloud.api</groupId>
69
52
<artifactId>clouddocs-maven-plugin</artifactId>
70
<version>1.0.4</version>
53
<version>1.0.8-SNAPSHOT</version>
74
58
<goal>generate-pdf</goal>
60
<phase>generate-sources</phase>
62
<highlightSource>false</highlightSource>
63
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
64
<sectionAutolabel>0</sectionAutolabel>
65
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
75
71
<goal>generate-webhelp</goal>
77
73
<phase>generate-sources</phase>
75
<!-- These parameters only apply to webhelp -->
76
<enableDisqus>0</enableDisqus>
77
<disqusShortname>openstackstarterdoc</disqusShortname>
78
<enableGoogleAnalytics>1</enableGoogleAnalytics>
79
<googleAnalyticsId>UA-17511903-6</googleAnalyticsId>
84
book title,figure,table,example,equation
93
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
94
<sectionAutolabel>0</sectionAutolabel>
95
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
97
<!-- Copies the figures to the correct location for webhelp -->
99
<copy todir="${basedir}/target/docbkx/webhelp/OpenStackbook/content/images">
100
<fileset dir="${basedir}/images">
101
<include name="**/*.*" />
105
<!-- Copies webhelp (HTML output) to desired URL location on docs.openstack.org -->
108
todir="${basedir}/target/docbkx/webhelp/openstack-compute/starter">
110
dir="${basedir}/target/docbkx/webhelp/Openstackbook/">
111
<include name="**/*" />
115
<!--Moves PDFs to the needed placement -->
117
<move failonerror="false"
118
file="${basedir}/target/docbkx/pdf/Openstackbook.pdf"
119
tofile="${basedir}/target/docbkx/webhelp/openstack-compute/starter/os-compute-starterguide-trunk.pdf"/>
121
<!--Deletes leftover uneeded directories -->
123
<delete dir="${basedir}/target/docbkx/webhelp/Openstackbook"/>
131
<goal>generate-epub</goal>
133
<phase>generate-sources</phase>
135
<highlightSource>true</highlightSource>
136
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
137
<sectionAutolabel>0</sectionAutolabel>
138
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
140
<!-- Copies the figures to the correct location for epub -->
141
<mkdir dir="${basedir}/target/docbkx/epub/Openstackbook/images"/>
142
<copy todir="${basedir}/target/docbkx/epub/Openstackbook/images">
143
<fileset dir="${basedir}/images">
144
<include name="**/*.png" />
148
<!-- Rezip now that the figures are in the correct location -->
150
destfile="${basedir}/target/docbkx/webhelp/openstack-compute/starter/os-compute-starterguide.epub"
151
basedir="${basedir}/target/docbkx/epub/Openstackbook/"
153
excludes="**/*.epub"/>
82
<groupId>org.docbook</groupId>
83
<artifactId>docbook-xml</artifactId>
84
<version>4.4</version>
85
<scope>runtime</scope>
160
<!-- These parameters apply to all the goals -->
89
161
<xincludeSupported>true</xincludeSupported>
90
162
<sourceDirectory>.</sourceDirectory>
94
<highlightSource>false</highlightSource>
95
166
<profileSecurity>reviewer</profileSecurity>
96
167
<branding>openstack</branding>
97
<enableDisqus>1</enableDisqus>
98
<disqusShortname>openstackstarterdoc</disqusShortname>
99
<enableGoogleAnalytics>1</enableGoogleAnalytics>
100
<googleAnalyticsId>UA-17511903-6</googleAnalyticsId>
105
book title,figure,table,example,equation
114
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
115
<sectionAutolabel>0</sectionAutolabel>
116
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
118
<!-- Copies the figures to the correct location for webhelp -->
119
<copy todir="${basedir}/target/docbkx/webhelp/Openstackbook/content/images">
120
<fileset dir="${basedir}/images">
121
<include name="**/*.png"/>
125
<!-- Moves HTML of Starter Guide to diablo directory -->
126
<copy todir="${basedir}/target/docbkx/webhelp/diablo/openstack-compute/starter/">
128
dir="${basedir}/target/docbkx/webhelp/Openstackbook">
129
<include name="**/*" />
133
<!--Moves PDFs to the needed placement -->
134
<move failonerror="false"
135
file="${basedir}/target/docbkx/pdf/Openstackbook.pdf"
136
tofile="${basedir}/target/docbkx/webhelp/diablo/openstack-compute/starter/openstack-starter-guide-diablo.pdf"/>
137
<!--Deletes leftover uneeded directories -->
139
dir="${basedir}/target/docbkx/pdf"/>-->