xCIP4Master
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.cip4.tools</groupId>
<artifactId>xCIP4Master</artifactId>
<version>1.0</version>
</dependency><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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.cip4.tools</groupId>
<artifactId>xCIP4Master</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>xCIP4Style</name>
<url>http://www.cip4.org</url>
<description>CIP4 Document Style</description>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<properties>
<!-- work directory Docbkx-Plugins -->
<workDirectory>${basedir}/target/work/docbkx</workDirectory>
<!-- version docbook documents -->
<docbook-styles.version>1.1.0</docbook-styles.version>
<docbkx-maven-plugin.version>2.0.13</docbkx-maven-plugin.version>
<docbook.version>5.0-all</docbook.version>
<fop-hyph.version>1.2</fop-hyph.version>
<maven-assembly-plugin.version>2.2.1</maven-assembly-plugin.version>
<!-- time stamp -->
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
<buildNumber>${maven.build.timestamp}</buildNumber>
</properties>
<licenses>
<license>
<name>CIP4 Software License</name>
<url>http://www.cip4.org/open_source/cip4_software_license_v2.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>http://svn.cip4.org/svnroot/tags/xCIP4Master-1.0</url>
<developerConnection>scm:svn:http://svn.cip4.org/svnroot/tags/xCIP4Master-1.0</developerConnection>
<connection>scm:svn:http://svn.cip4.org/svnroot/tags/xCIP4Master-1.0</connection>
</scm>
<issueManagement>
<system>JIRA</system>
<url>http://jira.cip4.org/jira/browse/XJDFLIB</url>
</issueManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.6</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<finalName>${project.artifactId}-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>${basedir}/src/docbkx/assembly/styles-zip.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- DocBook Style -->
<plugin>
<!-- DocBook Styles, Bilder und Assembly ins Arbeitsverzeichnis entpacken -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution> <!-- ignore error -->
<id>unpack-docbook-userguide</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<includes>styles/**,images/**,assembly/**</includes>
<artifactItems>
<artifactItem>
<groupId>${project.parent.groupId}</groupId>
<artifactId>${project.parent.artifactId}</artifactId>
<version>${project.parent.version}</version>
<type>zip</type>
</artifactItem>
</artifactItems>
<outputDirectory>${workDirectory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>${docbkx-maven-plugin.version}</version>
<dependencies>
<!-- set docbook version -->
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>${docbook.version}</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>runtime</scope>
</dependency>
<!-- activate hyphenation -->
<dependency>
<groupId>net.sf.offo</groupId>
<artifactId>fop-hyph</artifactId>
<version>${fop-hyph.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<executions>
<execution>
<phase>generate-resources</phase>
<id>generate-userguide</id>
<goals>
<!-- output format -->
<goal>generate-pdf</goal>
<!--<goal>generate-html</goal> -->
<!--<goal>generate-webhelp</goal> -->
</goals>
<configuration>
<!-- source documents -->
<includes>book.xml</includes>
<!-- copy furhter sources needed -->
<preProcess>
<copy todir="${workDirectory}">
<fileset dir="${basedir}/src/docbkx" />
</copy>
<!-- copy images for HTML -->
<copy todir="${basedir}/target/docbkx/html/images">
<fileset dir="${workDirectory}/images">
<exclude name="**/*.pdf" />
</fileset>
</copy>
<!-- copy CSS-Styles for HTML -->
<copy todir="${basedir}/target/docbkx/html/styles">
<fileset dir="${workDirectory}/styles">
<include name="*.css" />
</fileset>
</copy>
<!-- Copy images for Webhelp doc. Has to be modified in case document
name changes. -->
<copy todir="${basedir}/target/docbkx/webhelp/docbook_maven/content/images">
<fileset dir="${workDirectory}/images">
<exclude name="**/*.pdf" />
</fileset>
</copy>
</preProcess>
</configuration>
</execution>
</executions>
<configuration>
<!-- work directory -->
<sourceDirectory>${workDirectory}</sourceDirectory>
<!-- additional XSLT Parameters -->
<customizationParameters>
<parameter>
<name>project_name</name>
<value>${project.name}</value>
</parameter>
<parameter>
<name>project_version</name>
<value>${project.version}</value>
</parameter>
<parameter>
<name>build_timestamp</name>
<value>${maven.build.timestamp}</value>
</parameter>
</customizationParameters>
<!-- document language -->
<l10nGentextLanguage>en</l10nGentextLanguage>
<!-- language definition syntax highlighting. -->
<highlightXslthlConfig>${workDirectory}/styles/highlighters/xslthl-config.xml</highlightXslthlConfig>
<!-- common font -->
<bodyFontFamily>Ubuntu</bodyFontFamily>
<!-- add custom fonts -->
<fonts>
<font>
<name>Ubuntu</name>
<style>normal</style>
<weight>normal</weight>
<embedFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-R.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-R.xml</metricsFile>
</font>
<font>
<name>Ubuntu</name>
<style>normal</style>
<weight>bold</weight>
<embedFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-B.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-B.xml</metricsFile>
</font>
<font>
<name>Ubuntu</name>
<style>italic</style>
<weight>normal</weight>
<embedFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-RI.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-RI.xml</metricsFile>
</font>
<font>
<name>Ubuntu</name>
<style>italic</style>
<weight>bold</weight>
<embedFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-BI.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/Ubuntu/Ubuntu-BI.xml</metricsFile>
</font>
<font>
<name>DejaVuSansMono</name>
<style>normal</style>
<weight>normal</weight>
<embedFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono.xml</metricsFile>
</font>
<font>
<name>DejaVuSansMono</name>
<style>normal</style>
<weight>bold</weight>
<embedFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono-Bold.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono-Bold.xml</metricsFile>
</font>
<font>
<name>DejaVuSansMono</name>
<style>italic</style>
<weight>normal</weight>
<embedFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono-Oblique.ttf</embedFile>
<metricsFile>${workDirectory}/styles/fonts/DejaVuSansMono/DejaVuSansMono-Oblique.xml</metricsFile>
</font>
</fonts>
<!-- Custom PDF Styles -->
<foCustomization>${workDirectory}/styles/docbook-pdf.xsl</foCustomization>
<!-- Custom HTML Styles -->
<htmlCustomization>${workDirectory}/styles/docbook-html.xsl</htmlCustomization>
<!-- Enable include mechanism 'xi:include href="..."' -->
<xincludeSupported>true</xincludeSupported>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>