Closed achimgrimm closed 3 years ago
I've pushed a release candidate to the Maven repository at https://oss.sonatype.org/content/repositories/orgasciidoctor-1246/ Please check if that works for you.
Hi @robertpanzer, the outcome is the same.
Will the artifact be published automatically from sonatype to the above central repos?
Achim
Could you please double check if you have added the repository correctly? This build.gradle worked fine for me and it downloaded the artifact:
buildscript {
repositories {
jcenter()
mavenLocal()
}
}
plugins {
id 'org.asciidoctor.jvm.convert' version '3.1.0'
id 'org.asciidoctor.jvm.pdf' version '3.1.0'
}
asciidoctorPdf {
asciidoctorj {
version '2.4.2'
}
}
asciidoctorj {
modules {
diagram.use()
diagram.version '2.1.1'
}
}
group 'org.asciidoctor'
version '1.0-SNAPSHOT'
repositories {
mavenLocal()
jcenter ()
maven {
url 'https://oss.sonatype.org/content/repositories/orgasciidoctor-1246'
}
}
Hi,
adding the https://oss.sonatype.org/content/repositories/orgasciidoctor-1246
repo solved the problem.
I am wondering, will the new repo be needed permanently? As this is currently not part of the plugin documentation.
Achim
It should not be necessary in the future. I had quickly pushed a new version to a staging repository to give you the chance to test the changes you are looking for in 2.1.1. It would be great if you could do your tests, then I can do the final release and push to Maven central.
Yes, the new version works perfectly.
Thank you very much for adding it.
Asciidoctorj-diagram 2.1.1 is now available at Maven central: https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj-diagram/2.1.1/
I am using the gradle plugin org.asciidoctor.jvm.convert to integrate into my build. As described here: https://asciidoctor.github.io/asciidoctor-gradle-plugin/development-3.x/user-guide/#diagram
The new version 2.1.1 can not be resolved by the plugin.