| <?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> | |
| <artifactId>paimon-parent</artifactId> | |
| <groupId>org.apache.paimon</groupId> | |
| <version>2.1-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>paimon-docs</artifactId> | |
| <name>Paimon : Docs</name> | |
| <properties> | |
| <generated.docs.dir>./docs/generated</generated.docs.dir> | |
| <static.docs.dir>./docs/static</static.docs.dir> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-core</artifactId> | |
| <version>${project.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-hive-connector-common</artifactId> | |
| <version>${project.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-flink-common</artifactId> | |
| <version>${project.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-flink-cdc</artifactId> | |
| <version>${project.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-spark-common_${scala.binary.version}</artifactId> | |
| <version>${project.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-test-utils</artifactId> | |
| <version>${project.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- Test --> | |
| <dependency> | |
| <!-- Used for parsing HTML --> | |
| <groupId>org.jsoup</groupId> | |
| <artifactId>jsoup</artifactId> | |
| <version>${jsoup.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <configuration> | |
| <skip>true</skip> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <!-- Not important for this module as we only access Flink classes--> | |
| <id>dependency-convergence</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <skip>true</skip> | |
| <rules> | |
| <dependencyConvergence/> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <systemPropertyVariables> | |
| <rootDir>${rootDir}</rootDir> | |
| </systemPropertyVariables> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| <version>1.7</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>generate-docs</id> | |
| <activation> | |
| <activeByDefault>false</activeByDefault> | |
| </activation> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>generate-docs</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>run</goal> | |
| </goals> | |
| <configuration> | |
| <target> | |
| <mkdir dir="${rootDir}/${generated.docs.dir}"/> | |
| <java classname="org.apache.paimon.docs.configuration.ConfigOptionsDocGenerator" | |
| fork="true" failonerror="true"> | |
| <classpath refid="maven.compile.classpath"/> | |
| <arg value="${rootDir}/${generated.docs.dir}/"/> | |
| <arg value="${rootDir}"/> | |
| </java> | |
| </target> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |