PageRenderTime 25ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/protocols/asn/docs/jdocbook-mobicents/pom.xml

http://mobicents.googlecode.com/
XML | 142 lines | 128 code | 10 blank | 4 comment | 0 complexity | 226d0928a420e39f7b432efe67682c7d MD5 | raw file
Possible License(s): LGPL-3.0, GPL-3.0, LGPL-2.1, GPL-2.0, CC-BY-SA-3.0, CC0-1.0, Apache-2.0, BSD-3-Clause
  1. <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">
  2. <parent>
  3. <artifactId>mobicents-asn-docs</artifactId>
  4. <groupId>org.mobicents.protocols.asn.docs</groupId>
  5. <version>2.0.0-SNAPSHOT</version>
  6. </parent>
  7. <artifactId>mobicents-asn-docs-jdocbook-mobicents</artifactId>
  8. <modelVersion>4.0.0</modelVersion>
  9. <name>Mobicents :: ASN :: Docs :: Build :: ${pom.artifactId}</name>
  10. <packaging>jdocbook</packaging>
  11. <profiles>
  12. <profile>
  13. <id>release</id>
  14. <build>
  15. <plugins>
  16. <plugin>
  17. <artifactId>maven-antrun-plugin</artifactId>
  18. <inherited>false</inherited>
  19. <executions>
  20. <execution>
  21. <phase>deploy</phase>
  22. <goals>
  23. <goal>run</goal>
  24. </goals>
  25. <configuration>
  26. <tasks>
  27. <!-- copy docs -->
  28. <copy overwrite="true" todir="${basedir}/../../release/${release.name}/docs">
  29. <fileset dir="${basedir}/target/docbook/publish" />
  30. </copy>
  31. </tasks>
  32. </configuration>
  33. </execution>
  34. </executions>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. </profile>
  39. </profiles>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-dependency-plugin</artifactId>
  45. <executions>
  46. <execution>
  47. <id>unpack</id>
  48. <phase>generate-resources</phase>
  49. <goals>
  50. <goal>unpack</goal>
  51. </goals>
  52. <configuration>
  53. <artifactItems>
  54. <artifactItem>
  55. <groupId>${pom.groupId}</groupId>
  56. <artifactId>mobicents-asn-docs-sources-mobicents</artifactId>
  57. <version>${pom.version}</version>
  58. <type>jar</type>
  59. <overWrite>true</overWrite>
  60. <outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
  61. </artifactItem>
  62. </artifactItems>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.jboss.maven.plugins</groupId>
  69. <artifactId>maven-jdocbook-plugin</artifactId>
  70. <version>2.3.0</version>
  71. <extensions>true</extensions>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.jboss</groupId>
  75. <artifactId>jbossorg-docbook-xslt</artifactId>
  76. <version>1.1.0</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.jboss</groupId>
  80. <artifactId>jbossorg-jdocbook-style</artifactId>
  81. <version>1.1.0</version>
  82. <type>jdocbook-style</type>
  83. </dependency>
  84. <dependency>
  85. <groupId>xml-resolver</groupId>
  86. <artifactId>xml-resolver</artifactId>
  87. <version>1.1</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>saxon</groupId>
  91. <artifactId>saxon</artifactId>
  92. <version>6.5.3</version>
  93. </dependency>
  94. </dependencies>
  95. <configuration>
  96. <sourceDocumentName>SS7_Stack_User_Guide.xml</sourceDocumentName>
  97. <sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
  98. <imageResource>
  99. <directory>${project.build.directory}/docbook/resources/en-US</directory>
  100. <includes>
  101. <include>images/*</include>
  102. </includes>
  103. </imageResource>
  104. <formats>
  105. <format>
  106. <formatName>pdf</formatName>
  107. <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
  108. <finalName>Mobicents_${docs.bookid}_User_Guide.pdf</finalName>
  109. </format>
  110. <format>
  111. <formatName>html</formatName>
  112. <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
  113. <finalName>index.html</finalName>
  114. </format>
  115. <format>
  116. <formatName>html_single</formatName>
  117. <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
  118. <finalName>index.html</finalName>
  119. </format>
  120. </formats>
  121. <options>
  122. <xincludeSupported>true</xincludeSupported>
  123. <!-- needed for uri-resolvers; can be ommitted if using 'current' uri
  124. scheme -->
  125. <!-- could also locate the docbook dependency and inspect its version... -->
  126. <docbookVersion>1.72.0</docbookVersion>
  127. </options>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. </project>