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.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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</groupId>
  74. <artifactId>metadata-model-maven2</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.archiva</groupId>
  78. <artifactId>archiva-plexus-bridge</artifactId>
  79. </dependency>
  80. <!--
  81. <dependency>
  82. <groupId>org.codehaus.plexus</groupId>
  83. <artifactId>plexus-digest</artifactId>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>org.codehaus.plexus</groupId>
  87. <artifactId>plexus-component-api</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. -->
  92. <!-- test dependencies -->
  93. <dependency>
  94. <groupId>org.apache.archiva</groupId>
  95. <artifactId>maven2-repository</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.archiva</groupId>
  100. <artifactId>archiva-scheduler-repository</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.archiva</groupId>
  105. <artifactId>archiva-test-utils</artifactId>
  106. <version>${project.version}</version>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.hsqldb</groupId>
  111. <artifactId>hsqldb</artifactId>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>xmlunit</groupId>
  116. <artifactId>xmlunit</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.mockito</groupId>
  121. <artifactId>mockito-all</artifactId>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.archiva</groupId>
  126. <artifactId>archiva-repository-admin-default</artifactId>
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.archiva.redback</groupId>
  131. <artifactId>redback-rbac-cached</artifactId>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.derby</groupId>
  136. <artifactId>derby</artifactId>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.archiva.redback</groupId>
  141. <artifactId>redback-common-test-resources</artifactId>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.maven.wagon</groupId>
  146. <artifactId>wagon-http-lightweight</artifactId>
  147. <scope>provided</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>xerces</groupId>
  151. <artifactId>xercesImpl</artifactId>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.assertj</groupId>
  156. <artifactId>assertj-core</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.archiva</groupId>
  161. <artifactId>archiva-mock</artifactId>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.archiva.maven</groupId>
  166. <artifactId>archiva-maven-indexer</artifactId>
  167. <scope>test</scope>
  168. </dependency>
  169. <!-- Needed for JDK >= 9 -->
  170. <dependency>
  171. <groupId>javax.annotation</groupId>
  172. <artifactId>javax.annotation-api</artifactId>
  173. <scope>test</scope>
  174. </dependency>
  175. <dependency>
  176. <groupId>javax.xml.bind</groupId>
  177. <artifactId>jaxb-api</artifactId>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.ow2.asm</groupId>
  182. <artifactId>asm</artifactId>
  183. <scope>test</scope>
  184. </dependency>
  185. </dependencies>
  186. <build>
  187. <pluginManagement>
  188. <plugins>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-surefire-plugin</artifactId>
  192. <configuration>
  193. <systemPropertyVariables>
  194. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  195. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  196. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  197. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  198. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  199. <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
  200. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  201. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  202. </systemPropertyVariables>
  203. </configuration>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.apache.rat</groupId>
  207. <artifactId>apache-rat-plugin</artifactId>
  208. <configuration>
  209. <excludes>
  210. <exclude>src/test/resources/test-repo/**</exclude>
  211. <exclude>src/test/resources/releases-test-repo-one/**</exclude>
  212. <exclude>nbactions.xml</exclude>
  213. <exclude>src/test/resources/checksum/**</exclude>
  214. </excludes>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </pluginManagement>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-jar-plugin</artifactId>
  223. <executions>
  224. <execution>
  225. <goals>
  226. <goal>test-jar</goal>
  227. </goals>
  228. </execution>
  229. </executions>
  230. </plugin>
  231. </plugins>
  232. </build>
  233. </project>