Karl Heinz Marbaise wrote:

Hi to all,

I'm working on a multi module build which i tried to create a site
for....but if failed...

$ mvn --version
Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-27-generic", arch: "amd64", family:
"unix"

The project can be compiled packaged etc. without any problems (mvn clean
package or mvn clean verify works perfect)...I have nevery installed it (no
mvn install done)...

Why not? As the build log says, this is exactly what you should do...

-Lukas


But if i do a mvn site i got the following:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Pustefix Workspace :: Reactor
[INFO] Pustefix Workspace :: Unit Test Base Class
[INFO] Pustefix Workspace :: Configuration
[INFO] Pustefix Workspace :: Execution
[INFO] Pustefix Workspace :: SVN
[INFO] Pustefix Workspace :: Maven
[INFO] Pustefix Workspace :: release properties
[INFO] Pustefix Workspace :: Core
[INFO] Pustefix Workspace :: CLI
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Pustefix Workspace :: Reactor 0.1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:3.0-beta-3:site (default-site) @
pustefix-workspace ---
[INFO] configuring report plugin
org.apache.maven.plugins:maven-changes-plugin:2.3
[INFO] configuring report plugin
org.apache.maven.plugins:maven-jxr-plugin:2.1
[INFO] configuring report plugin
org.apache.maven.plugins:maven-surefire-report-plugin:2.7.2
[INFO]
[INFO]>>>  maven-surefire-report-plugin:2.7.2:report (report:report) @
pustefix-workspace>>>
[INFO]
[INFO]<<<  maven-surefire-report-plugin:2.7.2:report (report:report) @
pustefix-workspace<<<
[INFO]
[INFO]>>>  maven-surefire-report-plugin:2.7.2:report-only
(report:report-only) @ pustefix-workspace>>>
[INFO]
[INFO]<<<  maven-surefire-report-plugin:2.7.2:report-only
(report:report-only) @ pustefix-workspace<<<
[INFO] configuring report plugin
org.apache.maven.plugins:maven-javadoc-plugin:2.7
[INFO]
[INFO]>>>  maven-javadoc-plugin:2.7:aggregate (report:aggregate) @
pustefix-workspace>>>
[INFO]
[INFO]<<<  maven-javadoc-plugin:2.7:aggregate (report:aggregate) @
pustefix-workspace<<<
[INFO]
[INFO]>>>  maven-javadoc-plugin:2.7:javadoc (report:javadoc) @
pustefix-workspace>>>
[INFO]
[INFO]<<<  maven-javadoc-plugin:2.7:javadoc (report:javadoc) @
pustefix-workspace<<<
[INFO]
[INFO]>>>  maven-javadoc-plugin:2.7:test-aggregate (report:test-aggregate) @
pustefix-workspace>>>
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: Unit Test Base Class 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-unit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ubuntu/ws-git/pustefix-workspace/pws-unit/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pws-unit
---
[INFO] No sources to compile
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: Configuration 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-config ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
pws-config ---
[INFO] Compiling 4 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-config/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: Execution 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-execution ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ubuntu/ws-git/pustefix-workspace/pws-execution/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
pws-execution ---
[INFO] Compiling 9 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-execution/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: SVN 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-svn ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ubuntu/ws-git/pustefix-workspace/pws-svn/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pws-svn
---
[INFO] Compiling 4 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-svn/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: Maven 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-maven ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pws-maven
---
[INFO] Compiling 7 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-maven/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: release properties 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-releaseproperties ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
pws-releaseproperties ---
[INFO] Compiling 1 source file to
/home/ubuntu/ws-git/pustefix-workspace/pws-releaseproperties/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: Core 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pws-core
---
[INFO] Compiling 5 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-core/target/classes
[INFO]
[INFO]

[INFO] Forking Pustefix Workspace :: CLI 0.1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
pws-cli ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ pws-cli
---
[INFO] Compiling 23 source files to
/home/ubuntu/ws-git/pustefix-workspace/pws-cli/target/classes
[INFO]
[INFO]<<<  maven-javadoc-plugin:2.7:test-aggregate (report:test-aggregate) @
pustefix-workspace<<<
[INFO]
[INFO]>>>  maven-javadoc-plugin:2.7:test-javadoc (report:test-javadoc) @
pustefix-workspace>>>
[INFO]
[INFO]<<<  maven-javadoc-plugin:2.7:test-javadoc (report:test-javadoc) @
pustefix-workspace<<<
[INFO] configuring report plugin
org.apache.maven.plugins:maven-pmd-plugin:2.4
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] configuring report plugin
org.codehaus.mojo:cobertura-maven-plugin:2.4
[INFO]
[INFO]>>>  cobertura-maven-plugin:2.4:cobertura (report:cobertura) @
pustefix-workspace>>>
[INFO]
[INFO] --- cobertura-maven-plugin:2.4:instrument (report:cobertura) @
pustefix-workspace ---
[INFO] Not executing cobertura:instrument as the project is not a Java
classpath-capable package
[INFO]
[INFO]<<<  cobertura-maven-plugin:2.4:cobertura (report:cobertura) @
pustefix-workspace<<<
[INFO] Not executing cobertura:report as the cobertura data file
(/home/ubuntu/ws-git/pustefix-workspace/target/cobertura/cobertura.ser)
could not be found
[INFO] configuring report plugin
org.codehaus.mojo:jdepend-maven-plugin:2.0-beta-2
[INFO]
[INFO]>>>  jdepend-maven-plugin:2.0-beta-2:generate (report:generate) @
pustefix-workspace>>>
[INFO]
[INFO]<<<  jdepend-maven-plugin:2.0-beta-2:generate (report:generate) @
pustefix-workspace<<<
[INFO] configuring report plugin org.codehaus.mojo:versions-maven-plugin:1.2
[INFO] configuring report plugin
org.apache.maven.plugins:maven-site-plugin:3.0-beta-3
[INFO] Rendering site with org.apache.maven.skins:maven-classic-skin:jar:1.0
skin.
[INFO] Skipped "Surefire Report" report, file "surefire-report.html" already
exists for the English version.
[INFO] Generating "Changes Report" report    --- maven-changes-plugin:2.3
[warn] [XHTML Sink] Modified invalid anchor name: 'Feature Additions, Fixes,
and Updates' to 'Feature_Additions_Fixes_and_Updates'
[warn] [XHTML Sink] Modified invalid anchor name: 'Release History' to
'Release_History'
[INFO] Generating "Surefire Report" report    ---
maven-surefire-report-plugin:2.7.2
[INFO] Generating "JavaDocs" report    --- maven-javadoc-plugin:2.7
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[WARNING] The dependency:
[com.oneandone.devel.pws:pws-unit:jar:0.1.0-SNAPSHOT] can't be resolved but
has been found in the reactor (probably snapshots).
This dependency has been excluded from the Javadoc classpath. You should
rerun javadoc after executing mvn install.
[WARNING] IGNORED to add some artifacts in the classpath. See above.
[INFO]
115 warnings
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Pustefix Workspace :: Reactor ..................... FAILURE [9.594s]
[INFO] Pustefix Workspace :: Unit Test Base Class ........ SKIPPED
[INFO] Pustefix Workspace :: Configuration ............... SKIPPED
[INFO] Pustefix Workspace :: Execution ................... SKIPPED
[INFO] Pustefix Workspace :: SVN ......................... SKIPPED
[INFO] Pustefix Workspace :: Maven ....................... SKIPPED
[INFO] Pustefix Workspace :: release properties .......... SKIPPED
[INFO] Pustefix Workspace :: Core ........................ SKIPPED
[INFO] Pustefix Workspace :: CLI ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9.781s
[INFO] Finished at: Fri Feb 04 08:30:43 CET 2011
[INFO] Final Memory: 73M/499M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on
project pustefix-workspace: Error during page generation: Error rendering
Maven report:
[ERROR] Exit code: 1 -
/home/ubuntu/ws-git/pustefix-workspace/pws-config/src/main/java/com/oneandone/devel/modules/pws/config/ConfigurationProperties.java:9:
package org.apache.log4j does not exist
[ERROR] import org.apache.log4j.Logger;
[ERROR] ^
[ERROR]
/home/ubuntu/ws-git/pustefix-workspace/pws-config/src/main/java/com/oneandone/devel/modules/pws/config/AConfiguration.java:6:
package com.google.common.base does not exist
[ERROR] import com.google.common.base.Splitter;
[ERROR] ^
[ERROR]
/home/ubuntu/ws-git/pustefix-workspace/pws-config/src/main/java/com/oneandone/devel/modules/pws/config/AConfiguration.java:7:
package com.google.common.collect does not exist
[ERROR] import com.google.common.collect.Lists;
[ERROR] ^
[ERROR]
/home/ubuntu/ws-git/pustefix-workspace/pws-config/src/main/java/com/oneandone/devel/modules/pws/config/ConfigurationProperties.java:19:
cannot find symbol
[ERROR] symbol  : class Logger
[ERROR] location: class
com.oneandone.devel.modules.pws.config.ConfigurationProperties
[ERROR] private static Logger LOGGER =
Logger.getLogger(ConfigurationProperties.class);
[ERROR] ^
[ERROR]
/home/ubuntu/ws-git/pustefix-workspace/pws-execution/src/main/java/com/oneandone/devel/pws/execution/CallProgramm.java:9:
package org.apache.commons.exec does not exist
[ERROR] import org.apache.commons.exec.CommandLine;
....
[ERROR]
/home/ubuntu/ws-git/pustefix-workspace/pws-cli/src/main/java/com/oneandone/devel/modules/pws/cli/PustefixWorkspaceCLI.java:353:
warning - @param argument "prepareCommand" is not a parameter name.
[ERROR] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl
cannot be cast to com.sun.javadoc.AnnotationTypeDoc
[ERROR] at
com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.util.Util.isDeprecated(Util.java:811)
[ERROR] at
com.sun.tools.doclets.formats.html.SubWriterHolderWriter.printIndexComment(SubWriterHolderWriter.java:101)
[ERROR] at
com.sun.tools.doclets.formats.html.SubWriterHolderWriter.printSummaryLinkComment(SubWriterHolderWriter.java:137)
[ERROR] at
com.sun.tools.doclets.formats.html.AbstractMemberWriter.writeMemberSummary(AbstractMemberWriter.java:407)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.buildSummary(MemberSummaryBuilder.java:309)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.buildFieldsSummary(MemberSummaryBuilder.java:224)
[ERROR] at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
[ERROR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.invokeMethod(MemberSummaryBuilder.java:172)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder.build(AbstractMemberBuilder.java:56)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildMemberSummary(ClassBuilder.java:279)
[ERROR] at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
[ERROR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(
http://maven.40175.n5.nabble.com/file/n3370562/mvn.log mvn.log
Method.java:597)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
[ERROR] at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:124)
[ERROR] at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(

Does someone has any hint or idea about that....I Have attached the full
output and given only excerps here...

What i found out if i removed javadoc plugin completely the site generation
produces a site, but of course without javadoc...

Many thanks in advance...

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to