我试图制作我的maven项目的JavaDoc。所以我将插件添加到我的父项目中,默认情况下所有子项都具有相同的配置。但不幸的是我有一个大问题。当我将maven网站运行到我的项目中时,它会抛出此错误:https://gist.github.com/rhuankarlus/8416752935567572e60f
我没有在项目中使用jaxen依赖项,所以我不理解这个错误。
谷歌搜索我什么都没找到。
以下是错误消息的一部分:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] empresa Corporativo Root ............................. FAILURE [1:43.624s]
[INFO] empresa Generico ..................................... SKIPPED
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:44.255s
[INFO] Finished at: Fri Sep 12 15:17:34 BRT 2014
[INFO] Final Memory: 49M/237M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "template-config-empresa" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project empresa-corporativo-root: Error during page generation: Error rendering Maven r
eport:
[ERROR] Exit code: 1 - Errors happened while accessing the package-list file at ../apidocs/
[ERROR] Unable to access the package-list file at D:/Desenvolvimento/Repositorios/empresa-corporativo/trunk/target/javadoc-bundle-options/
[ERROR] Errors happened while accessing the package-list file at ../apidocs/
[ERROR] Unable to access the package-list file at D:/Desenvolvimento/Repositorios/empresa-corporativo/trunk/target/javadoc-bundle-options/
[ERROR] Errors happened while accessing the package-list file at ../apidocs/
[ERROR] Unable to access the package-list file at D:/Desenvolvimento/Repositorios/empresa-corporativo/trunk/target/javadoc-bundle-options/
[ERROR] javadoc: warning - Error!
[ERROR] javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.jaxen.VariableContext not found
[ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.jaxen.VariableContext not found
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk1.7.0_55\jre\..\bin\javadoc.exe" @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'D:\Desenvolvimento\Repositorios\empresa-corporativo\trunk\target\site\testapidocs' dir.
[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.