asciidoctor / asciidoctor-maven-plugin

A Maven plugin that uses Asciidoctor via JRuby to process AsciiDoc source files within the project.
http://asciidoctor.org
Apache License 2.0
314 stars 122 forks source link

Force artifact install when building javadocs in CI (#742) #814

Closed abelsromero closed 4 months ago

abelsromero commented 4 months ago

Thank you for opening a pull request and contributing to asciidoctor-maven-plugin!

What kind of change does this PR introduce? (check at least one)

What is the goal of this pull request?

Fix javadoc build flakes in CI

**Failed to execute goal on project asciidoctor-maven-plugin: Could not resolve dependencies for project org.asciidoctor:asciidoctor-maven-plugin:maven-plugin:3.0.1-SNAPSHOT: The following artifacts could not be resolved: org.asciidoctor:asciidoctor-maven-commons:jar:3.0.1-SNAPSHOT (absent): Could not find artifact org.asciidoctor:asciidoctor-maven-commons:jar:3.0.1-SNAPSHOT -> [Help 1]**

Are there any alternative ways to implement this?

This is an experiment :crossed_fingers:

Are there any implications of this pull request? Anything a user must know?

Is it related to an existing issue?

- [x] Yes #742 - [] No *Finally, please add a corresponding entry to CHANGELOG.adoc*
abelsromero commented 4 months ago

Fix works locally. Several runs and it does not reproduce :ok_hand: