| <?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. |
| ==================================================================== |
| |
| This software consists of voluntary contributions made by many |
| individuals on behalf of the Apache Software Foundation. For more |
| information on the Apache Software Foundation, please see |
| <http://www.apache.org />. |
| --> |
| <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/maven-v4_0_0.xsd"> |
| <parent> |
| <artifactId>httpcomponents-parent</artifactId> |
| <groupId>org.apache.httpcomponents</groupId> |
| <version>12</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>website</artifactId> |
| <name>Apache HttpComponents WebSite</name> |
| <version>1-SNAPSHOT</version> |
| <description>Apache HttpComponents WebSite</description> |
| <url>https://hc.apache.org/</url> |
| <inceptionYear>2005</inceptionYear> |
| <packaging>pom</packaging> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/httpcomponents-website.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/httpcomponents-website.git</developerConnection> |
| <url>https://github.com/apache/httpcomponents-website/tree/${project.scm.tag}</url> |
| <tag>master</tag> |
| </scm> |
| |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <name>Apache HttpComponents Website</name> |
| <url>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/site/</url> |
| </site> |
| </distributionManagement> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <!-- in particular, we don't want mailing-list to be inherited --> |
| <inherited>false</inherited> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>mailing-lists</report> |
| <report>licenses</report> |
| <report>team</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>3.0.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <skipDeploy>true</skipDeploy> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <configuration> |
| <content>${project.reporting.outputDirectory}</content><!-- no need for site:stage, use target/site --> |
| <ignorePathsToDelete><!-- don't delete content until site svnpubsub location refactoring done --> |
| <ignorePathsToDelete>components</ignorePathsToDelete> |
| </ignorePathsToDelete> |
| <tryUpdate>true</tryUpdate> |
| <checkoutDirectory>scmpublish-checkout</checkoutDirectory><!-- don't checkout in target/ to avoid cleanup on "mvn clean" --> |
| </configuration> |
| <executions> |
| <execution> |
| <id>scm-publish</id> |
| <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin --> |
| <goals> |
| <goal>publish-scm</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.10.9</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>link-components</id> |
| <phase>site</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <!-- links to components directories containing documentation generated from code --> |
| <symlink action="recreate" overwrite="true"> |
| <fileset dir="${project.reporting.outputDirectory}" includes="**/documentation.links"/> |
| </symlink> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |