tforsberg / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

Current snapshot PDF build fails when using custom font #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm looking at 2.0.15-SNAPSHOT, running into an issue when using a custom font 
in the PDF.

I have created a small test project, https://github.com/markcraig/DOCS-81. This 
test project is based on the archetype, just uses a custom font.

With 2.0.14 it succeeds. However, with 2.0.15-SNAPSHOT this same thing fails.

To reproduce the problem, clone the test project from Github, and run the Maven 
pre-site goal.

The build fails on an API incompatibility.

The following build was run on Mac OS X 10.9 with Oracle Java 7 update 45.

$ mvn -e pre-site
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Docbkx Maven Quickstart Archetype 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- docbkx-fop-support:2.0.15-SNAPSHOT:generate (default) @ DOCS-81 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.403s
[INFO] Finished at: Mon Dec 09 05:54:17 PST 2013
[INFO] Final Memory: 8M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate (default) on 
project DOCS-81: Execution default of goal 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate failed: An API 
incompatibility was encountered while executing 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate: 
java.lang.NoSuchMethodError: 
org.apache.fop.fonts.apps.TTFReader.loadTTF(Ljava/lang/String;Ljava/lang/String;
)Lorg/apache/fop/fonts/truetype/TTFFile;
[ERROR] -----------------------------------------------------
[ERROR] realm =    
plugin>com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/Users/mark/.m2/repository/com/agilejava/docbkx/docbkx-fop-support/2.0.15-S
NAPSHOT/docbkx-fop-support-2.0.15-SNAPSHOT.jar
[ERROR] urls[1] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
[ERROR] urls[2] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.5/x
mlgraphics-commons-1.5.jar
[ERROR] urls[3] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-s
vg-dom-1.7.jar
[ERROR] urls[4] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-anim/1.7/batik-anim
-1.7.jar
[ERROR] urls[5] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1
.7.jar
[ERROR] urls[6] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1
.7.jar
[ERROR] urls[7] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-parser/1.7/batik-pa
rser-1.7.jar
[ERROR] urls[8] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-util/1.7/batik-util
-1.7.jar
[ERROR] urls[9] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
[ERROR] urls[10] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04
.jar
[ERROR] urls[11] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-bridge/1.7/batik-br
idge-1.7.jar
[ERROR] urls[12] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-script/1.7/batik-sc
ript-1.7.jar
[ERROR] urls[13] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7
.jar
[ERROR] urls[14] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1
.7.jar
[ERROR] urls[15] = 
file:/Users/mark/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
[ERROR] urls[16] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-awt-util/1.7/batik-
awt-util-1.7.jar
[ERROR] urls[17] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1
.7.jar
[ERROR] urls[18] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-transcoder/1.7/bati
k-transcoder-1.7.jar
[ERROR] urls[19] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svggen/1.7/batik-sv
ggen-1.7.jar
[ERROR] urls[20] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-extension/1.7/batik
-extension-1.7.jar
[ERROR] urls[21] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1
.7.jar
[ERROR] urls[22] = 
file:/Users/mark/.m2/repository/commons-logging/commons-logging/1.0.4/commons-lo
gging-1.0.4.jar
[ERROR] urls[23] = 
file:/Users/mark/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
[ERROR] urls[24] = 
file:/Users/mark/.m2/repository/org/apache/avalon/framework/avalon-framework-imp
l/4.3.1/avalon-framework-impl-4.3.1.jar
[ERROR] urls[25] = 
file:/Users/mark/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-util
s-1.1.jar
[ERROR] urls[26] = 
file:/Users/mark/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate (default) on 
project DOCS-81: Execution default of goal 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate failed: An API 
incompatibility was encountered while executing 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate: 
java.lang.NoSuchMethodError: 
org.apache.fop.fonts.apps.TTFReader.loadTTF(Ljava/lang/String;Ljava/lang/String;
)Lorg/apache/fop/fonts/truetype/TTFFile;
-----------------------------------------------------
realm =    plugin>com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = 
file:/Users/mark/.m2/repository/com/agilejava/docbkx/docbkx-fop-support/2.0.15-S
NAPSHOT/docbkx-fop-support-2.0.15-SNAPSHOT.jar
urls[1] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
urls[2] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.5/x
mlgraphics-commons-1.5.jar
urls[3] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-s
vg-dom-1.7.jar
urls[4] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-anim/1.7/batik-anim
-1.7.jar
urls[5] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1
.7.jar
urls[6] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1
.7.jar
urls[7] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-parser/1.7/batik-pa
rser-1.7.jar
urls[8] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-util/1.7/batik-util
-1.7.jar
urls[9] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
urls[10] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04
.jar
urls[11] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-bridge/1.7/batik-br
idge-1.7.jar
urls[12] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-script/1.7/batik-sc
ript-1.7.jar
urls[13] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7
.jar
urls[14] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1
.7.jar
urls[15] = file:/Users/mark/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
urls[16] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-awt-util/1.7/batik-
awt-util-1.7.jar
urls[17] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1
.7.jar
urls[18] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-transcoder/1.7/bati
k-transcoder-1.7.jar
urls[19] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svggen/1.7/batik-sv
ggen-1.7.jar
urls[20] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-extension/1.7/batik
-extension-1.7.jar
urls[21] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1
.7.jar
urls[22] = 
file:/Users/mark/.m2/repository/commons-logging/commons-logging/1.0.4/commons-lo
gging-1.0.4.jar
urls[23] = 
file:/Users/mark/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
urls[24] = 
file:/Users/mark/.m2/repository/org/apache/avalon/framework/avalon-framework-imp
l/4.3.1/avalon-framework-impl-4.3.1.jar
urls[25] = 
file:/Users/mark/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-util
s-1.1.jar
urls[26] = file:/Users/mark/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default 
of goal com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate 
failed: An API incompatibility was encountered while executing 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate: 
java.lang.NoSuchMethodError: 
org.apache.fop.fonts.apps.TTFReader.loadTTF(Ljava/lang/String;Ljava/lang/String;
)Lorg/apache/fop/fonts/truetype/TTFFile;
-----------------------------------------------------
realm =    plugin>com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = 
file:/Users/mark/.m2/repository/com/agilejava/docbkx/docbkx-fop-support/2.0.15-S
NAPSHOT/docbkx-fop-support-2.0.15-SNAPSHOT.jar
urls[1] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
urls[2] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.5/x
mlgraphics-commons-1.5.jar
urls[3] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-s
vg-dom-1.7.jar
urls[4] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-anim/1.7/batik-anim
-1.7.jar
urls[5] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1
.7.jar
urls[6] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1
.7.jar
urls[7] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-parser/1.7/batik-pa
rser-1.7.jar
urls[8] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-util/1.7/batik-util
-1.7.jar
urls[9] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
urls[10] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04
.jar
urls[11] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-bridge/1.7/batik-br
idge-1.7.jar
urls[12] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-script/1.7/batik-sc
ript-1.7.jar
urls[13] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7
.jar
urls[14] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1
.7.jar
urls[15] = file:/Users/mark/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
urls[16] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-awt-util/1.7/batik-
awt-util-1.7.jar
urls[17] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1
.7.jar
urls[18] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-transcoder/1.7/bati
k-transcoder-1.7.jar
urls[19] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svggen/1.7/batik-sv
ggen-1.7.jar
urls[20] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-extension/1.7/batik
-extension-1.7.jar
urls[21] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1
.7.jar
urls[22] = 
file:/Users/mark/.m2/repository/commons-logging/commons-logging/1.0.4/commons-lo
gging-1.0.4.jar
urls[23] = 
file:/Users/mark/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
urls[24] = 
file:/Users/mark/.m2/repository/org/apache/avalon/framework/avalon-framework-imp
l/4.3.1/avalon-framework-impl-4.3.1.jar
urls[25] = 
file:/Users/mark/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-util
s-1.1.jar
urls[26] = file:/Users/mark/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:139)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: An API 
incompatibility was encountered while executing 
com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT:generate: 
java.lang.NoSuchMethodError: 
org.apache.fop.fonts.apps.TTFReader.loadTTF(Ljava/lang/String;Ljava/lang/String;
)Lorg/apache/fop/fonts/truetype/TTFFile;
-----------------------------------------------------
realm =    plugin>com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = 
file:/Users/mark/.m2/repository/com/agilejava/docbkx/docbkx-fop-support/2.0.15-S
NAPSHOT/docbkx-fop-support-2.0.15-SNAPSHOT.jar
urls[1] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
urls[2] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.5/x
mlgraphics-commons-1.5.jar
urls[3] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-s
vg-dom-1.7.jar
urls[4] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-anim/1.7/batik-anim
-1.7.jar
urls[5] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1
.7.jar
urls[6] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1
.7.jar
urls[7] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-parser/1.7/batik-pa
rser-1.7.jar
urls[8] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-util/1.7/batik-util
-1.7.jar
urls[9] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
urls[10] = 
file:/Users/mark/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04
.jar
urls[11] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-bridge/1.7/batik-br
idge-1.7.jar
urls[12] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-script/1.7/batik-sc
ript-1.7.jar
urls[13] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7
.jar
urls[14] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1
.7.jar
urls[15] = file:/Users/mark/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
urls[16] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-awt-util/1.7/batik-
awt-util-1.7.jar
urls[17] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1
.7.jar
urls[18] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-transcoder/1.7/bati
k-transcoder-1.7.jar
urls[19] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-svggen/1.7/batik-sv
ggen-1.7.jar
urls[20] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-extension/1.7/batik
-extension-1.7.jar
urls[21] = 
file:/Users/mark/.m2/repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1
.7.jar
urls[22] = 
file:/Users/mark/.m2/repository/commons-logging/commons-logging/1.0.4/commons-lo
gging-1.0.4.jar
urls[23] = 
file:/Users/mark/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
urls[24] = 
file:/Users/mark/.m2/repository/org/apache/avalon/framework/avalon-framework-imp
l/4.3.1/avalon-framework-impl-4.3.1.jar
urls[25] = 
file:/Users/mark/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-util
s-1.1.jar
urls[26] = file:/Users/mark/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
    ... 20 more
Caused by: java.lang.NoSuchMethodError: 
org.apache.fop.fonts.apps.TTFReader.loadTTF(Ljava/lang/String;Ljava/lang/String;
)Lorg/apache/fop/fonts/truetype/TTFFile;
    at com.agilejava.docbkx.support.fop.FontmetricsMojo$TtfMetricsFileBuilder.transform(FontmetricsMojo.java:213)
    at com.agilejava.docbkx.support.fop.FontmetricsMojo.transform(FontmetricsMojo.java:94)
    at com.agilejava.docbkx.support.fop.FontmetricsMojo.execute(FontmetricsMojo.java:77)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    ... 20 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

Original issue reported on code.google.com by mark.cr...@gmail.com on 9 Dec 2013 at 1:55

GoogleCodeExporter commented 8 years ago
I think it was already resolved in #102, because my current docbkx version is 
not having this issue from your test project.

https://code.google.com/p/docbkx-tools/issues/detail?id=102&can=1

I have uploaded a new snapshot release, can you give it a try?

Cedric

Original comment by MimilO...@gmail.com on 22 Dec 2013 at 9:10

GoogleCodeExporter commented 8 years ago
Will try. I might not be able to do so until next week, however, as all I have 
is a Chromebook.

The test is actually pretty simple if you already have a git or a Github 
client: clone https://github.com/markcraig/DOCS-81 and run mvn pre-site. If it 
succeeds, that should be good enough.

Regards

Original comment by mark.cr...@gmail.com on 23 Dec 2013 at 6:08

GoogleCodeExporter commented 8 years ago
Found a host I can ssh into... Am just a bit confused, as I see this error:

[ERROR] Plugin com.agilejava.docbkx:docbkx-fop-support:2.0.15-SNAPSHOT or one 
of its dependencies could not be resolved: Failed to read artifact descriptor 
for com.agilejava.docbkx:docbkx-fop-support:jar:2.0.15-SNAPSHOT: Could not find 
artifact com.agilejava.docbkx:docbkx-fop-support:pom:2.0.15-SNAPSHOT -> [Help 1]

But I also see that the artifact does seem to exist, 
http://docbkx-tools.sourceforge.net/snapshots/com/agilejava/docbkx/docbkx-fop-su
pport/2.0.15-SNAPSHOT/

Need to have a longer look.

Original comment by mark.cr...@gmail.com on 23 Dec 2013 at 6:14

GoogleCodeExporter commented 8 years ago
Had to add the repository information in <pluginRepositories> rather than 
<repositories>.

It does look like you have fixed the font issue, Cedric.

I do see a build failure, but it is much later and completely different:

[ERROR] Failed to execute goal 
com.agilejava.docbkx:docbkx-maven-plugin:2.0.15-SNAPSHOT:generate-pdf 
(documentation identifier) on project DOCS-81: Execution documentation 
identifier of goal 
com.agilejava.docbkx:docbkx-maven-plugin:2.0.15-SNAPSHOT:generate-pdf failed: 
Plugin com.agilejava.docbkx:docbkx-maven-plugin:2.0.15-SNAPSHOT or one of its 
dependencies could not be resolved: The following artifacts could not be 
resolved: net.sf.docbook:docbook-xsl:zip:ns-resources:1.78.1, 
net.sf.docbook:docbook-xsl-webhelpindexer:jar:1.0.1: Could not find artifact 
net.sf.docbook:docbook-xsl:zip:ns-resources:1.78.1 in central 
(http://repo.maven.apache.org/maven2) -> [Help 1]

Perhaps I need to add a different repository for DocBook artifacts?

Original comment by mark.cr...@gmail.com on 23 Dec 2013 at 6:33

GoogleCodeExporter commented 8 years ago
Hello,

true they are not deployed (I though I did it but it seems not). I have 
deployed 1.78.1 but not yet webhelpindexer because I have some issues with 
sourceforge having changed its interface.

Original comment by MimilO...@gmail.com on 29 Dec 2013 at 11:35

GoogleCodeExporter commented 8 years ago
I deployed xsl-webhelpindexer in version 1.0.0-9777 (snapshot release from 
docbook subversion) as there is no official release.

I cllose the issue

Original comment by MimilO...@gmail.com on 3 Jan 2014 at 9:40

GoogleCodeExporter commented 8 years ago

Original comment by MimilO...@gmail.com on 19 Jan 2014 at 7:05

GoogleCodeExporter commented 8 years ago

Original comment by MimilO...@gmail.com on 19 Jan 2014 at 7:05