| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-parent</artifactId> |
| <version>11-SNAPSHOT</version> |
| <relativePath>../parent/pom.xml</relativePath> |
| </parent> |
| <artifactId>redback-site</artifactId> |
| <name>Redback :: Site</name> |
| <packaging>pom</packaging> |
| <version>2.2-SNAPSHOT</version> |
| <properties> |
| <redbackVersion>${project.version}</redbackVersion> |
| |
| <scmPubCheckoutDirectory>site-content</scmPubCheckoutDirectory> |
| <svnUrl>https://svn.apache.org/repos/asf/archiva/site-content/redback</svnUrl> |
| |
| </properties> |
| |
| <distributionManagement> |
| <site> |
| <id>apache.website.svnpub</id> |
| <name>Redback Website</name> |
| <url>scm:svn:${svnUrl}</url> |
| </site> |
| </distributionManagement> |
| |
| <build> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <configuration> |
| <checkinComment>Apache Redback Main site deployment</checkinComment> |
| <ignorePathsToDelete> |
| <ignorePathToDelete>core**</ignorePathToDelete> |
| <ignorePathToDelete>components**</ignorePathToDelete> |
| </ignorePathsToDelete> |
| </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-site-plugin</artifactId> |
| <configuration> |
| <skipDeploy>true</skipDeploy> |
| </configuration> |
| <executions> |
| <execution> |
| <id>stage-for-scm-publish</id> |
| <phase>post-site</phase> |
| <goals> |
| <goal>stage</goal> |
| </goals> |
| <configuration> |
| <skipDeploy>false</skipDeploy> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <excludeDefaults>true</excludeDefaults> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${maven-project-info-reports-plugin.version}</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>cim</report> |
| <report>issue-tracking</report> |
| <report>mailing-list</report> |
| <report>license</report> |
| <report>project-team</report> |
| <report>scm</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <anonymousConnection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/</anonymousConnection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/</developerConnection> |
| <webAccessUrl>http://svn.apache.org/viewvc/archiva/redback</webAccessUrl> |
| <checkoutDirectoryName>redback-all</checkoutDirectoryName> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-site/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-site/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/archiva/redback/redback-site/trunk/</url> |
| </scm> |
| |
| <profiles> |
| <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 --depth immediates ${svnUrl} ${scmPubCheckoutDirectory}" /> |
| </exec> |
| |
| <exec executable="svn"> |
| <arg line="update --set-depth exclude ${scmPubCheckoutDirectory}/core ${scmPubCheckoutDirectory}/components" /> |
| </exec> |
| |
| <pathconvert pathsep=" " property="dirs"> |
| <dirset dir="${scmPubCheckoutDirectory}" includes="*" /> |
| </pathconvert> |
| <exec executable="svn"> |
| <arg line="update --set-depth infinity ${dirs}" /> |
| </exec> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |