maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Closed] (MJAVADOC-413) bootclasspathArtifacts override values on bootclasspath
Date Fri, 16 Mar 2018 22:40:17 GMT


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:
>             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 - Fatal Error: Unable to find package
java.lang in classpath or bootclasspath

This message was sent by Atlassian JIRA

View raw message