You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <!--
  2. ~ Licensed to the Apache Software Foundation (ASF) under one
  3. ~ or more contributor license agreements. See the NOTICE file
  4. ~ distributed with this work for additional information
  5. ~ regarding copyright ownership. The ASF licenses this file
  6. ~ to you under the Apache License, Version 2.0 (the
  7. ~ "License"); you may not use this file except in compliance
  8. ~ with the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing,
  13. ~ software distributed under the License is distributed on an
  14. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. ~ KIND, either express or implied. See the License for the
  16. ~ specific language governing permissions and limitations
  17. ~ under the License.
  18. -->
  19. <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">
  20. <parent>
  21. <groupId>org.apache.archiva</groupId>
  22. <artifactId>archiva</artifactId>
  23. <version>2.1.1-SNAPSHOT</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>archiva-docs</artifactId>
  27. <packaging>pom</packaging>
  28. <name>Archiva :: Documentation</name>
  29. <url>http://archiva.apache.org/docs/${project.version}/</url>
  30. <properties>
  31. <siteFilePath>${user.home}/archiva-sites/archiva-docs-${project.version}/</siteFilePath>
  32. <scmPubCheckoutDirectory>${basedir}/.site-content</scmPubCheckoutDirectory>
  33. </properties>
  34. <build>
  35. <pluginManagement>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.rat</groupId>
  39. <artifactId>apache-rat-plugin</artifactId>
  40. <configuration>
  41. <excludes>
  42. <exclude>src/site/resources/css/*.css</exclude>
  43. <exclude>src/site/resources/js/*.js</exclude>
  44. <exclude>*.sh</exclude>
  45. <exclude>.site-content/**</exclude>
  46. </excludes>
  47. </configuration>
  48. </plugin>
  49. </plugins>
  50. </pluginManagement>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-scm-publish-plugin</artifactId>
  55. <configuration>
  56. <checkinComment>Apache Archiva Versionned docs for ${project.version}</checkinComment>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <id>scm-publish</id>
  61. <phase>site-deploy</phase>
  62. <goals>
  63. <goal>publish-scm</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-site-plugin</artifactId>
  71. <configuration>
  72. <skipDeploy>true</skipDeploy>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <id>site-generate-resources</id>
  77. <phase>generate-resources</phase>
  78. <goals>
  79. <goal>site</goal>
  80. </goals>
  81. </execution>
  82. <execution>
  83. <id>stage-for-scm-publish</id>
  84. <phase>post-site</phase>
  85. <goals>
  86. <goal>stage</goal>
  87. </goals>
  88. <configuration>
  89. <skipDeploy>false</skipDeploy>
  90. </configuration>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-dependency-plugin</artifactId>
  97. <executions>
  98. <execution>
  99. <id>archiva-rest-api-docs-extract</id>
  100. <phase>site</phase>
  101. <goals>
  102. <goal>unpack-dependencies</goal>
  103. </goals>
  104. <configuration>
  105. <includeArtifactIds>archiva-rest-api,archiva-web-common,redback-rest-api</includeArtifactIds>
  106. <outputDirectory>${project.build.directory}/site/</outputDirectory>
  107. <excludes>META-INF/**,org/**</excludes>
  108. </configuration>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. </plugins>
  113. <finalName>apache-archiva-${project.version}</finalName>
  114. </build>
  115. <dependencies>
  116. <dependency>
  117. <groupId>org.apache.archiva</groupId>
  118. <artifactId>archiva-rest-api</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.archiva</groupId>
  122. <artifactId>archiva-web-common</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.archiva.redback</groupId>
  126. <artifactId>redback-rest-api</artifactId>
  127. </dependency>
  128. </dependencies>
  129. <reporting>
  130. <excludeDefaults>true</excludeDefaults>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-project-info-reports-plugin</artifactId>
  135. <version>${maven-project-info-reports-plugin.version}</version>
  136. <reportSets>
  137. <reportSet>
  138. <reports>
  139. <report>license</report>
  140. <report>project-team</report>
  141. </reports>
  142. </reportSet>
  143. </reportSets>
  144. </plugin>
  145. </plugins>
  146. </reporting>
  147. <distributionManagement>
  148. <site>
  149. <id>apache.website</id>
  150. <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/docs/${project.version}</url>
  151. </site>
  152. </distributionManagement>
  153. <profiles>
  154. <profile>
  155. <id>offline</id>
  156. <activation>
  157. <property>
  158. <name>offline</name>
  159. <value>true</value>
  160. </property>
  161. </activation>
  162. <build>
  163. <pluginManagement>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-site-plugin</artifactId>
  168. <dependencies>
  169. <dependency>
  170. <groupId>org.apache.maven.doxia</groupId>
  171. <artifactId>doxia-core</artifactId>
  172. <version>1.4</version>
  173. </dependency>
  174. </dependencies>
  175. </plugin>
  176. </plugins>
  177. </pluginManagement>
  178. </build>
  179. </profile>
  180. </profiles>
  181. </project>