Hi, In my project, when I execute mvn javadoc:javadoc, The javadoc generation works.
But It fails when I execute mvn site, it fails: ------------------------------- [INFO] Generating "JavaDocs" report. Loading source files for package com.xxxxx.euromarketplace.search.cleaner... Constructing Javadoc information... Standard Doclet version 1.6.0_16 Building tree for all the packages and classes... 34 warnings [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error during page generation Embedded error: Error rendering Maven report: Exit code: 1 - /home/decherfb/tmp/searchCleaner/src/java/com/xxxx/euromarketplace/search/cleaner/Configuration.java:13: package com.xxxx.processframework.services does not exist import com.xxxx.processframework.services.ServiceException; .... java.lang.NullPointerException at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:67) at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:29) at com.sun.tools.javadoc.ClassDocImpl.superclassType(ClassDocImpl.java:441) .... at com.sun.tools.javadoc.Main.main(Main.java:31) Command line was:/usr/java/jdk1.6.0_16/jre/../bin/javadoc @options @packages .... -------------------------------------------------------------- the @options doesn't have a correct classpath : the missing class is in an artifact A1.jar. In the pom, I have the dependency on A1.jar and A1-script.tgz (In this order). If I inverse the order of these dependencies, the site generation works! Do you have an idea on this bug ? Thanks, Benoit
