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 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-consumers</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-core-consumers</artifactId>
  28. <name>Archiva Base :: Consumers :: Core Consumers</name>
  29. <properties>
  30. <site.staging.base>${project.parent.parent.parent.basedir}</site.staging.base>
  31. </properties>
  32. <dependencies>
  33. <!-- TODO: remove this hard dependency by using an event mechanism -->
  34. <dependency>
  35. <groupId>org.apache.archiva</groupId>
  36. <artifactId>audit</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.archiva</groupId>
  40. <artifactId>archiva-configuration</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.archiva</groupId>
  44. <artifactId>archiva-consumer-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.archiva</groupId>
  48. <artifactId>archiva-checksum</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.archiva</groupId>
  52. <artifactId>archiva-repository-admin-api</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.archiva</groupId>
  56. <artifactId>archiva-repository-layer</artifactId>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>commons-logging</groupId>
  60. <artifactId>commons-logging-api</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>log4j</groupId>
  64. <artifactId>log4j</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.archiva</groupId>
  70. <artifactId>metadata-repository-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva.maven</groupId>
  74. <artifactId>archiva-maven-metadata</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.archiva</groupId>
  78. <artifactId>archiva-plexus-bridge</artifactId>
  79. </dependency>
  80. <!-- test dependencies -->
  81. <dependency>
  82. <groupId>org.apache.archiva.maven</groupId>
  83. <artifactId>archiva-maven-repository</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.archiva</groupId>
  88. <artifactId>archiva-scheduler-repository</artifactId>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.archiva</groupId>
  93. <artifactId>archiva-test-utils</artifactId>
  94. <version>${project.version}</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.hsqldb</groupId>
  99. <artifactId>hsqldb</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>xmlunit</groupId>
  104. <artifactId>xmlunit</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.mockito</groupId>
  109. <artifactId>mockito-all</artifactId>
  110. <scope>test</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.archiva</groupId>
  114. <artifactId>archiva-repository-admin-default</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.archiva.redback</groupId>
  119. <artifactId>redback-rbac-cached</artifactId>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.derby</groupId>
  124. <artifactId>derby</artifactId>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.archiva.redback</groupId>
  129. <artifactId>redback-common-test-resources</artifactId>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.maven.wagon</groupId>
  134. <artifactId>wagon-http-lightweight</artifactId>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>xerces</groupId>
  139. <artifactId>xercesImpl</artifactId>
  140. <scope>test</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.assertj</groupId>
  144. <artifactId>assertj-core</artifactId>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.archiva</groupId>
  149. <artifactId>archiva-mock</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.archiva.maven</groupId>
  154. <artifactId>archiva-maven-indexer</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <!-- Needed for JDK >= 9 -->
  158. <dependency>
  159. <groupId>javax.annotation</groupId>
  160. <artifactId>javax.annotation-api</artifactId>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>javax.xml.bind</groupId>
  165. <artifactId>jaxb-api</artifactId>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.ow2.asm</groupId>
  170. <artifactId>asm</artifactId>
  171. <scope>test</scope>
  172. </dependency>
  173. </dependencies>
  174. <build>
  175. <pluginManagement>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-surefire-plugin</artifactId>
  180. <configuration>
  181. <systemPropertyVariables>
  182. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  183. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  184. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  185. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  186. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  187. <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
  188. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  189. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  190. </systemPropertyVariables>
  191. </configuration>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.rat</groupId>
  195. <artifactId>apache-rat-plugin</artifactId>
  196. <configuration>
  197. <excludes>
  198. <exclude>src/test/resources/test-repo/**</exclude>
  199. <exclude>src/test/resources/releases-test-repo-one/**</exclude>
  200. <exclude>nbactions.xml</exclude>
  201. <exclude>src/test/resources/checksum/**</exclude>
  202. </excludes>
  203. </configuration>
  204. </plugin>
  205. </plugins>
  206. </pluginManagement>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-jar-plugin</artifactId>
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>test-jar</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. </project>