trino-docs
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.trino</groupId> <artifactId>trino-docs</artifactId> <version>475</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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>io.trino</groupId> <artifactId>trino-root</artifactId> <version>475</version> </parent> <artifactId>trino-docs</artifactId> <packaging>pom</packaging> <description>Trino - Documentation</description> <build> <pluginManagement> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <licenseSets> <licenseSet> <excludes combine.children="append"> <exclude>**/*.conf</exclude> <exclude>**/*.css</exclude> <exclude>**/*.js</exclude> <exclude>**/*.fragment</exclude> </excludes> </licenseSet> </licenseSets> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>io.airlift.drift</groupId> <artifactId>drift-maven-plugin</artifactId> <dependencies> <dependency> <groupId>io.trino</groupId> <artifactId>trino-thrift-api</artifactId> <version>${project.version}</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>generate-thrift-idl</goal> </goals> <phase>validate</phase> <configuration> <outputFile>${project.build.directory}/TrinoThriftService.thrift</outputFile> <classes> <class>io.trino.plugin.thrift.api.TrinoThriftService</class> </classes> <recursive>true</recursive> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <configuration> <includeProjectDependencies>false</includeProjectDependencies> <includePluginDependencies>true</includePluginDependencies> </configuration> <dependencies> <dependency> <groupId>io.trino</groupId> <artifactId>trino-parser</artifactId> <version>${project.version}</version> </dependency> </dependencies> <executions> <execution> <id>validate-reserved</id> <goals> <goal>java</goal> </goals> <phase>validate</phase> <configuration> <mainClass>io.trino.sql.ReservedIdentifiers</mainClass> <arguments> <argument>validateDocs</argument> <argument>${project.basedir}/src/main/sphinx/language/reserved.md</argument> </arguments> </configuration> </execution> <execution> <id>validate-thrift-idl</id> <goals> <goal>exec</goal> </goals> <phase>validate</phase> <configuration> <executable>diff</executable> <arguments> <argument>-b</argument> <argument>-c</argument> <argument>${project.basedir}/src/main/sphinx/include/TrinoThriftService.thrift</argument> <argument>${project.build.directory}/TrinoThriftService.thrift</argument> </arguments> </configuration> </execution> <execution> <id>run-sphinx</id> <goals> <goal>exec</goal> </goals> <phase>package</phase> <configuration> <executable>${project.basedir}/build</executable> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>docs</id> <goals> <goal>single</goal> </goals> <phase>package</phase> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptors> <descriptor>src/main/assembly/docs.xml</descriptor> </descriptors> </configuration> </execution> <execution> <id>sources</id> <goals> <goal>single</goal> </goals> <phase>package</phase> <configuration> <descriptors> <descriptor>src/main/assembly/sources.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>