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

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