Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    djencks
    @djencks
    IIUC once something is at maven central there's no way to remove it however much you might like to :-)
    Abel Salgado Romero
    @abelsromero
    @brunchboy I am all ears...got any example/guide?
    James Elliott
    @brunchboy
    @abelsromero the details are going to vary by project. I’m not sure mine is an ideal template for you because it is Clojure-centric. and the build is driven by leiningen configured by project.clj. The bit that runs Antora is at the end, and that embeds a copy of the user guide Antora site into the resources folder so it gets embedded in the jar (and is available when testing from loose classes/Clojure files). The source for the user guide site is in the doc folder, and it also gets built and published by Netlify for use outside the software, as long as you have an Internet connection (which will often not be the case while running the software in a stage performance context, which is why I also embed it).
    Abel Salgado Romero
    @abelsromero
    Every little bit help. And honestly I am seeing and amazing collaboration arround this thing that it feels amazing
    Dan Allen
    @mojavelinux
    :+1:
    love to hear that!
    Marat Radchenko
    @slonopotamus
    If you need a gradle-based example project that publishes to maven central via sonatype, I've got one.
    That particular project publishes since 2015. There were some issues in 2019 or 2020 for about a month (I forgot exactly) but for the rest of time, things Just Worked.
    Dan Allen
    @mojavelinux
    nice!
    one of the reasons we used bintray to publish in AsciidoctorJ is because, at the time, publishing to Nexus OSS with Gradle was a mess. I'm sure that is all in the past now.
    Robert Panzer
    @robertpanzer
    Thanks @slonopotamus, I’ll check that out
    Dan Allen
    @mojavelinux

    from the email about Bintray: "JFrog has a new free subscription tier that gives you the ability to manage and distribute artifacts"

    Why on Earth would we trust JFrog with another free subscription when they're taking Bintray offline on short notice without a clear and automated migration path?

    Robert Panzer
    @robertpanzer
    Fully agreed! I didn't even read that far tbh. The first few sentences already made me 😱 thinking about fiddling with Gradle and publishing again.
    Robert Panzer
    @robertpanzer
    That link is gold! I have to admit though that Gradle has become hard to understand for me, in particular trying to get a multi module project to work properly. It reminds me a lot of Bazel right now. 🤷 At least I already managed to get asciidoctorj-api uploaded to snapshots, so I'm on my way.
    Majd Turfa
    @MajdT51_gitlab
    HI I',m getting this error when I try to convert to pdf in my application (Windows10, Springboot with java 11). could someone help me and tell me which versions should i use or what should i do to solve the error ?
    /C:/Users/MyUser/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1:in `require':
    It seems your ruby installation is missing psych (for YAML output).
    To eliminate this warning, please install libyaml and reinstall your ruby.
    Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) load error: psych -- java.lang.ExceptionInInitializerError: null
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
        at RUBY.require(/C:/Users/MajdTL/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)
        at RUBY.(root)(/C:/Users/MajdTL/.m2/repository/org/jruby/jruby-complete/1.7.26/jruby-complete-1.7.26.jar!/META-INF/jruby.home/lib/ruby/2.0/yaml.rb:5)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)
            <dependency>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctorj</artifactId>
                <version>1.5.5</version>
            </dependency>
            <dependency>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctorj-pdf</artifactId>
                <version>1.5.0-alpha.15</version>
            </dependency>
    Marat Radchenko
    @slonopotamus
    You're using very old versions of both asciidoctorj and asciidoctorj-pdf from 2017. I'd first suggest moving to something more modern to see if the problem magically fixes itself.
    Majd Turfa
    @MajdT51_gitlab
    after updating i get this :(
    image.png
    Dan Allen
    @mojavelinux
    that's strange. it's trying to read from STDIO (or at least indicates that's what it's trying to do), and yet you are passing a File object. I wonder what is going on there.
    Abel Salgado Romero
    @abelsromero
    @MajdT51_gitlab I had no problems with your code and version, are you running inside some runtime like a webserver r OSGI?
    wait, did you also upgrade the jruby version?
    Abel Salgado Romero
    @abelsromero
    nevermind, my fault for not reading the whole text. SpringBoot has a custom classloader that requires some extra configuration when packaging asciidoctor/asciidoctorj#820, but still make sure you have an updated version of jruby
    Benjamin Marwell
    @bmarwell
    Can anyone help me with this please?
    diffplug/spotless#792 is the correct link
    Of course
    djencks
    @djencks
    @bmhm It's not obvious to me how this relates to asciidoctorj, or why you think spotless ought to lint xml since it's not AFAICT listed as a supported language. It's quite possible I'm being dumb....
    Benjamin Marwell
    @bmarwell
    No, I posted in the wrong channel because I am too stupid I am to use the gitter Android app correctly
    🙈
    Dan Allen
    @mojavelinux
    I was confused too, but always a good opportunity just to say hi back :wave:
    djencks
    @djencks
    If it's anything like the iphone gitter app, it might not be your fault :-)
    Benjamin Marwell
    @bmarwell
    The dark theme applied only to channel selection, the enter key switches forth and back between send and new line... No delete/etc on long press...
    Ask me why I like slack better
    Btw, the scms asciidoc integration is working fine now, thanks 😉
    djencks
    @djencks
    Gitter is intolerable, but I'm allergic to slack :-)
    IRC + mailing lists :-)
    Dan Allen
    @mojavelinux
    we've already made the decision to move away from Gitter for Zulip. We're just waiting for an open time in our schedule to get it done.
    I've never enjoyed a minute in Slack, so it's not something we are considering. IMO, it's just a bloated mess.
    Benjamin Marwell
    @bmarwell
    don’t know it, but looks really nice!
    Dan Allen
    @mojavelinux
    indeed. and it's open source, which is a huge plus. several of our community members have already been testing it out with their own communities and the feedback has been very positive.
    Majd Turfa
    @MajdT51_gitlab
    Hi, I have a new Problem. Springboot, java11, Windows , could someone help?
    image.png
    Majd Turfa
    @MajdT51_gitlab
    And without the jruby-complete in pom i get this error
    image.png
    Guillaume Grossetie
    @Mogztter
    apparently isatty(I) method was added in jnr-posix 3.0.35 but you are using 3.0.33
    you can try to add an explicit dependency on jnr-posix 3.0.35 to force Maven to use this version (and potentially exclude the transitive version)
    mvn dependency:tree can help find which dependency is using jnr-posix
    Majd Turfa
    @MajdT51_gitlab
    thanks you , using jruby-core instead of jruby complete solved the problem. and -core include the 3.1.xx of jnr-posix @Mogztter
    Dan Allen
    @mojavelinux
    good to know! @abelsromero @robertpanzer I wonder if this info needs to go in the docs somewhere, or whether it is already covered.