2007-01-19 01:24:25 -05:00
|
|
|
<!--
|
|
|
|
~ 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.
|
|
|
|
-->
|
|
|
|
|
2007-06-01 13:10:13 -04:00
|
|
|
<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">
|
2007-01-19 01:07:25 -05:00
|
|
|
<parent>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-11-11 08:14:20 -05:00
|
|
|
<artifactId>archiva</artifactId>
|
2017-05-18 01:04:58 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2007-01-19 01:07:25 -05:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2007-11-21 03:26:57 -05:00
|
|
|
<artifactId>archiva-docs</artifactId>
|
2007-01-19 01:07:25 -05:00
|
|
|
<packaging>pom</packaging>
|
2011-09-01 13:09:08 -04:00
|
|
|
<name>Archiva :: Documentation</name>
|
2008-05-10 17:14:19 -04:00
|
|
|
<url>http://archiva.apache.org/docs/${project.version}/</url>
|
2007-11-18 21:27:56 -05:00
|
|
|
|
2012-08-29 09:57:57 -04:00
|
|
|
<properties>
|
2012-12-14 04:18:19 -05:00
|
|
|
<siteFilePath>${user.home}/archiva-sites/archiva-docs-${project.version}/</siteFilePath>
|
2013-12-13 07:51:02 -05:00
|
|
|
<scmPubCheckoutDirectory>${basedir}/.site-content</scmPubCheckoutDirectory>
|
2017-03-19 12:17:30 -04:00
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
|
|
|
|
<releaseDate>${maven.build.timestamp}</releaseDate>
|
2018-11-04 07:33:23 -05:00
|
|
|
<!-- The git repository, where the site content is placed -->
|
|
|
|
<siteRepositoryUrl>scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content-INVALID.git</siteRepositoryUrl>
|
2012-08-29 09:57:57 -04:00
|
|
|
</properties>
|
|
|
|
|
2007-11-18 21:27:56 -05:00
|
|
|
<build>
|
2011-10-11 07:48:16 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2012-07-02 16:25:59 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>src/site/resources/css/*.css</exclude>
|
|
|
|
<exclude>src/site/resources/js/*.js</exclude>
|
2012-08-29 12:05:37 -04:00
|
|
|
<exclude>*.sh</exclude>
|
2013-12-16 06:17:27 -05:00
|
|
|
<exclude>.site-content/**</exclude>
|
2012-07-02 16:25:59 -04:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-10-11 07:48:16 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2007-11-18 21:27:56 -05:00
|
|
|
<plugins>
|
2012-09-20 17:58:26 -04:00
|
|
|
<plugin>
|
2018-11-04 07:33:23 -05:00
|
|
|
<!--
|
|
|
|
SCM Publish plugin.
|
|
|
|
We deactivated the deletion, because the patterns for ignorePathsToDelete does only use the file/directory names
|
|
|
|
not the relative paths.
|
|
|
|
Site plugin is deploying into the subdirectory docs/${project.version} the publish plugin is copying from
|
|
|
|
target directly.
|
|
|
|
-->
|
2012-09-20 17:58:26 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
|
|
<configuration>
|
2018-11-04 07:33:23 -05:00
|
|
|
<checkinComment>Apache Archiva Versioned docs for ${project.version}</checkinComment>
|
|
|
|
<skipDeletedFiles>true</skipDeletedFiles>
|
|
|
|
<content>${project.build.directory}/staging</content>
|
|
|
|
<tryUpdate>true</tryUpdate>
|
|
|
|
<!--
|
|
|
|
<ignorePathsToDelete>
|
|
|
|
<path>%regex[^(?!docs/).*$]</path>
|
|
|
|
</ignorePathsToDelete>
|
|
|
|
-->
|
2012-09-20 17:58:26 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>scm-publish</id>
|
|
|
|
<phase>site-deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>publish-scm</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2007-11-21 05:45:25 -05:00
|
|
|
<plugin>
|
2012-08-29 17:22:51 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2007-11-21 05:45:25 -05:00
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2012-09-20 17:58:26 -04:00
|
|
|
<configuration>
|
|
|
|
<skipDeploy>true</skipDeploy>
|
2018-11-04 07:33:23 -05:00
|
|
|
<stagingDirectory>${project.build.directory}/staging/docs/${project.version}/</stagingDirectory>
|
2012-09-20 17:58:26 -04:00
|
|
|
</configuration>
|
2007-11-21 05:45:25 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2012-08-29 17:22:51 -04:00
|
|
|
<id>site-generate-resources</id>
|
2011-10-18 07:56:31 -04:00
|
|
|
<phase>generate-resources</phase>
|
2007-11-21 05:45:25 -05:00
|
|
|
<goals>
|
|
|
|
<goal>site</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2012-08-29 17:22:51 -04:00
|
|
|
<execution>
|
|
|
|
<id>stage-for-scm-publish</id>
|
|
|
|
<phase>post-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stage</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skipDeploy>false</skipDeploy>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2007-11-21 05:45:25 -05:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-10-05 10:30:09 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>archiva-rest-api-docs-extract</id>
|
|
|
|
<phase>site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-10-05 17:11:28 -04:00
|
|
|
<includeArtifactIds>archiva-rest-api,archiva-web-common,redback-rest-api</includeArtifactIds>
|
2012-10-05 16:51:55 -04:00
|
|
|
<outputDirectory>${project.build.directory}/site/</outputDirectory>
|
|
|
|
<excludes>META-INF/**,org/**</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2012-10-05 10:30:09 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2007-11-18 21:27:56 -05:00
|
|
|
</plugins>
|
|
|
|
<finalName>apache-archiva-${project.version}</finalName>
|
|
|
|
</build>
|
2007-01-19 01:07:25 -05:00
|
|
|
|
2012-10-05 10:30:09 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-rest-api</artifactId>
|
|
|
|
</dependency>
|
2012-10-05 15:48:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-web-common</artifactId>
|
|
|
|
</dependency>
|
2012-10-05 16:51:55 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
|
|
<artifactId>redback-rest-api</artifactId>
|
|
|
|
</dependency>
|
2012-10-05 10:30:09 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2007-01-19 01:07:25 -05:00
|
|
|
<reporting>
|
|
|
|
<excludeDefaults>true</excludeDefaults>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2012-08-29 08:42:11 -04:00
|
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
2007-01-19 01:07:25 -05:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>license</report>
|
|
|
|
<report>project-team</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<id>apache.website</id>
|
2018-11-04 07:33:23 -05:00
|
|
|
<url>${siteRepositoryUrl}</url>
|
2007-01-19 01:07:25 -05:00
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
2008-03-29 20:13:12 -04:00
|
|
|
|
2018-11-04 07:33:23 -05:00
|
|
|
<profiles>
|
|
|
|
<!--
|
|
|
|
This runs a sparse git checkout for the web site content repository that contains only the doc directory.
|
|
|
|
The profile is activated only, if the checkout directory does not exist.
|
|
|
|
The executor runs a shell script.
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<id>site-checkout</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<missing>${scmPubCheckoutDirectory}</missing>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.6.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-checkout</id>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>checkoutSite.sh</executable>
|
|
|
|
<workingDirectory>${project.basedir}</workingDirectory>
|
|
|
|
<arguments>
|
|
|
|
<argument>-d</argument>
|
|
|
|
<argument>${scmPubCheckoutDirectory}</argument>
|
|
|
|
<argument>${siteRepositoryUrl}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
2007-01-19 01:07:25 -05:00
|
|
|
</project>
|