[
https://issues.apache.org/jira/browse/MJAVADOC-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MJAVADOC-413.
-----------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> bootclasspathArtifacts override values on bootclasspath
> -------------------------------------------------------
>
> Key: MJAVADOC-413
> URL: https://issues.apache.org/jira/browse/MJAVADOC-413
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.10
> Environment: Any
> Reporter: Rafael Fontes
> Priority: Major
>
> I'm using a custom doclet, and in order to make it properly work I need to
> add the rt.jar to the bootclasspath, this only happens using the
> maven-javadoc-plugin. I'm defining the bootclasspathArtifacts as expected,
> but due the need to add the rt.jar i have tried to also add the bootclasspath
> already with a value
> (<bootclasspath>${java.home}\lib\rt.jar;</bootclasspath>).
> There is a workaround, don't use the bootclasspathArtifacts and define
> everything that is need on the bootclasspath. But using the Artifacts its the
> best way to do it.
> The error that i descibre above that appear in the lack of the rt.jar is:
> Exit code: 1 - com.sun.tools.javac.util.FatalError: Fatal Error: Unable to
> find package java.lang in classpath or bootclasspath
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)