[
http://jira.codehaus.org/browse/MOJO-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Trieloff updated MOJO-693:
-------------------------------
Attachment: maven-docbook-profiling.patch
I just looked into the issue and found the cause of the problem: Carlos changed
the dependencies of the plugin to use the version of the
DocBook-XSL-Stylesheets that is available in the repository, which is packaged
as a ZIP file.
The MojoURIResolver provided with my patch loads resource:// urls from
classpath resources, and the default configuration expects a JAR file
containing the docbook-xsl stylesheets as seen on
http://releases.mindquarry.org/org/docbook/docbook-xsl/1.72.0/ to be present in
the classpath. As this is not the case with the current depdendencies, the
stylesheet cannot be loaded.
My patch reverts some of Carlos' changes to the depdendency management:
- use a complete fop pom (from
http://releases.mindquarry.org/org/apache/xmlgraphics/fop/0.93/)
- use Docbook-XSL-Stylesheets packaged as JAR (from
http://releases.mindquarry.org/org/docbook/docbook-xsl/1.72.0/)
- add releases.mindquarry.org as repository (this is only a temporary solution,
it would be best to move the artifacts to the central repository)
- use Xalan instead of Saxon, as problems occur when Saxon tries to use
extension functions in the DocBook stylesheets
otherwise it is pretty much everything that Carlos changed.
> DocBook Profiling Support
> -------------------------
>
> Key: MOJO-693
> URL: http://jira.codehaus.org/browse/MOJO-693
> Project: Mojo
> Issue Type: New Feature
> Components: docbook
> Reporter: Lars Trieloff
> Attachments: maven-docbook-profiling.patch,
> maven-docbook-profiling.patch, MOJO-693.txt
>
>
> The following patch contains my previous patches (MOJO-617 MOJO-485 MOJO-484)
> for the docbook plugin and adds support for DocBook profiling. This allows to
> generate a Linux and a Windows version of the documentation from one single
> DocBook document.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email