| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2011, 2024 Oracle and/or its affiliates. All rights reserved. | |
| This program and the accompanying materials are made available under the | |
| terms of the Eclipse Distribution License v. 1.0, which is available at | |
| http://www.eclipse.org/org/documents/edl-v10.php. | |
| SPDX-License-Identifier: BSD-3-Clause | |
| --> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>jakarta.json.bind</groupId> | |
| <artifactId>jakarta.json.bind-docs</artifactId> | |
| <version>3.0.0</version> | |
| <packaging>pom</packaging> | |
| <name>JSON Binding Docs</name> | |
| <properties> | |
| <asciidoctor.maven.plugin.version>3.0.0</asciidoctor.maven.plugin.version> | |
| <asciidoctorj.version>2.5.11</asciidoctorj.version> | |
| <asciidoctorj.pdf.version>2.3.13</asciidoctorj.pdf.version> | |
| </properties> | |
| <build> | |
| <defaultGoal>process-resources</defaultGoal> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctor-maven-plugin</artifactId> | |
| <version>${asciidoctor.maven.plugin.version}</version> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctorj</artifactId> | |
| <version>${asciidoctorj.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctorj-pdf</artifactId> | |
| <version>${asciidoctorj.pdf.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <configuration> | |
| <sourceDirectory>src/docs</sourceDirectory> | |
| <sourceDocumentName>user-guide.adoc</sourceDocumentName> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>asciidoc-to-html</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>process-asciidoc</goal> | |
| </goals> | |
| <configuration> | |
| <backend>html5</backend> | |
| <attributes> | |
| <sourcedir>${project.build.sourceDirectory}</sourcedir> | |
| <imagesdir>./images</imagesdir> | |
| <toc>left</toc> | |
| <toclevels>3</toclevels> | |
| <icons>font</icons> | |
| <sectanchors>true</sectanchors> | |
| <idprefix/> | |
| <idseparator>-</idseparator> | |
| <docinfo1>true</docinfo1> | |
| </attributes> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>generate-pdf-doc</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>process-asciidoc</goal> | |
| </goals> | |
| <configuration> | |
| <backend>pdf</backend> | |
| <attributes> | |
| <imagesdir>./images</imagesdir> | |
| <doctype>book</doctype> | |
| <compat-mode/> | |
| <data-uri/> | |
| <icons>font</icons> | |
| <pagenums/> | |
| <toc/> | |
| <icons>font</icons> | |
| <sectanchors>true</sectanchors> | |
| <idprefix/> | |
| <idseparator>-</idseparator> | |
| <docinfo1>true</docinfo1> | |
| <embedAssets>true</embedAssets> | |
| </attributes> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |