blob: 72c63a30d1b68f0d97e9945d0e82bd7b92b0b14b [file] [log] [blame]
<?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>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.npanday</groupId>
<artifactId>apache-npanday</artifactId>
<version>1.5.0-incubating-SNAPSHOT</version>
</parent>
<artifactId>npanday-site</artifactId>
<packaging>pom</packaging>
<name>NPanday</name>
<url>http://incubator.apache.org/npanday/docs/${project.version}</url>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<executions>
<execution>
<id>site</id>
<phase>process-resources</phase>
<goals>
<goal>site</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<content>${project.build.directory}/site</content>
</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>
<version>2.2.1</version>
<configuration>
<descriptor>src/site/assembly/docs.xml</descriptor>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>pdf</id>
<phase>site</phase>
<goals>
<goal>pdf</goal>
</goals>
</execution>
<execution>
<id>bundled-pdf</id>
<phase>process-resources</phase>
<goals>
<goal>pdf</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
</configuration>
</plugin>
</plugins>
<finalName>npanday-${project.version}</finalName>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>1.0-beta-6</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.1</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>cim</report>
<report>issue-tracking</report>
<report>mailing-list</report>
<report>license</report>
<report>project-team</report>
<report>scm</report>
<report>modules</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<anonymousConnection>scm:svn:http://svn.apache.org/repos/asf/incubator/npanday/trunk/</anonymousConnection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/npanday/trunk/</developerConnection>
<webAccessUrl>http://svn.apache.org/viewvc/incubator/npanday/trunk/</webAccessUrl>
<checkoutDirectoryName>npanday</checkoutDirectoryName>
</configuration>
</plugin>
</plugins>
</reporting>
<properties>
<npandayReleaseVersion>1.4.0-incubating</npandayReleaseVersion>
<npandayReleaseDate>06 May 2011</npandayReleaseDate>
</properties>
<profiles>
<profile>
<id>linkcheck</id>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-linkcheck-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<excludedLinks>
<excludedLink>*/plugins/*</excludedLink>
</excludedLinks>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<id>setup-checkout</id>
<activation>
<file>
<missing>site-publish</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 ${sitePublishUrl} ${checkoutDirectory}" />
</exec>
<exec executable="svn">
<arg line="update --set-depth exclude ${checkoutDirectory}/plugins" />
</exec>
<pathconvert pathsep=" " property="dirs">
<dirset dir="${checkoutDirectory}" includes="*" />
</pathconvert>
<exec executable="svn">
<arg line="update --set-depth infinity ${dirs}" />
</exec>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<!-- Site base required here for site plugin to calculate correct URLs -->
<site>
<id>site</id>
<url>scm:svn:${sitePublishUrl}</url>
</site>
</distributionManagement>
</project>