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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  21. <parent>
  22. <artifactId>archiva</artifactId>
  23. <groupId>org.apache.archiva</groupId>
  24. <version>1.3.10-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-modules</artifactId>
  28. <packaging>pom</packaging>
  29. <name>Archiva :: Modules</name>
  30. <url>http://archiva.apache.org/ref/${project.version}</url>
  31. <modules>
  32. <module>archiva-base</module>
  33. <module>archiva-database</module>
  34. <module>archiva-reporting</module>
  35. <module>archiva-scheduled</module>
  36. <module>archiva-web</module>
  37. </modules>
  38. <reporting>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.codehaus.mojo</groupId>
  42. <artifactId>cobertura-maven-plugin</artifactId>
  43. <version>2.2</version>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-checkstyle-plugin</artifactId>
  48. <version>2.1</version>
  49. <configuration>
  50. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  51. <configLocation>config/maven_checks.xml</configLocation>
  52. <!-- TODO: enable when archiva-build-resources is active (released?)
  53. <configLocation>checkstyle.xml</configLocation>
  54. <headerLocation>header.txt</headerLocation>
  55. -->
  56. </configuration>
  57. </plugin>
  58. <!-- TODO: OOME
  59. <plugin>
  60. <groupId>org.codehaus.mojo</groupId>
  61. <artifactId>findbugs-maven-plugin</artifactId>
  62. <version>1.1.1</version>
  63. </plugin>
  64. -->
  65. <plugin>
  66. <groupId>org.codehaus.mojo</groupId>
  67. <artifactId>changelog-maven-plugin</artifactId>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.codehaus.mojo</groupId>
  71. <artifactId>taglist-maven-plugin</artifactId>
  72. </plugin>
  73. <plugin>
  74. <artifactId>maven-jxr-plugin</artifactId>
  75. <configuration>
  76. <aggregate>true</aggregate>
  77. </configuration>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-surefire-report-plugin</artifactId>
  81. <version>2.4.2</version>
  82. </plugin>
  83. <plugin>
  84. <artifactId>maven-javadoc-plugin</artifactId>
  85. <version>2.4</version>
  86. <configuration>
  87. <source>1.5</source>
  88. <aggregate>true</aggregate>
  89. <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
  90. <docletArtifact>
  91. <groupId>gr.spinellis</groupId>
  92. <artifactId>UmlGraph</artifactId>
  93. <version>4.6</version>
  94. </docletArtifact>
  95. <additionalparam>
  96. -inferrel -inferdep -quiet -hide java.*
  97. -collpackages java.util.* -qualify
  98. -postfixpackage -nodefontsize 9
  99. -nodefontpackagesize 7
  100. </additionalparam>
  101. <links>
  102. <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
  103. <link>http://java.sun.com/j2ee/1.4/docs/api</link>
  104. <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
  105. <link>http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/</link>
  106. <link>http://commons.apache.org/dbcp/apidocs/</link>
  107. <link>http://commons.apache.org/fileupload/apidocs/</link>
  108. <link>http://commons.apache.org/httpclient/apidocs/</link>
  109. <link>http://commons.apache.org/logging/apidocs/</link>
  110. <link>http://commons.apache.org/pool/apidocs/</link>
  111. <link>http://junit.sourceforge.net/javadoc/</link>
  112. <link>http://logging.apache.org/log4j/1.2/apidocs/</link>
  113. <link>http://jakarta.apache.org/regexp/apidocs/</link>
  114. <link>http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/</link>
  115. </links>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-pmd-plugin</artifactId>
  121. <!-- TODO: choose appropriate rulesets -->
  122. <configuration>
  123. <targetJdk>1.5</targetJdk>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.codehaus.mojo</groupId>
  128. <artifactId>clirr-maven-plugin</artifactId>
  129. </plugin>
  130. </plugins>
  131. </reporting>
  132. <profiles>
  133. <profile>
  134. <id>ci</id>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-pmd-plugin</artifactId>
  140. <executions>
  141. <execution>
  142. <goals>
  143. <!-- TODO: after rules are set
  144. <goal>check</goal>
  145. -->
  146. <goal>cpd-check</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-checkstyle-plugin</artifactId>
  154. <executions>
  155. <execution>
  156. <goals>
  157. <!-- TODO: reformat first, and correct the checks (some are not consistent with the Maven style)
  158. <goal>check</goal>
  159. -->
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.codehaus.mojo</groupId>
  166. <artifactId>cobertura-maven-plugin</artifactId>
  167. <version>2.2</version>
  168. <configuration>
  169. <check>
  170. <!-- TODO: raise to 85/100 -->
  171. <totalLineRate>77</totalLineRate>
  172. <totalBranchRate>95</totalBranchRate>
  173. </check>
  174. <instrumentation>
  175. <excludes>
  176. <exclude>**/*$*</exclude>
  177. </excludes>
  178. </instrumentation>
  179. </configuration>
  180. <executions>
  181. <execution>
  182. <id>clean</id>
  183. <goals>
  184. <goal>clean</goal>
  185. </goals>
  186. </execution>
  187. <execution>
  188. <id>check</id>
  189. <goals>
  190. <goal>check</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </profile>
  198. </profiles>
  199. <distributionManagement>
  200. <site>
  201. <id>apache.website</id>
  202. <url>${siteBaseDeployment}/ref/${project.version}</url>
  203. </site>
  204. </distributionManagement>
  205. </project>