2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" |
2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
||
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
||
7 |
<groupId>org.openstack.docs</groupId> |
|
8 |
<artifactId>openstack-guide</artifactId> |
|
9 |
<version>1.0.0-SNAPSHOT</version> |
|
10 |
<packaging>jar</packaging> |
|
11 |
<name>OpenStack Guides</name> |
|
12 |
<!-- ################################################ -->
|
|
13 |
<!-- USE "mvn clean generate-sources" to run this POM -->
|
|
14 |
<!-- ################################################ -->
|
|
15 |
<profiles>
|
|
16 |
<profile>
|
|
17 |
<id>Rackspace Research Repositories</id> |
|
18 |
<activation>
|
|
19 |
<activeByDefault>true</activeByDefault> |
|
20 |
</activation>
|
|
21 |
<repositories>
|
|
22 |
<repository>
|
|
23 |
<id>rackspace-research</id> |
|
24 |
<name>Rackspace Research Repository</name> |
|
25 |
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url> |
|
26 |
</repository>
|
|
27 |
</repositories>
|
|
28 |
<pluginRepositories>
|
|
29 |
<pluginRepository>
|
|
30 |
<id>rackspace-research</id> |
|
31 |
<name>Rackspace Research Repository</name> |
|
32 |
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url> |
|
33 |
</pluginRepository>
|
|
34 |
</pluginRepositories>
|
|
35 |
</profile>
|
|
36 |
</profiles>
|
|
37 |
||
38 |
<build>
|
|
39 |
<resources>
|
|
40 |
<resource>
|
|
41 |
<directory>target/docbkx/pdf</directory> |
|
42 |
<excludes>
|
|
43 |
<exclude>**/*.fo</exclude> |
|
44 |
</excludes>
|
|
45 |
</resource>
|
|
46 |
</resources>
|
|
47 |
<plugins>
|
|
48 |
<!--<plugin>
|
|
49 |
<groupId>org.codehaus.mojo</groupId>
|
|
50 |
<artifactId>batik-maven-plugin</artifactId>
|
|
51 |
<version>1.0-beta-1</version>
|
|
52 |
|
|
53 |
<executions>
|
|
54 |
<execution>
|
|
55 |
<goals>
|
|
56 |
<goal>rasterize</goal>
|
|
57 |
</goals>
|
|
58 |
<phase>generate-sources</phase>
|
|
59 |
<configuration>
|
|
60 |
<srcDir>${basedir}/source/docbkx/openstack-api-extensions/figures</srcDir>
|
|
61 |
<destDir>${basedir}/target/docbkx/webhelp/apix-intro-proposal/content/figures</destDir>
|
|
62 |
</configuration>
|
|
63 |
</execution>
|
|
64 |
</executions>
|
|
65 |
</plugin>-->
|
|
66 |
<plugin>
|
|
67 |
<groupId>com.rackspace.cloud.api</groupId> |
|
68 |
<artifactId>clouddocs-maven-plugin</artifactId> |
|
69 |
<version>1.0.4</version> |
|
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
70 |
<executions>
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
71 |
<execution>
|
72 |
<goals>
|
|
73 |
<goal>generate-pdf</goal> |
|
74 |
<goal>generate-webhelp</goal> |
|
75 |
</goals>
|
|
76 |
<phase>generate-sources</phase> |
|
77 |
</execution>
|
|
78 |
</executions>
|
|
79 |
<dependencies>
|
|
80 |
<dependency>
|
|
81 |
<groupId>org.docbook</groupId> |
|
82 |
<artifactId>docbook-xml</artifactId> |
|
83 |
<version>4.4</version> |
|
84 |
<scope>runtime</scope> |
|
85 |
</dependency>
|
|
86 |
</dependencies>
|
|
87 |
<configuration>
|
|
88 |
<xincludeSupported>true</xincludeSupported> |
|
89 |
<sourceDirectory>.</sourceDirectory> |
|
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
90 |
<includes>
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
91 |
Openstackbook.xml |
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
92 |
</includes>
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
93 |
<highlightSource>false</highlightSource> |
94 |
<profileSecurity>reviewer</profileSecurity> |
|
95 |
<branding>openstack</branding> |
|
96 |
<enableDisqus>1</enableDisqus> |
|
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
97 |
<disqusShortname>openstackstarterdoc</disqusShortname> |
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
98 |
<enableGoogleAnalytics>1</enableGoogleAnalytics> |
99 |
<googleAnalyticsId>UA-17511903-6</googleAnalyticsId> |
|
100 |
<generateToc>
|
|
101 |
appendix toc,title |
|
102 |
article/appendix nop |
|
103 |
article toc,title |
|
104 |
book title,figure,table,example,equation |
|
105 |
chapter toc,title |
|
106 |
part toc,title |
|
107 |
preface toc,title |
|
108 |
qandadiv toc |
|
109 |
qandaset toc |
|
110 |
reference toc,title |
|
111 |
set toc,title |
|
112 |
</generateToc>
|
|
113 |
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
|
|
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
114 |
<sectionAutolabel>0</sectionAutolabel> |
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
115 |
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel> |
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
116 |
<postProcess>
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
117 |
<!-- Copies the figures to the correct location for webhelp -->
|
118 |
<copy todir="${basedir}/target/docbkx/webhelp/Openstackbook/content/images"> |
|
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
119 |
<fileset dir="${basedir}/images"> |
120 |
<include name="**/*.png"/> |
|
121 |
</fileset>
|
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
122 |
</copy>
|
123 |
||
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
124 |
<!-- Moves HTML of Starter Guide to cactus directory -->
|
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
125 |
<copy todir="${basedir}/target/docbkx/webhelp/cactus/openstack-compute/starter/"> |
126 |
<fileset
|
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
127 |
dir="${basedir}/target/docbkx/webhelp/Openstackbook"> |
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
128 |
<include name="**/*" /> |
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
129 |
</fileset>
|
130 |
</copy>
|
|
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
131 |
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
132 |
<!--Moves PDFs to the needed placement -->
|
133 |
<move failonerror="false" |
|
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
134 |
file="${basedir}/target/docbkx/pdf/Openstackbook.pdf" |
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
135 |
tofile="${basedir}/target/docbkx/webhelp/cactus/openstack-compute/starter/openstack-starter-guide-cactus.pdf"/> |
4.1.2
by Anne Gentle
Modified pom.xml to remove section numbering, only chapters are numbered now |
136 |
<!--Deletes leftover uneeded directories -->
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
137 |
<!--<delete
|
4.1.1
by Anne Gentle
Changing pom.xml and the images to have PDF and HTML scaling |
138 |
dir="${basedir}/target/docbkx/pdf"/>-->
|
139 |
</postProcess>
|
|
2.1.5
by Anne Gentle
Includes a pom.xml file for OpenStack builds |
140 |
</configuration>
|
141 |
||
142 |
</plugin>
|
|
143 |
||
144 |
</plugins>
|
|
145 |
</build>
|
|
146 |
</project>
|
|
147 |