Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jbake-maven-plugin no longer usable with recent asciidoctorj #783

Open
pzygielo opened this issue Aug 25, 2024 · 3 comments
Open

jbake-maven-plugin no longer usable with recent asciidoctorj #783

pzygielo opened this issue Aug 25, 2024 · 3 comments

Comments

@pzygielo
Copy link
Contributor

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:32 min
[INFO] Finished at: 2024-08-25T19:28:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jbake:jbake-maven-plugin:0.3.5:generate (build-site) on project Z: Execution build-site of goal org.jbake:jbake-maven-plugin:0.3.5:generate failed: An API incompatibility was encountered while executing org.jbake:jbake-maven-plugin:0.3.5:generate: java.lang.NoSuchMethodError: 'org.asciidoctor.AttributesBuilder org.asciidoctor.AttributesBuilder.attributes(java.lang.String[])'

as the latest asciidoctorj 3.0.0 removed deprecated methods.

@lprimak
Copy link

lprimak commented Aug 26, 2024

Same here.

@lealceldeiro
Copy link

Working for me:
org.jbake:jbake-core:2.7.0-rc.7
org.jbake:jbake-maven-plugin: 2.7.0-rc.7
org.asciidoctor:asciidoctorj: 3.0.0

@pzygielo
Copy link
Contributor Author

With 2.7.0-rc.7 I'm also getting exception for the same reason as above:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.690 s
[INFO] Finished at: 2024-11-28T12:46:59+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jbake:jbake-maven-plugin:2.7.0-rc.7:generate (build-site) on project Z: Execution build-site of goal org.jbake:jbake-maven-plugin:2.7.0-rc.7:generate failed: An API incompatibility was encountered while executing org.jbake:jbake-maven-plugin:2.7.0-rc.7:generate: java.lang.NoSuchMethodError: 'org.asciidoctor.AttributesBuilder org.asciidoctor.AttributesBuilder.attributes(java.lang.String[])'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants