Skip to content

Commit

Permalink
Update dependencies, specifically of asciidoc
Browse files Browse the repository at this point in the history
Some config changes due to breaking changes in v2.

See https://docs.asciidoctor.org/maven-tools/latest/plugin/v2-migration-guide/

Signed-off-by: arjantijms <arjan.tijms@gmail.com>
  • Loading branch information
arjantijms committed Aug 24, 2021
1 parent d4bb6fb commit 4c877b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
10 changes: 5 additions & 5 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2015, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -107,7 +107,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -158,7 +158,7 @@
<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<version>2.3</version>
<version>2.4</version>
<configuration>
<scm>git</scm>
<scmOnly>true</scmOnly>
Expand Down Expand Up @@ -210,7 +210,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.2.1</version>
<version>5.1.2</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand All @@ -235,7 +235,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-api-javadocs</id>
Expand Down
17 changes: 11 additions & 6 deletions spec/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2020 Contributors to the Eclipse Foundation.
Copyright (c) 2019, 2021 Contributors to the Eclipse Foundation.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -33,9 +33,9 @@
<properties>
<site.output.dir>${project.build.directory}/staging</site.output.dir>
<maven.site.skip>true</maven.site.skip>
<asciidoctorj.version>2.4.1</asciidoctorj.version>
<asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
<jruby.version>9.2.13.0</jruby.version>
<asciidoctorj.version>2.5.2</asciidoctorj.version>
<asciidoctorj.pdf.version>1.6.0</asciidoctorj.pdf.version>
<jruby.version>9.2.19.0</jruby.version>
<!-- status: DRAFT, BETA, etc., or blank for final -->
<status>DRAFT</status>
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
Expand All @@ -52,7 +52,7 @@
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.0.0-RC.1</version>
<version>2.2.1</version>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand All @@ -79,8 +79,11 @@
</goals>
<configuration>
<backend>html5</backend>
<sourceDirectory>${basedir}/src/main/asciidoc</sourceDirectory>
<outputFile>${project.build.directory}/generated-docs/jakarta-security-spec-${spec.version}.html</outputFile>
<attributes>
<source-highlighter>coderay</source-highlighter>
<imagesdir>images</imagesdir>
<doctype>book</doctype>
<status>${status}</status>
<data-uri />
Expand All @@ -102,8 +105,11 @@
</goals>
<configuration>
<backend>pdf</backend>
<sourceDirectory>${basedir}/src/main/asciidoc</sourceDirectory>
<outputFile>${project.build.directory}/generated-docs/jakarta-security-spec-${spec.version}.pdf</outputFile>
<attributes>
<source-highlighter>coderay</source-highlighter>
<imagesdir>images</imagesdir>
<pdf-stylesdir>${project.basedir}/src/main/theme</pdf-stylesdir>
<pdf-style>jakartaee</pdf-style>
<doctype>book</doctype>
Expand All @@ -124,7 +130,6 @@
</executions>
<configuration>
<sourceDocumentName>security-spec.adoc</sourceDocumentName>
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<revnumber>${spec.version}</revnumber>
<revremark>${status}</revremark>
Expand Down

0 comments on commit 4c877b0

Please sign in to comment.