Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 10th, 2012  |  syntax: None  |  size: 8.03 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" 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.     <artifactId>docs</artifactId>
  7.     <groupId>org.ai2l.chaire-logiciel-libre</groupId>
  8.     <version>1.0-SNAPSHOT</version>
  9.     <name>docs</name>
  10.  
  11.     <properties>
  12.       <source.file></source.file>
  13.     </properties>
  14.    
  15.     <build>
  16.         <plugins>
  17.             <plugin>
  18.                 <groupId>com.agilejava.docbkx</groupId>
  19.                 <artifactId>docbkx-maven-plugin</artifactId>
  20.                 <version>2.0.11</version>
  21.                 <dependencies>
  22.                     <dependency>
  23.                         <groupId>net.sf.docbook</groupId>
  24.                         <artifactId>docbook-xml</artifactId>
  25.                         <version>5.0-all</version>
  26.                         <classifier>resources</classifier>
  27.                         <type>zip</type>
  28.                         <scope>runtime</scope>
  29.                     </dependency>
  30.                     <dependency>
  31.                         <groupId>net.sf.docbook</groupId>
  32.                         <artifactId>docbook-xsl</artifactId>
  33.                         <version>1.76.1</version>
  34.                         <classifier>ns-resources</classifier>
  35.                         <type>zip</type>
  36.                         <scope>runtime</scope>
  37.                     </dependency>
  38.                     <dependency>
  39.                         <groupId>net.sf.offo</groupId>
  40.                         <artifactId>fop-hyph</artifactId>
  41.                         <version>1.2</version>
  42.                     </dependency>
  43.                     <dependency>
  44.                         <groupId>net.sf.xslthl</groupId>
  45.                         <artifactId>xslthl</artifactId>
  46.                         <version>2.0.1</version>
  47.                         <scope>runtime</scope>
  48.                     </dependency>
  49.                 </dependencies>
  50.                 <executions>
  51.                     <!-- -->
  52.                     <execution>
  53.                         <id>documentation identifier</id>
  54.                         <phase>pre-site</phase>
  55.                         <goals>
  56.                             <!--<goal>generate-html</goal>-->
  57.                             <goal>generate-pdf</goal>
  58.                         </goals>
  59.                         <configuration>
  60.                             <!-- per execution configuration -->
  61.                             <highlightSource>1</highlightSource>
  62.                             <includes>${source.file}</includes>
  63.                             <fonts>
  64.                                 <font>
  65.                                     <name>Droid Serif</name>
  66.                                     <style>normal</style>
  67.                                     <weight>normal</weight>
  68.                                     <embedFile>src/fonts/ttf-droid/DroidSerif-Regular.ttf</embedFile>
  69.                                     <metricsFile>src/fonts/ttf-droid/DroidSerif-Regular-metrics.xml</metricsFile>
  70.                                 </font>
  71.                                 <font>
  72.                                     <name>Droid Serif</name>
  73.                                     <style>italic</style>
  74.                                     <weight>normal</weight>
  75.                                     <embedFile>src/fonts/ttf-droid/DroidSerif-Italic.ttf</embedFile>
  76.                                     <metricsFile>src/fonts/ttf-droid/DroidSerif-Italic-metrics.xml</metricsFile>
  77.                                 </font>
  78.                                 <font>
  79.                                     <name>Droid Serif</name>
  80.                                     <style>normal</style>
  81.                                     <weight>bold</weight>
  82.                                     <embedFile>src/fonts/ttf-droid/DroidSerif-Bold.ttf</embedFile>
  83.                                     <metricsFile>src/fonts/ttf-droid/DroidSerif-Bold-metrics.xml</metricsFile>
  84.                                 </font>
  85.                                 <font>
  86.                                     <name>Droid Serif</name>
  87.                                     <style>italic</style>
  88.                                     <weight>bold</weight>
  89.                                     <embedFile>src/fonts/ttf-droid/DroidSerif-BoldItalic.ttf</embedFile>
  90.                                     <metricsFile>src/fonts/ttf-droid/DroidSerif-BoldItalic-metrics.xml</metricsFile>
  91.                                 </font>
  92.                                 <font>
  93.                                     <name>Droid Sans Mono</name>
  94.                                     <style>normal</style>
  95.                                     <weight>normal</weight>
  96.                                     <embedFile>src/fonts/ttf-droid/DroidSansMono.ttf</embedFile>
  97.                                     <metricsFile>src/fonts/ttf-droid/DroidSansMono-metrics.xml
  98.                                     </metricsFile>
  99.                                 </font>
  100.                                 <font>
  101.                                     <name>Droid Sans Mono</name>
  102.                                     <style>italic</style>
  103.                                     <weight>normal</weight>
  104.                                     <embedFile>src/fonts/ttf-droid/DroidSansMono.ttf</embedFile>
  105.                                     <metricsFile>src/fonts/ttf-droid/DroidSansMono-metrics.xml
  106.                                     </metricsFile>
  107.                                 </font>
  108.                                 <font>
  109.                                     <name>Droid Sans Mono</name>
  110.                                     <style>normal</style>
  111.                                     <weight>bold</weight>
  112.                                     <embedFile>src/fonts/ttf-droid/DroidSansMono.ttf</embedFile>
  113.                                     <metricsFile>src/fonts/ttf-droid/DroidSansMono-metrics.xml
  114.                                     </metricsFile>
  115.                                 </font>
  116.                                 <font>
  117.                                     <name>Droid Sans Mono</name>
  118.                                     <style>italic</style>
  119.                                     <weight>bold</weight>
  120.                                     <embedFile>src/fonts/ttf-droid/DroidSansMono.ttf</embedFile>
  121.                                     <metricsFile>src/fonts/ttf-droid/DroidSansMono-metrics.xml
  122.                                     </metricsFile>
  123.                                 </font>
  124.                             </fonts>
  125.                         </configuration>
  126.                     </execution>
  127.                 </executions>
  128.                 <configuration>
  129.                     <!-- shared configuration -->
  130.                     <generatedSourceDirectory>${project.build.directory}/docbkx/generated</generatedSourceDirectory>
  131.                     <xincludeSupported>true</xincludeSupported>
  132.                     <paperType>Letter</paperType>
  133.                     <fop1Extensions>1</fop1Extensions>
  134.  
  135.                     <foCustomization>src/docbkx-stylesheet/fo/docbook.xsl</foCustomization>
  136.  
  137.                 </configuration>
  138.             </plugin>
  139.         </plugins>
  140.     </build>
  141.  
  142.     <repositories>
  143.         <repository>
  144.             <id>public</id>
  145.             <name>Public Repositories</name>
  146.             <url>http://artifacts.chaire-logiciel-libre.uqam.ca/content/groups/public</url>
  147.         </repository>
  148.     </repositories>
  149.  
  150.     <distributionManagement>
  151.         <repository>
  152.             <id>public</id>
  153.             <name>Chaire Releases</name>
  154.             <url>http://artifacts.chaire-logiciel-libre.uqam.ca/content/repositories/releases/</url>
  155.         </repository>
  156.         <snapshotRepository>
  157.             <id>public</id>
  158.             <name>Chaire Snapshots</name>
  159.             <url>http://artifacts.chaire-logiciel-libre.uqam.ca/content/repositories/snapshots/</url>
  160.         </snapshotRepository>
  161.     </distributionManagement>
  162.  
  163. </project>