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.

pom.xml 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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.2.10-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. <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
  34. <releaseDate>${maven.build.timestamp}</releaseDate>
  35. </properties>
  36. <build>
  37. <pluginManagement>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.apache.rat</groupId>
  41. <artifactId>apache-rat-plugin</artifactId>
  42. <configuration>
  43. <excludes>
  44. <exclude>src/site/resources/css/*.css</exclude>
  45. <exclude>src/site/resources/js/*.js</exclude>
  46. <exclude>*.sh</exclude>
  47. <exclude>.site-content/**</exclude>
  48. </excludes>
  49. </configuration>
  50. </plugin>
  51. </plugins>
  52. </pluginManagement>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-scm-publish-plugin</artifactId>
  57. <configuration>
  58. <checkinComment>Apache Archiva Versionned docs for ${project.version}</checkinComment>
  59. </configuration>
  60. <executions>
  61. <execution>
  62. <id>scm-publish</id>
  63. <phase>site-deploy</phase>
  64. <goals>
  65. <goal>publish-scm</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-site-plugin</artifactId>
  73. <configuration>
  74. <skipDeploy>true</skipDeploy>
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <id>site-generate-resources</id>
  79. <phase>generate-resources</phase>
  80. <goals>
  81. <goal>site</goal>
  82. </goals>
  83. </execution>
  84. <execution>
  85. <id>stage-for-scm-publish</id>
  86. <phase>post-site</phase>
  87. <goals>
  88. <goal>stage</goal>
  89. </goals>
  90. <configuration>
  91. <skipDeploy>false</skipDeploy>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-dependency-plugin</artifactId>
  99. <executions>
  100. <execution>
  101. <id>archiva-rest-api-docs-extract</id>
  102. <phase>site</phase>
  103. <goals>
  104. <goal>unpack-dependencies</goal>
  105. </goals>
  106. <configuration>
  107. <includeArtifactIds>archiva-rest-api,archiva-web-common,redback-rest-api</includeArtifactIds>
  108. <outputDirectory>${project.build.directory}/site/</outputDirectory>
  109. <excludes>META-INF/**,org/**</excludes>
  110. </configuration>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. <finalName>apache-archiva-${project.version}</finalName>
  116. </build>
  117. <dependencies>
  118. <dependency>
  119. <groupId>org.apache.archiva</groupId>
  120. <artifactId>archiva-rest-api</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.archiva</groupId>
  124. <artifactId>archiva-web-common</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.archiva.redback</groupId>
  128. <artifactId>redback-rest-api</artifactId>
  129. </dependency>
  130. </dependencies>
  131. <reporting>
  132. <excludeDefaults>true</excludeDefaults>
  133. <plugins>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-project-info-reports-plugin</artifactId>
  137. <version>${maven-project-info-reports-plugin.version}</version>
  138. <reportSets>
  139. <reportSet>
  140. <reports>
  141. <report>license</report>
  142. <report>project-team</report>
  143. </reports>
  144. </reportSet>
  145. </reportSets>
  146. </plugin>
  147. </plugins>
  148. </reporting>
  149. <distributionManagement>
  150. <site>
  151. <id>apache.website</id>
  152. <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/docs/${project.version}</url>
  153. </site>
  154. </distributionManagement>
  155. <profiles>
  156. <profile>
  157. <id>offline</id>
  158. <activation>
  159. <property>
  160. <name>offline</name>
  161. <value>true</value>
  162. </property>
  163. </activation>
  164. <build>
  165. <pluginManagement>
  166. <plugins>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-site-plugin</artifactId>
  170. <dependencies>
  171. <dependency>
  172. <groupId>org.apache.maven.doxia</groupId>
  173. <artifactId>doxia-core</artifactId>
  174. <version>1.4</version>
  175. </dependency>
  176. </dependencies>
  177. </plugin>
  178. </plugins>
  179. </pluginManagement>
  180. </build>
  181. </profile>
  182. </profiles>
  183. </project>