|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>io.quarkiverse.openapi.generator</groupId> |
| 7 | + <artifactId>quarkus-openapi-generator-parent</artifactId> |
| 8 | + <version>3.0.0-SNAPSHOT</version> |
| 9 | + <relativePath>../pom.xml</relativePath> |
| 10 | + </parent> |
| 11 | + <artifactId>quarkus-openapi-generator-docs</artifactId> |
| 12 | + <name>Quarkus - Openapi Generator - Documentation</name> |
| 13 | + |
| 14 | + <dependencies> |
| 15 | + <!-- Make sure the doc is built after the other artifacts --> |
| 16 | + <dependency> |
| 17 | + <groupId>io.quarkiverse.openapi.generator</groupId> |
| 18 | + <artifactId>quarkus-openapi-generator-deployment</artifactId> |
| 19 | + <version>${project.version}</version> |
| 20 | + </dependency> |
| 21 | + </dependencies> |
| 22 | + |
| 23 | + <build> |
| 24 | + <plugins> |
| 25 | + <plugin> |
| 26 | + <groupId>it.ozimov</groupId> |
| 27 | + <artifactId>yaml-properties-maven-plugin</artifactId> |
| 28 | + <executions> |
| 29 | + <execution> |
| 30 | + <phase>initialize</phase> |
| 31 | + <goals> |
| 32 | + <goal>read-project-properties</goal> |
| 33 | + </goals> |
| 34 | + <configuration> |
| 35 | + <files> |
| 36 | + <file>${project.basedir}/../.github/project.yml</file> |
| 37 | + </files> |
| 38 | + </configuration> |
| 39 | + </execution> |
| 40 | + </executions> |
| 41 | + </plugin> |
| 42 | + <plugin> |
| 43 | + <artifactId>maven-resources-plugin</artifactId> |
| 44 | + <executions> |
| 45 | + <execution> |
| 46 | + <id>copy-resources</id> |
| 47 | + <phase>generate-resources</phase> |
| 48 | + <goals> |
| 49 | + <goal>copy-resources</goal> |
| 50 | + </goals> |
| 51 | + <configuration> |
| 52 | + <outputDirectory>${project.basedir}/modules/ROOT/pages/includes/</outputDirectory> |
| 53 | + <resources> |
| 54 | + <resource> |
| 55 | + <directory>${project.basedir}/../target/asciidoc/generated/config/</directory> |
| 56 | + <include>quarkus-openapi-generator.adoc</include> |
| 57 | + <filtering>false</filtering> |
| 58 | + </resource> |
| 59 | + </resources> |
| 60 | + </configuration> |
| 61 | + </execution> |
| 62 | + </executions> |
| 63 | + </plugin> |
| 64 | + <plugin> |
| 65 | + <groupId>org.asciidoctor</groupId> |
| 66 | + <artifactId>asciidoctor-maven-plugin</artifactId> |
| 67 | + </plugin> |
| 68 | + </plugins> |
| 69 | + </build> |
| 70 | +</project> |
| 71 | + |
0 commit comments