In the log below, the first error in the fo:fo is down to this line in
the pdf plugin.jelly:
<arg value="file://${plugin.dir}/project2fo.xslt"/>
(I can see how that would work for eg /opt/plugins, but on PCs it just
fails. It should just be <arg value="${plugin.dir}/project2fo.xslt"/>.
I'll raise this as a bug.)
The second error, in the pdf:pdf goal, is a mystery, as the pdf task was
freshly build with b8, log below, and is failing to find 'fop' when its
obviously downloaded it. My classpath is clean. Anyone got any ideas?
pdf:pdf does:
<java classname="org.apache.fop.apps.Fop" fork="yes">
<classpath>
<pathelement location="${plugin.getDependencyPath('fop')}"/>
(etc)
-Baz
$ maven pdf
[...]
fo:fo:
[echo] Generating C:\extant\work\portalizer/target/docs/project.fo ...
[java]
[java] (Location of error unknown)XSLT Error
(javax.xml.transform.TransformerException): java.net.UnknownHostException: C
[java] [ERROR] Java Result: -1
fo:
pdf:pdf:
[echo] Generating C:\extant\work\portalizer/target/docs/project.pdf ...
[java] java.lang.NoClassDefFoundError: org/apache/fop/apps/Fop
[java] Exception in thread "main"
[java] [ERROR] Java Result: 1
[build log for pdf plugin]
[exec] +----------------------------------------
[exec] | Building Maven PDF Plug-in
[exec] +----------------------------------------
[exec] Getting: http://www.ibiblio.org/maven/fop/jars/fop-0.20.3.jar
[exec] Writing
C:\cygwin\home\bewins\jakarta-turbine-maven\repository\fop\jars\fop-0.20.3.jar
[exec] ....................................................
[exec] Getting:
http://www.ibiblio.org/maven/batik/jars/batik-1.1.1.jar
[exec] Writing
C:\cygwin\home\bewins\jakarta-turbine-maven\repository\batik\jars\batik-1.1.1.jar
[exec] .........................................................
[exec] Getting:
http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.0.jar
[exec] Writing
C:\cygwin\home\bewins\jakarta-turbine-maven\repository\avalon-framework\jars\avalon-framework-4.0.jar
[exec] ...
[exec] Getting:
http://www.ibiblio.org/maven/xalan/jars/xalan-2.3.1.jar
[exec] Writing
C:\cygwin\home\bewins\jakarta-turbine-maven\repository\xalan\jars\xalan-2.3.1.jar
[exec] .........................
[exec] clean:clean:
[exec] [delete] Deleting directory
C:\cygwin\home\bewins\jakarta-turbine-maven\src\plugins-build\pdf\target
[exec]
[exec] clean:
[exec]
[exec] plugin:
[exec] [mkdir] Created dir:
C:\cygwin\home\bewins\jakarta-turbine-maven\src\plugins-build\pdf\target\assemblyDi
r
[exec] [copy] Copying 11 files to
C:\cygwin\home\bewins\jakarta-turbine-maven\src\plugins-build\pdf\target\assemblyDir
[exec] [jar] Building jar:
C:\cygwin\home\bewins\jakarta-turbine-maven\src\plugins-build\pdf\target\maven-pdf-plugin-1.0-SNAPSHOT.jar
[exec] [copy] Copying 1 file to
C:\cygwin\home\bewins\jakarta-turbine-maven\repository\maven\jars
[exec]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Problems with pdf plugin Brian Ewins
- Re: Problems with pdf plugin Brian Ewins
- Re: Problems with pdf plugin dion
