]> source.dussan.org Git - aspectj.git/commitdiff
Fix warning in Asciidoctor Maven by JRuby version bump
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 4 Jan 2024 06:42:52 +0000 (13:42 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 6 Jan 2024 09:09:11 +0000 (10:09 +0100)
Warning "Native subprocess control requires open access to the JDK IO
subsystem" can be avoided by upgrading JRuby, see
https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/553.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
pom.xml

diff --git a/pom.xml b/pom.xml
index 3fd4a5ff84218810b86b91b8a02c00d1d96df69a..99c73736f92bb788bca4406990d60ac3d6b5217e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <plugin>
                                        <groupId>org.asciidoctor</groupId>
                                        <artifactId>asciidoctor-maven-plugin</artifactId>
-                                       <version>2.2.1</version>
+                                       <version>2.2.4</version>
                                        <configuration>
                                                <attributes>
                                                        <source-highlighter>coderay</source-highlighter>
                                                        <icons>font</icons>
                                                </attributes>
                                        </configuration>
+                                       <!-- TODO: Remove dependency after https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/553 fix -->
+                                       <dependencies>
+                                               <dependency>
+                                                       <groupId>org.jruby</groupId>
+                                                       <artifactId>jruby</artifactId>
+                                                       <version>9.4.5.0</version>
+                                               </dependency>
+                                       </dependencies>
                                </plugin>
                        </plugins>
                </pluginManagement>