| <?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"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.kalumet</groupId> |
| <artifactId>kalumet</artifactId> |
| <version>0.7-incubating-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.kalumet.documentation</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache Kalumet :: Documentation</name> |
| <url>http://incubator.apache.org/kalumet/docs/${project.version}</url> |
| |
| <properties> |
| <svnUrl>https://svn.apache.org/repos/asf/incubator/kalumet/site-content/docs/${project.version}</svnUrl> |
| <scmPubCheckoutDirectory>site-content</scmPubCheckoutDirectory> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <skipDeploy>true</skipDeploy> |
| </configuration> |
| <executions> |
| <execution> |
| <id>site</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>site</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>stage-for-scm-publish</id> |
| <phase>post-site</phase> |
| <goals> |
| <goal>stage</goal> |
| </goals> |
| <configuration> |
| <skipDeploy>false</skipDeploy> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>1.0-beta-2</version> |
| <configuration> |
| <checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory> |
| <tryUpdate>true</tryUpdate> |
| <skipDeletedFiles>false</skipDeletedFiles> |
| <checkinComment>Apache Kalumet Docs site deployment</checkinComment> |
| </configuration> |
| <executions> |
| <execution> |
| <id>scm-publish</id> |
| <phase>site-deploy</phase> |
| <goals> |
| <goal>publish-scm</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>src/site/assembly/docs.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <finalName>apache-kalumet-${project.version}</finalName> |
| </build> |
| |
| <reporting> |
| <excludeDefaults>true</excludeDefaults> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${project-info-reports-plugin.version}</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>license</report> |
| <report>project-team</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:${svnUrl}</url> |
| </site> |
| </distributionManagement> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>deploy</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>deploy</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.9</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>setup-checkout</id> |
| <activation> |
| <file> |
| <missing>site-content</missing> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>prepare-checkout</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <exec executable="svn"> |
| <arg line="checkout ${svnUrl} ${scmPubCheckoutDirectory}"/> |
| </exec> |
| |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |