Maven
This page aggregates all the topics related to the use of Docbook XSL and Docbook XML within Maven tool.
The Docbook framework is now also published under Maven repositories thus allowing anyone using Maven to make a dependency to either the XSLs or the XMLs.
Which artifacts are really available?
''Do not forget to updated the value according the last published release in Maven repositories''
MavenDocBookXSL Stylesheets (namespaced):
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl</artifactId>
<version>1.75.1</version>
<type>zip</type>
<classifier>ns-resources</classifier>
</dependency>
MavenDocBookXSL Stylesheets:
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl</artifactId>
<version>1.75.1</version>
<type>zip</type>
<classifier>resources</classifier>
</dependency>
MavenDocBookSaxon extension:
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl-saxon</artifactId>
<version>1.0.0</version>
</dependency>
MavenDocBookXalan extension:
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl-xalan</artifactId>
<version>1.0.0</version>
</dependency>
MavenDocBook Schemas:
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>5.0-all</version>
<type>zip</type>
<classifier>resources</classifier>
</dependency>
Where is the artifact repository?
Even if we are synchronized with the maven central repository (which means that you have nothing to configure in your pom.xml) you may wonder where is our repository. It is hosted on the sourceforge project at http://docbook.sourceforge.net/maven/repository/
Advanced usages
More advanced usages of Docbook and Maven are available using maven plugins such as DocbkxTools (docbkx-tools) plugin. Numerous other maven plugins also exist.