pom.xml 5.81 KB
Newer Older
Marvin S. Addison's avatar
CAS-974  
Marvin S. Addison committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!--
  ~ Licensed to Jasig under one or more contributor license
  ~ agreements. See the NOTICE file distributed with this work
  ~ for additional information regarding copyright ownership.
  ~ Jasig licenses this file to you under the Apache License,
  ~ Version 2.0 (the "License"); you may not use this file
  ~ except in compliance with the License.  You may obtain a
  ~ copy of the License at the following location:
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

21
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Marvin S. Addison's avatar
CAS-974  
Marvin S. Addison committed
22
23
24
25
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>cas-server</artifactId>
    <groupId>org.jasig.cas</groupId>
26
    <version>3.5.2.1</version>
Marvin S. Addison's avatar
CAS-974  
Marvin S. Addison committed
27
28
29
30
  </parent>
  <groupId>org.jasig.cas</groupId>
  <artifactId>cas-server-documentation</artifactId>
  <packaging>pom</packaging>
31
  <name>Jasig CAS Documentation</name>
Marvin S. Addison's avatar
CAS-974  
Marvin S. Addison committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  <build>
    <plugins>
      <plugin>
        <groupId>com.agilejava.docbkx</groupId>
        <artifactId>docbkx-maven-plugin</artifactId>
        <version>2.0.12</version>
        <dependencies>
          <dependency>
            <groupId>net.sf.xslthl</groupId>
            <artifactId>xslthl</artifactId>
            <version>2.0.2</version>
            <scope>runtime</scope>
          </dependency>
          <dependency>
            <groupId>net.sf.offo</groupId>
            <artifactId>fop-hyph</artifactId>
            <version>1.2</version>
            <scope>runtime</scope>
          </dependency>
        </dependencies>
        <executions>
          <execution>
            <id>html-chunked</id>
            <phase>pre-site</phase>
            <goals>
              <goal>generate-html</goal>
            </goals>
            <configuration>
              <chunkedOutput>yes</chunkedOutput>
              <chunkerOutputIndent>yes</chunkerOutputIndent>
              <customizationParameters>
                <parameter>
                  <name>base.dir</name>
                  <value>${project.build.directory}/casum/html/chunked/</value>
                </parameter>
                <parameter>
                  <name>cas.version</name>
                  <value>${project.version}</value>
                </parameter>
              </customizationParameters>
              <htmlCustomization>${basedir}/src/docbkx/xsl/html-chunked.xsl</htmlCustomization>
              <htmlStylesheet>css/manual.css css/chunk.css</htmlStylesheet>
              <includes>manual.xml</includes>
              <preProcess>
                <copy todir="${project.build.directory}/casum/html/chunked/media">
                  <fileset dir="${basedir}/src/docbkx/media" />
                </copy>
                <copy todir="${project.build.directory}/casum/html/chunked/css">
                  <fileset dir="${basedir}/src/docbkx/css" />
                </copy>
              </preProcess>
              <postProcess>
                <delete file="${project.build.directory}/casum/html/chunked/manual.html" />
              </postProcess>
              <targetDirectory>${project.build.directory}/casum/html/chunked</targetDirectory>
            </configuration>
          </execution>
          <execution>
            <id>html-single</id>
            <phase>pre-site</phase>
            <goals>
              <goal>generate-html</goal>
            </goals>
            <configuration>
              <customizationParameters>
                <parameter>
                  <name>cas.version</name>
                  <value>${project.version}</value>
                </parameter>
              </customizationParameters>
              <includes>manual.xml</includes>
              <htmlCustomization>${basedir}/src/docbkx/xsl/html-single.xsl</htmlCustomization>
              <htmlStylesheet>css/manual.css</htmlStylesheet>
              <preProcess>
                <copy todir="${project.build.directory}/casum/html/single/media">
                  <fileset dir="${basedir}/src/docbkx/media" />
                </copy>
                <copy todir="${project.build.directory}/casum/html/single/css">
                  <fileset dir="${basedir}/src/docbkx/css">
                    <include name="manual.css" />
                    <include name="images/**" />
                  </fileset>
                </copy>
              </preProcess>
              <targetDirectory>${project.build.directory}/casum/html/single</targetDirectory>
            </configuration>
          </execution>
Andrew Petro's avatar
Andrew Petro committed
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
          <execution>
            <id>pdf</id>
            <phase>pre-site</phase>
            <goals>
              <goal>generate-pdf</goal>
            </goals>
            <configuration>
              <customizationParameters>
                <parameter>
                  <name>cas.version</name>
                  <value>${project.version}</value>
                </parameter>
              </customizationParameters>
              <includes>manual.xml</includes>
              <targetDirectory>${project.build.directory}/casum</targetDirectory>
            </configuration>
          </execution>
Marvin S. Addison's avatar
CAS-974  
Marvin S. Addison committed
136
137
138
139
140
141
142
143
144
145
146
147
148
        </executions>
        <configuration>
          <xincludeSupported>true</xincludeSupported>
          <postProcess>
            <copy todir="${project.parent.build.directory}/site">
              <fileset dir="${project.build.directory}" />
            </copy>
          </postProcess>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>