| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-bundle-parent</artifactId> |
| <version>38</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>org.apache.sling.experimental.remote.content.api.reactor</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache Sling Remote Content API Reactor</name> |
| |
| <modules> |
| <module>sample-graphql-api</module> |
| <module>document-aggregator</module> |
| </modules> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>unused-for-now/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>diagrams</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <asciidoctor.maven.plugin.version>2.0.0</asciidoctor.maven.plugin.version> |
| <asciidoctorj.version>2.4.0</asciidoctorj.version> |
| <asciidoctorj.diagram.version>2.0.2</asciidoctorj.diagram.version> |
| <jruby.version>9.2.11.1</jruby.version> |
| <plantuml.version>1.2020.16</plantuml.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> |
| <!-- Comment this section to use the default jruby artifact provided by the plugin --> |
| <dependency> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| <version>${jruby.version}</version> |
| </dependency> |
| <!-- Comment this section to use the default AsciidoctorJ artifact provided by the plugin --> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj</artifactId> |
| <version>${asciidoctorj.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-diagram</artifactId> |
| <version>${asciidoctorj.diagram.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <sourceDirectory>src/main/asciidoc</sourceDirectory> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <attributes> |
| <!-- Example below shows how to specify in this pom instead of System's PATH, the location of dot command of Graphviz, required by PlantUML libraries --> |
| <!-- Windows: |
| <graphvizdot>C:\Program Files (x86)\Graphviz2.38\bin\dot.exe</graphvizdot> |
| --> |
| <!-- *nix : |
| <graphvizdot>/usr/local/bin/dot</graphvizdot> |
| --> |
| </attributes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>generate-html-doc</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <backend>html5</backend> |
| <attributes> |
| <imagesdir>${basedir}/src/docs/generated-diagrams</imagesdir> |
| <toc>left</toc> |
| <icons>font</icons> |
| <sectanchors>true</sectanchors> |
| <idprefix/> |
| <idseparator>-</idseparator> |
| </attributes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |