--
You received this message because you are subscribed to the Google Groups "Docbkx Tools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docbkx-tools-us...@googlegroups.com.
To post to this group, send email to docbkx-to...@googlegroups.com.
Visit this group at http://groups.google.com/group/docbkx-tools-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
Cedric,Regards,Hello,adding ${basedir} at the beginning isn't working? (<htmlCustomization>${basedir}/docbook/html/custom.xsl</htmlCustomization>)
On Fri, Jan 24, 2014 at 3:03 PM, David Porter <davidp...@gmail.com> wrote:
We are consuming the docbkx-maven-plugin in our own in-house doc plugin, which is in turn used by a number of our documentation projects.
Our plugin copies our customization files into the relevant DocBook XSL directory (html, fo, webhelp, etc) and then packages the whole lot as a JAR.
Previously we were using docbkx-maven-plugin 2.0.13 and the following entry in our doc plugin pom.xml worked fine:
<htmlCustomization>docbook/html/custom.xsl</htmlCustomization>
I am now trying out 2.0.15. Now, mvn site builds that use our doc plugin fail because they can no longer find our customization files. The build is looking in the directory structure of the documentation project itself, when in fact they are in our doc plugin JAR in the local .m2 repository.The error looks like thisFailed to read stylesheet from file:...target/sitedocs/myguide/docbook/html/custom.xsl (No such file or directory)I imagine this has something to do with the fix for Issue 93.Any ideas for a workaround? I'd like to move to 2.0.15 to get the latest WebHelp changes.
--
You received this message because you are subscribed to the Google Groups "Docbkx Tools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docbkx-tools-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to docbkx-tools-us...@googlegroups.com.
[DEBUG] Configuring mojo com.agilejava.docbkx:docbkx-maven-plugin:2.0.13:generate-html from plugin realm ClassRealm[plugin>com.agilejava.docbkx:docbkx-maven-plugin:2.0.13, parent: sun.misc.Launcher$AppClassLoader@135fbaa4]
[DEBUG] Configuring mojo 'com.agilejava.docbkx:docbkx-maven-plugin:2.0.13:generate-html' with override configurator -->
...
[DEBUG] Using stylesheet: jar:file:/Users/david.porter/.m2/repository/com/newbay/maven/plugins/doc/1.0.16/doc-1.0.16-resources.jar!/docbook/html/docbook.xsl
[DEBUG] SourceFile: /Users/david.porter/projects/my-book/target/working/my-book.xml[DEBUG] TargetFile: /Users/david.porter/projects/target/site/docs/my-book/htmlsingle/my-book.html[INFO] Processing input file: my-book.xml[DEBUG] Xerces XInclude mode entered[DEBUG] Customization: docbook/html/customhtmlsingle.xsl
[DEBUG] Configuring mojo com.agilejava.docbkx:docbkx-maven-plugin:2.0.16:generate-html from plugin realm ClassRealm[plugin>com.agilejava.docbkx:docbkx-maven-plugin:2.0.16, parent: sun.misc.Launcher$AppClassLoader@135fbaa4][DEBUG] Configuring mojo 'com.agilejava.docbkx:docbkx-maven-plugin:2.0.16:generate-html' with override configurator -->...
[DEBUG] Using stylesheet: jar:file:/Users/david.porter/.m2/repository/com/newbay/maven/plugins/doc/1.0.20-SNAPSHOT/doc-1.0.20-SNAPSHOT-resources.jar!/docbook/html/docbook.xsl
[DEBUG] SourceFile: /Users/david.porter/projects/my-other-book/target/working/my-other-book.xml
[DEBUG] TargetFile: /Users/david.porter/projects/my-other-book/target/site/docs/my-other-book/htmlsingle/my-other-book.html
[INFO] Processing input file: my-other-book.xml
[DEBUG] Xerces XInclude mode entered
[DEBUG] Customization: /Users/david.porter/projects/my-other-book/docbook/html/customhtmlsingle.xsl
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
<!-- This sample shows how to use a stylesheet customization located in the dependency classpath. It must start by 'classpath:/'. -->
<profile>
<id>docbkx.jar-configuration</id>
<build>
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>${project.version}</version>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl</artifactId>
<version>1.78.1</version>
<classifier>ns-resources</classifier>
<type>zip</type>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<foCustomization>classpath:/docbook/fo/docbook.xsl</foCustomization>
<includes>article.xml</includes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<example.title>Additional customization</example.title>
<example.input>article.xml</example.input>
</properties>
</profile>
Regards,
Cedric,
--
You received this message because you are subscribed to the Google Groups "Docbkx Tools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docbkx-tools-us...@googlegroups.com.
To post to this group, send email to docbkx-to...@googlegroups.com.
Visit this group at https://groups.google.com/group/docbkx-tools-users.
For more options, visit https://groups.google.com/d/optout.
--