Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  22. <parent>
  23. <artifactId>archiva</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <modelVersion>4.0.0</modelVersion>
  28. <artifactId>archiva-modules</artifactId>
  29. <packaging>pom</packaging>
  30. <name>Archiva :: Modules</name>
  31. <url>http://archiva.apache.org/ref/${project.version}</url>
  32. <properties>
  33. <scmPubCheckoutDirectory>${basedir}/.site-content</scmPubCheckoutDirectory>
  34. <!-- The git repository, where the site content is placed -->
  35. <siteRepositoryUrl>scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content-INVALID.git</siteRepositoryUrl>
  36. <site.staging.base>${project.basedir}</site.staging.base>
  37. </properties>
  38. <modules>
  39. <module>archiva-base</module>
  40. <module>archiva-scheduler</module>
  41. <module>archiva-web</module>
  42. <module>archiva-karaf</module>
  43. <module>metadata</module>
  44. <module>plugins</module>
  45. </modules>
  46. <build>
  47. <pluginManagement>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-site-plugin</artifactId>
  52. <configuration>
  53. <skipDeploy>true</skipDeploy>
  54. </configuration>
  55. </plugin>
  56. </plugins>
  57. </pluginManagement>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-scm-publish-plugin</artifactId>
  62. <inherited>false</inherited>
  63. <configuration>
  64. <checkinComment>Apache Archiva versioned module docs for ${project.version}</checkinComment>
  65. <skipDeletedFiles>true</skipDeletedFiles>
  66. <content>${project.build.directory}/staging</content>
  67. <tryUpdate>true</tryUpdate>
  68. <!--
  69. <ignorePathsToDelete>
  70. <path>%regex[^(?!docs/).*$]</path>
  71. </ignorePathsToDelete>
  72. -->
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <id>scm-publish</id>
  77. <phase>site-deploy</phase>
  78. <goals>
  79. <goal>publish-scm</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-site-plugin</artifactId>
  87. <configuration>
  88. <skipDeploy>true</skipDeploy>
  89. <stagingDirectory>${site.staging.base}/target/staging/ref/${project.version}/</stagingDirectory>
  90. </configuration>
  91. <executions>
  92. <execution>
  93. <id>attach-descriptor</id>
  94. <goals>
  95. <goal>attach-descriptor</goal>
  96. </goals>
  97. </execution>
  98. <!-- <execution>
  99. <id>site-generate-resources</id>
  100. <phase>generate-resources</phase>
  101. <goals>
  102. <goal>site</goal>
  103. </goals>
  104. </execution>-->
  105. <!--
  106. <execution>
  107. <id>stage-for-scm-publish</id>
  108. <phase>post-site</phase>
  109. <goals>
  110. <goal>stage</goal>
  111. </goals>
  112. <configuration>
  113. <skipDeploy>false</skipDeploy>
  114. </configuration>
  115. </execution>
  116. -->
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. <reporting>
  122. <plugins>
  123. <!-- jxr first -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-jxr-plugin</artifactId>
  127. <version>${jxrVersion}</version>
  128. <reportSets>
  129. <reportSet>
  130. <id>aggregate</id>
  131. <inherited>false</inherited>
  132. <reports>
  133. <report>aggregate</report>
  134. </reports>
  135. </reportSet>
  136. </reportSets>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-checkstyle-plugin</artifactId>
  141. <version>${checkstyleVersion}</version>
  142. <!-- inherited is needed to use netbeans checkstyle based code formatting -->
  143. <!-- 2013 05 03 may change in future release -->
  144. <inherited>true</inherited>
  145. <configuration>
  146. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  147. <configLocation>config/maven_checks.xml</configLocation>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <!-- No need for the standard project reports -->
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-project-info-reports-plugin</artifactId>
  154. <version>${maven-project-info-reports-plugin.version}</version>
  155. <reportSets>
  156. <reportSet>
  157. <reports>
  158. <report>index</report>
  159. </reports>
  160. </reportSet>
  161. </reportSets>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-javadoc-plugin</artifactId>
  166. <version>${javadocPluginVersion}</version>
  167. <inherited>false</inherited>
  168. <configuration>
  169. <notimestamp>true</notimestamp>
  170. <javadocVersion>1.8</javadocVersion>
  171. <source>1.8</source>
  172. <doclint>none</doclint>
  173. <links>
  174. <link>https://docs.oracle.com/javase/8/docs/api</link>
  175. <link>http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/</link>
  176. <link>http://commons.apache.org/dbcp/apidocs/</link>
  177. <link>http://commons.apache.org/fileupload/apidocs/</link>
  178. <link>http://commons.apache.org/httpclient/apidocs/</link>
  179. <link>http://commons.apache.org/logging/apidocs/</link>
  180. <link>http://commons.apache.org/pool/apidocs/</link>
  181. <link>http://junit.sourceforge.net/javadoc/</link>
  182. <link>http://logging.apache.org/log4j/1.2/apidocs/</link>
  183. <link>http://jakarta.apache.org/regexp/apidocs/</link>
  184. <link>http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/</link>
  185. </links>
  186. <linksource>true</linksource>
  187. <show>private</show>
  188. <tags>
  189. <tag>
  190. <name>todo</name>
  191. <placement>a</placement>
  192. <head>To Do:</head>
  193. </tag>
  194. </tags>
  195. </configuration>
  196. <reportSets>
  197. <reportSet>
  198. <reports>
  199. <!-- Don't need tests -->
  200. <report>aggregate</report>
  201. </reports>
  202. </reportSet>
  203. </reportSets>
  204. </plugin>
  205. </plugins>
  206. </reporting>
  207. <profiles>
  208. <profile>
  209. <id>reporting</id>
  210. <reporting>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-checkstyle-plugin</artifactId>
  215. <version>${checkstyleVersion}</version>
  216. <inherited>false</inherited>
  217. <reportSets>
  218. <reportSet>
  219. <reports>
  220. <report>checkstyle-aggregate</report>
  221. </reports>
  222. </reportSet>
  223. </reportSets>
  224. </plugin>
  225. </plugins>
  226. </reporting>
  227. </profile>
  228. <!--
  229. This runs a sparse git checkout for the web site content repository that contains only the doc directory.
  230. The profile is activated only, if the checkout directory does not exist.
  231. The executor runs a shell script.
  232. -->
  233. <profile>
  234. <id>site-checkout</id>
  235. <activation>
  236. <file>
  237. <missing>${scmPubCheckoutDirectory}</missing>
  238. </file>
  239. </activation>
  240. <build>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.codehaus.mojo</groupId>
  244. <artifactId>exec-maven-plugin</artifactId>
  245. <version>1.6.0</version>
  246. <inherited>false</inherited>
  247. <executions>
  248. <execution>
  249. <id>prepare-checkout</id>
  250. <phase>pre-site</phase>
  251. <goals>
  252. <goal>exec</goal>
  253. </goals>
  254. <configuration>
  255. <executable>checkoutSite.sh</executable>
  256. <workingDirectory>${project.basedir}</workingDirectory>
  257. <arguments>
  258. <argument>-d</argument>
  259. <argument>${scmPubCheckoutDirectory}</argument>
  260. <argument>${siteRepositoryUrl}</argument>
  261. </arguments>
  262. </configuration>
  263. </execution>
  264. </executions>
  265. </plugin>
  266. </plugins>
  267. </build>
  268. </profile>
  269. </profiles>
  270. <distributionManagement>
  271. <site>
  272. <id>apache.website</id>
  273. <url>${siteRepositoryUrl}</url>
  274. </site>
  275. </distributionManagement>
  276. </project>