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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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-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.easymock</groupId>
  163. <artifactId>easymock</artifactId>
  164. <scope>test</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.archiva.redback</groupId>
  168. <artifactId>redback-rbac-jpa</artifactId>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.archiva.redback</groupId>
  173. <artifactId>redback-common-jpa</artifactId>
  174. <version>${redback.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <!--
  178. <dependency>
  179. <groupId>org.springframework</groupId>
  180. <artifactId>spring-tx</artifactId>
  181. <scope>test</scope>
  182. </dependency>
  183. -->
  184. <!--
  185. <dependency>
  186. <groupId>org.springframework</groupId>
  187. <artifactId>spring-orm</artifactId>
  188. <scope>test</scope>
  189. </dependency>
  190. -->
  191. <dependency>
  192. <groupId>org.apache.openjpa</groupId>
  193. <artifactId>openjpa</artifactId>
  194. <scope>test</scope>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.archiva.components.registry</groupId>
  198. <artifactId>archiva-components-spring-registry-commons</artifactId>
  199. <scope>test</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.archiva.maven</groupId>
  203. <artifactId>archiva-maven-repository</artifactId>
  204. <scope>test</scope>
  205. </dependency>
  206. <!--
  207. <dependency>
  208. <groupId>org.apache.archiva</groupId>
  209. <artifactId>archiva-scheduler-repository</artifactId>
  210. <scope>test</scope>
  211. </dependency>
  212. -->
  213. <dependency>
  214. <groupId>org.apache.archiva</groupId>
  215. <artifactId>archiva-test-utils</artifactId>
  216. <version>${project.version}</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.hsqldb</groupId>
  221. <artifactId>hsqldb</artifactId>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.xmlunit</groupId>
  226. <artifactId>xmlunit-core</artifactId>
  227. <scope>test</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.xmlunit</groupId>
  231. <artifactId>xmlunit-assertj</artifactId>
  232. <scope>test</scope>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.mockito</groupId>
  236. <artifactId>mockito-all</artifactId>
  237. <scope>test</scope>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.archiva</groupId>
  241. <artifactId>archiva-repository-admin-default</artifactId>
  242. <scope>test</scope>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.archiva.redback</groupId>
  246. <artifactId>redback-rbac-cached</artifactId>
  247. <scope>test</scope>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.archiva.redback</groupId>
  251. <artifactId>redback-common-test-resources</artifactId>
  252. <scope>test</scope>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.assertj</groupId>
  256. <artifactId>assertj-core</artifactId>
  257. <scope>test</scope>
  258. </dependency>
  259. <!-- Components used in test spring configuration -->
  260. <dependency>
  261. <groupId>org.apache.archiva</groupId>
  262. <artifactId>archiva-mock</artifactId>
  263. <scope>test</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.archiva.maven</groupId>
  267. <artifactId>archiva-maven-indexer</artifactId>
  268. <scope>test</scope>
  269. </dependency>
  270. <!--
  271. <dependency>
  272. <groupId>org.ow2.asm</groupId>
  273. <artifactId>asm</artifactId>
  274. <scope>test</scope>
  275. </dependency>
  276. -->
  277. </dependencies>
  278. <build>
  279. <pluginManagement>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-surefire-plugin</artifactId>
  284. <configuration>
  285. <systemPropertyVariables>
  286. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  287. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  288. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  289. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  290. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  291. <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
  292. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  293. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  294. </systemPropertyVariables>
  295. </configuration>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.apache.rat</groupId>
  299. <artifactId>apache-rat-plugin</artifactId>
  300. <configuration>
  301. <excludes>
  302. <exclude>src/test/resources/test-repo/**</exclude>
  303. <exclude>src/test/resources/releases-test-repo-one/**</exclude>
  304. <exclude>nbactions.xml</exclude>
  305. <exclude>src/test/resources/checksum/**</exclude>
  306. </excludes>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </pluginManagement>
  311. <plugins>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-jar-plugin</artifactId>
  315. <executions>
  316. <execution>
  317. <goals>
  318. <goal>test-jar</goal>
  319. </goals>
  320. </execution>
  321. </executions>
  322. </plugin>
  323. </plugins>
  324. </build>
  325. <!--
  326. The jaxb dependency is needed by the enunciate plugin starting with JDK9.
  327. Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
  328. Using provided scope to avoid adding it to packaging.
  329. -->
  330. <profiles>
  331. <profile>
  332. <id>jdk9+</id>
  333. <activation>
  334. <jdk>[1.9,)</jdk>
  335. </activation>
  336. <dependencies>
  337. <dependency>
  338. <groupId>jakarta.xml.bind</groupId>
  339. <artifactId>jakarta.xml.bind-api</artifactId>
  340. </dependency>
  341. </dependencies>
  342. </profile>
  343. </profiles>
  344. </project>