compile fop 2.3 from source

ngong <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Did not find any javadoc of fop 2.3. Tried to generate it from downloaded
source.
Doing a "mvn clean install" led to failures:

Downloaded from central:
https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar (121
kB at 25 kB/s)
Downloaded from central:
https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12.jar
(358 kB at 73 kB/s)
Downloaded from central:
https://repo.maven.apache.org/maven2/com/google/collections/google-collections/1.0/google-collections-1.0.jar
(640 kB at 128 kB/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to
E:\winEclipse\fop-2.3\fop-util\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
E:\winEclipse\fop-2.3\fop-util\src\main\java\org\apache\fop\util\XMLResourceBundle.java:[20]
error: cannot access org.apache.fop.util
[ERROR]   error accessing directory
E:\winEclipse\fop-2.3\fop-util\src\main\javajava.nio.file.InvalidPathException:
Illegal char <:> at index 42:
org\apache\fop\util\XMLResourceBundle.java:Zone.Identifier
E:\winEclipse\fop-2.3\fop-util\src\main\java\org\apache\fop\util\text\AdvancedMessageFormat.java:[20]
error: cannot access org.apache.fop.util.text
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache FOP Parent 2.3:
[INFO]
[INFO] Apache FOP Parent .................................. SUCCESS [ 13.520
s]
[INFO] Apache FOP Utilities ............................... FAILURE [ 54.544
s]
[INFO] Apache FOP Events .................................. SKIPPED
[INFO] Apache FOP Core .................................... SKIPPED
[INFO] Apache FOP All-In-One .............................. SKIPPED
[INFO] Apache FOP Sandbox ................................. SKIPPED
[INFO] Apache FOP Servlet ................................. SKIPPED
[INFO] Apache FOP Transcoder .............................. SKIPPED
[INFO] Apache FOP Transcoder All-In-One ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  01:08 min
[INFO] Finished at: 2019-02-19T23:58:13+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
on project fop-util: Compilation failure: Compilation failure:
[ERROR]
E:\winEclipse\fop-2.3\fop-util\src\main\java\org\apache\fop\util\XMLResourceBundle.java:[20]
error: cannot access org.apache.fop.util
[ERROR]   error accessing directory
E:\winEclipse\fop-2.3\fop-util\src\main\javajava.nio.file.InvalidPathException:
Illegal char <:> at index 42:
org\apache\fop\util\XMLResourceBundle.java:Zone.Identifier
[ERROR]
E:\winEclipse\fop-2.3\fop-util\src\main\java\org\apache\fop\util\text\AdvancedMessageFormat.java:[20]
error: cannot access org.apache.fop.util.text
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :fop-util

E:\winEclipse\fop-2.3>



--
Sent from: http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.