If you need to release in a hurry, you could generate the javadoc without 
the reference to https://javadoc.jenkins.io/ by adding the following into 
the builds section of your pom file:

        <plugins>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.3.0</version>
                <configuration combine.self="override">
                    <source>8</source>
                    <quiet>false</quiet>
                    <links></links>
                </configuration>
            </plugin>
        </plugins>


On Monday, July 5, 2021 at 12:16:17 PM UTC-6 Mark Waite wrote:

> There appears to be a problem in the Javadoc generation process for 
> Jenkins core.  When I open https://javadoc.jenkins-ci.org/ , it shows 3 
> links (as expected).  When I click the "plugins" link and the "components" 
> link, it opens a page listing those items.  When I click the "Jenkins core" 
> link, it reports "404 - not found".
>
> Will need some further research to understand why that Javadoc page is not 
> being generated for Jenkins core.
>
> On Mon, Jul 5, 2021 at 9:34 AM Goyot, Martin <[email protected]> 
> wrote:
>
>> Hi there,
>>
>> We repeatedly run into an error trying to `maven release:prepare 
>> release:perform` our plugin. It would appear that the javadoc plugin was 
>> updated by plugin-pom 4.19 but maybe this is just a misguided guess. 
>> Someone with the same kind of error ?
>>
>> here is the trace:
>>
>> [WARNING] 
>> '/home/mgoyot/Cube/tuleap-api-plugin/target/checkout/target/tuleap-api.hpi' 
>> not allowed on the path, only outputDirectories and jars are accepted 
>> [INFO] No previous run data found, generating javadoc. [INFO] 1 error 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] BUILD FAILURE [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] Total time: 27.899 s [INFO] Finished at: 2021-07-05T15:53:30+02:00 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:jar (attach-javadocs) 
>> on project tuleap-api: MavenReportException: Error while generating 
>> Javadoc: [ERROR] Exit code: 1 - javadoc: error - Error fetching URL: 
>> https://javadoc.jenkins.io/ [ERROR] [ERROR] Command line was: 
>> /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-4.fc34.x86_64/bin/javadoc @options 
>> @packages [ERROR] [ERROR] Refer to the generated Javadoc files in 
>> '/home/mgoyot/Cube/tuleap-api-plugin/target/checkout/target/apidocs' dir. 
>> [ERROR] [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. [ERROR] [ERROR] For more 
>> information about the errors and possible solutions, please read the 
>> following articles: [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] BUILD FAILURE [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] Total time: 01:55 min [INFO] Finished at: 2021-07-05T15:53:30+02:00 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) 
>> on project tuleap-api: Maven execution failed, exit code: '1' -> [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. [ERROR] [ERROR] For more information about the errors and 
>> possible solutions, please read the following articles: [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB_AQoQYSUmEyGcp2y9u%3DgoaKC8A3TqZJJxrONs1OkZqmA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB_AQoQYSUmEyGcp2y9u%3DgoaKC8A3TqZJJxrONs1OkZqmA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5e3fbc49-01ab-4cee-b40f-176cf32b5872n%40googlegroups.com.

Reply via email to