This is a different stacktrace now and it comes from the javadoc plugin. Can you
disable your reports so we can concentrate on one issue at a time?
-Lukas
Fred Vos wrote:
On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote:
Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0
which may lead to some classpath-confusion.
Thanks Lukas and Anders, but also site-plugin-2.1-SNAPHOT doesn't
work. I added the
https://repository.apache.org/content/repositories/snapshots/
successfully as a plugin repository, cleaned up my local repo once
again and used the following settings for the site plugin:
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-docbook-simple</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
<configuration>
<siteDirectory>${basedir}/target/pre-site</siteDirectory>
</configuration>
</plugin>
Running
$ mvn clean site:site
again produces:
[...]
[INFO] Generating "JavaDocs" report.
[WARNING] Source files encoding has not been set, using platform encoding
UTF-8, i.e. build is platform dependent!
[FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage
error (java.lang.ExceptionInInitializerError) and may be out-of-date. Check the
realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.1-SNAPSHOT]
urls[0] =
file:/home/vosf/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1-SNAPSHOT/maven-site-plugin-2.1-SNAPSHOT.jar
urls[1] =
file:/home/vosf/.m2/repository/org/apache/maven/doxia/doxia-module-docbook-simple/1.1.1/doxia-module-docbook-simple-1.1.1.jar
[...]
urls[25] =
file:/home/vosf/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
urls[26] =
file:/home/vosf/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/opt/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
Invalid class loader hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ExceptionInInitializerError
at
org.apache.maven.plugin.javadoc.JavadocUtil.fetchURL(JavadocUtil.java:731)
at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.isValidJavadocLink(AbstractJavadocMojo.java:4694)
at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.addLinkArguments(AbstractJavadocMojo.java:3259)
at
org.apache.maven.plugin.javadoc.AbstractJavadocMojo.addStandardDocletOptions(AbstractJavadocMojo.java:3910)
[...]
I'm giving up. I thought the path: reStructuredText -> intermediate
XML -> DocBook -> HTML with the final step performed by
doxia-module-docbook-simple v. 1.1.1 was possible for producing a site
based on reStructuredText, but it's not. With version 1.0 of the
docbook-simple module it works, but then images don't work.
I have to think about my next step.
Thanks again, Lukas and Anders, for your time.
Fred
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org