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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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. <dependency>
  34. <groupId>org.apache.archiva</groupId>
  35. <artifactId>archiva-configuration</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>archiva-consumer-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>archiva-checksum</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>archiva-repository-admin-api</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>archiva-repository-layer</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva</groupId>
  55. <artifactId>metadata-repository-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva.maven</groupId>
  59. <artifactId>archiva-maven-metadata</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva</groupId>
  63. <artifactId>archiva-storage-api</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>archiva-storage-fs</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>archiva-model</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.archiva</groupId>
  75. <artifactId>archiva-common</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva</groupId>
  79. <artifactId>archiva-repository-api</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.archiva</groupId>
  83. <artifactId>metadata-model</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.archiva.components.registry</groupId>
  87. <artifactId>archiva-components-spring-registry-api</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>javax.inject</groupId>
  91. <artifactId>javax.inject</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>javax.annotation</groupId>
  95. <artifactId>javax.annotation-api</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework</groupId>
  99. <artifactId>spring-context</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-beans</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.commons</groupId>
  107. <artifactId>commons-lang3</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-io</groupId>
  111. <artifactId>commons-io</artifactId>
  112. </dependency>
  113. <!-- test dependencies -->
  114. <!-- This dependency is needed by openjpa -->
  115. <dependency>
  116. <groupId>javax.persistence</groupId>
  117. <artifactId>javax.persistence-api</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>javax.transaction</groupId>
  122. <artifactId>javax.transaction-api</artifactId>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-test</artifactId>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.easymock</groupId>
  132. <artifactId>easymock</artifactId>
  133. <scope>test</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.archiva.redback</groupId>
  137. <artifactId>redback-rbac-jpa</artifactId>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.archiva.redback</groupId>
  142. <artifactId>redback-common-jpa</artifactId>
  143. <version>${redback.version}</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <!--
  147. <dependency>
  148. <groupId>org.springframework</groupId>
  149. <artifactId>spring-tx</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. -->
  153. <!--
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-orm</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. -->
  160. <dependency>
  161. <groupId>org.apache.openjpa</groupId>
  162. <artifactId>openjpa</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.archiva.components.registry</groupId>
  167. <artifactId>archiva-components-spring-registry-commons</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.archiva.maven</groupId>
  172. <artifactId>archiva-maven-repository</artifactId>
  173. <scope>test</scope>
  174. </dependency>
  175. <!--
  176. <dependency>
  177. <groupId>org.apache.archiva</groupId>
  178. <artifactId>archiva-scheduler-repository</artifactId>
  179. <scope>test</scope>
  180. </dependency>
  181. -->
  182. <dependency>
  183. <groupId>org.apache.archiva</groupId>
  184. <artifactId>archiva-test-utils</artifactId>
  185. <version>${project.version}</version>
  186. <scope>test</scope>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.hsqldb</groupId>
  190. <artifactId>hsqldb</artifactId>
  191. <scope>test</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.xmlunit</groupId>
  195. <artifactId>xmlunit-core</artifactId>
  196. <scope>test</scope>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.xmlunit</groupId>
  200. <artifactId>xmlunit-assertj</artifactId>
  201. <scope>test</scope>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.mockito</groupId>
  205. <artifactId>mockito-all</artifactId>
  206. <scope>test</scope>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.apache.archiva</groupId>
  210. <artifactId>archiva-repository-admin-default</artifactId>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.archiva.redback</groupId>
  215. <artifactId>redback-rbac-cached</artifactId>
  216. <scope>test</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.apache.archiva.redback</groupId>
  220. <artifactId>redback-common-test-resources</artifactId>
  221. <scope>test</scope>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.maven.wagon</groupId>
  225. <artifactId>wagon-http-lightweight</artifactId>
  226. <scope>provided</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.assertj</groupId>
  230. <artifactId>assertj-core</artifactId>
  231. <scope>test</scope>
  232. </dependency>
  233. <!-- Components used in test spring configuration -->
  234. <dependency>
  235. <groupId>org.apache.archiva</groupId>
  236. <artifactId>archiva-mock</artifactId>
  237. <scope>test</scope>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.archiva.maven</groupId>
  241. <artifactId>archiva-maven-indexer</artifactId>
  242. <scope>test</scope>
  243. </dependency>
  244. <!--
  245. <dependency>
  246. <groupId>org.ow2.asm</groupId>
  247. <artifactId>asm</artifactId>
  248. <scope>test</scope>
  249. </dependency>
  250. -->
  251. </dependencies>
  252. <build>
  253. <pluginManagement>
  254. <plugins>
  255. <plugin>
  256. <groupId>org.apache.maven.plugins</groupId>
  257. <artifactId>maven-surefire-plugin</artifactId>
  258. <configuration>
  259. <systemPropertyVariables>
  260. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  261. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  262. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  263. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  264. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  265. <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
  266. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  267. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  268. </systemPropertyVariables>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.apache.rat</groupId>
  273. <artifactId>apache-rat-plugin</artifactId>
  274. <configuration>
  275. <excludes>
  276. <exclude>src/test/resources/test-repo/**</exclude>
  277. <exclude>src/test/resources/releases-test-repo-one/**</exclude>
  278. <exclude>nbactions.xml</exclude>
  279. <exclude>src/test/resources/checksum/**</exclude>
  280. </excludes>
  281. </configuration>
  282. </plugin>
  283. </plugins>
  284. </pluginManagement>
  285. <plugins>
  286. <plugin>
  287. <groupId>org.apache.maven.plugins</groupId>
  288. <artifactId>maven-jar-plugin</artifactId>
  289. <executions>
  290. <execution>
  291. <goals>
  292. <goal>test-jar</goal>
  293. </goals>
  294. </execution>
  295. </executions>
  296. </plugin>
  297. </plugins>
  298. </build>
  299. <!--
  300. The jaxb dependency is needed by the enunciate plugin starting with JDK9.
  301. Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
  302. Using provided scope to avoid adding it to packaging.
  303. -->
  304. <profiles>
  305. <profile>
  306. <id>jdk9+</id>
  307. <activation>
  308. <jdk>[1.9,)</jdk>
  309. </activation>
  310. <dependencies>
  311. <dependency>
  312. <groupId>javax.xml.bind</groupId>
  313. <artifactId>jaxb-api</artifactId>
  314. </dependency>
  315. </dependencies>
  316. </profile>
  317. </profiles>
  318. </project>