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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva.maven</groupId>
  24. <artifactId>archiva-maven</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-maven-repository</artifactId>
  28. <name>Archiva :: Maven :: Repository Support</name>
  29. <properties>
  30. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.archiva</groupId>
  35. <artifactId>archiva-repository-api</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>metadata-model</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva.maven</groupId>
  43. <artifactId>archiva-maven-metadata</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>metadata-repository-api</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>archiva-proxy-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva</groupId>
  55. <artifactId>archiva-scheduler-repository-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva</groupId>
  59. <artifactId>archiva-common</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva</groupId>
  63. <artifactId>archiva-model</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>stage-repository-merge</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>archiva-repository-layer</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.archiva</groupId>
  75. <artifactId>archiva-filelock</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva</groupId>
  79. <artifactId>archiva-checksum</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.archiva</groupId>
  83. <artifactId>archiva-storage-api</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.archiva.maven</groupId>
  87. <artifactId>archiva-maven-common</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.archiva</groupId>
  91. <artifactId>archiva-storage-fs</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.archiva</groupId>
  95. <artifactId>archiva-policies</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.archiva.components.registry</groupId>
  99. <artifactId>archiva-components-spring-registry-api</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.archiva.components</groupId>
  103. <artifactId>archiva-components-spring-taskqueue</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.archiva</groupId>
  107. <artifactId>archiva-repository-admin-api</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>jakarta.annotation</groupId>
  111. <artifactId>jakarta.annotation-api</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>jakarta.inject</groupId>
  115. <artifactId>jakarta.inject-api</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.maven</groupId>
  119. <artifactId>maven-core</artifactId>
  120. <exclusions>
  121. <exclusion>
  122. <groupId>com.google.inject</groupId>
  123. <artifactId>guice</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.maven</groupId>
  129. <artifactId>maven-resolver-provider</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.maven</groupId>
  133. <artifactId>maven-model-builder</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.maven</groupId>
  137. <artifactId>maven-artifact</artifactId>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.maven</groupId>
  141. <artifactId>maven-model</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.maven.resolver</groupId>
  145. <artifactId>maven-resolver-api</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.maven.resolver</groupId>
  149. <artifactId>maven-resolver-impl</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.maven.resolver</groupId>
  153. <artifactId>maven-resolver-util</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.maven.resolver</groupId>
  157. <artifactId>maven-resolver-spi</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.maven.indexer</groupId>
  161. <artifactId>indexer-core</artifactId>
  162. <classifier>shaded-lucene</classifier>
  163. <exclusions>
  164. <exclusion>
  165. <groupId>org.apache.lucene</groupId>
  166. <artifactId>lucene-queryparser</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>org.apache.lucene</groupId>
  170. <artifactId>lucene-analyzers-common</artifactId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <!-- Runtime scope, because it's needed by maven classes -->
  175. <dependency>
  176. <groupId>org.eclipse.sisu</groupId>
  177. <artifactId>org.eclipse.sisu.plexus</artifactId>
  178. <scope>runtime</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.apache.maven.resolver</groupId>
  182. <artifactId>maven-resolver-connector-basic</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.maven.wagon</groupId>
  186. <artifactId>wagon-http-shared</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.codehaus.plexus</groupId>
  190. <artifactId>plexus-utils</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-context</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.commons</groupId>
  198. <artifactId>commons-lang3</artifactId>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.httpcomponents</groupId>
  202. <artifactId>httpclient</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.archiva</groupId>
  206. <artifactId>archiva-configuration</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.apache.archiva.maven</groupId>
  210. <artifactId>archiva-maven-model</artifactId>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.apache.maven.wagon</groupId>
  214. <artifactId>wagon-provider-api</artifactId>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.modelmapper</groupId>
  218. <artifactId>modelmapper</artifactId>
  219. </dependency>
  220. <dependency>
  221. <groupId>commons-io</groupId>
  222. <artifactId>commons-io</artifactId>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.commons</groupId>
  226. <artifactId>commons-collections4</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.apache.maven.wagon</groupId>
  230. <artifactId>wagon-http</artifactId>
  231. <scope>provided</scope>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.apache.maven.wagon</groupId>
  235. <artifactId>wagon-http-lightweight</artifactId>
  236. <scope>provided</scope>
  237. </dependency>
  238. <!-- Test scope -->
  239. <dependency>
  240. <groupId>org.apache.archiva.maven</groupId>
  241. <artifactId>archiva-maven-proxy</artifactId>
  242. <scope>test</scope>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.archiva</groupId>
  246. <artifactId>archiva-proxy</artifactId>
  247. <scope>test</scope>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.archiva.components</groupId>
  251. <artifactId>archiva-components-spring-quartz</artifactId>
  252. <scope>test</scope>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.xmlunit</groupId>
  256. <artifactId>xmlunit-core</artifactId>
  257. <scope>test</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.xmlunit</groupId>
  261. <artifactId>xmlunit-assertj</artifactId>
  262. <scope>test</scope>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.easymock</groupId>
  266. <artifactId>easymock</artifactId>
  267. <scope>test</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.springframework</groupId>
  271. <artifactId>spring-test</artifactId>
  272. <scope>test</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.apache.archiva</groupId>
  276. <artifactId>test-repository</artifactId>
  277. <scope>test</scope>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.archiva</groupId>
  281. <artifactId>archiva-test-utils</artifactId>
  282. <version>${project.version}</version>
  283. <scope>test</scope>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.mockito</groupId>
  287. <artifactId>mockito-all</artifactId>
  288. <scope>test</scope>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.assertj</groupId>
  292. <artifactId>assertj-core</artifactId>
  293. <scope>test</scope>
  294. </dependency>
  295. </dependencies>
  296. <build>
  297. <plugins>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-dependency-plugin</artifactId>
  301. <executions>
  302. <execution>
  303. <id>test-repository</id>
  304. <phase>process-test-classes</phase>
  305. <goals>
  306. <goal>unpack-dependencies</goal>
  307. </goals>
  308. <configuration>
  309. <includeArtifactIds>test-repository</includeArtifactIds>
  310. <outputDirectory>target/test-repository</outputDirectory>
  311. <excludes>META-INF/**</excludes>
  312. </configuration>
  313. </execution>
  314. </executions>
  315. </plugin>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-surefire-plugin</artifactId>
  319. <configuration>
  320. <systemPropertyVariables>
  321. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  322. </systemPropertyVariables>
  323. </configuration>
  324. </plugin>
  325. </plugins>
  326. <pluginManagement>
  327. <plugins>
  328. <plugin>
  329. <groupId>org.apache.rat</groupId>
  330. <artifactId>apache-rat-plugin</artifactId>
  331. <configuration>
  332. <excludes>
  333. <!-- TODO: move repo into a subdirectory -->
  334. <exclude>src/test/resources/com/**</exclude>
  335. <exclude>src/test/resources/commons-io/**</exclude>
  336. <exclude>src/test/resources/test-repo/**</exclude>
  337. <exclude>src/test/resources/m1-repo-filelist.txt</exclude>
  338. <exclude>src/test/repositories/**</exclude>
  339. <exclude>src/test/expected-poms/**</exclude>
  340. <exclude>src/test/resources/resolver-status.properties</exclude>
  341. <exclude>src/test/resources/test01.properties</exclude>
  342. <exclude>src/test/resources/target-repo/**</exclude>
  343. <exclude>src/test/resources/test-repository-with-conflict-artifacts/**</exclude>
  344. <exclude>src/test/resources/repositories/**</exclude>
  345. </excludes>
  346. </configuration>
  347. </plugin>
  348. </plugins>
  349. </pluginManagement>
  350. </build>
  351. <profiles>
  352. <profile>
  353. <id>jdk9+</id>
  354. <activation>
  355. <jdk>[1.9,)</jdk>
  356. </activation>
  357. <dependencies>
  358. <!-- Needed for JDK >= 9 -->
  359. <dependency>
  360. <groupId>jakarta.annotation</groupId>
  361. <artifactId>jakarta.annotation-api</artifactId>
  362. <scope>test</scope>
  363. </dependency>
  364. <dependency>
  365. <groupId>jakarta.xml.bind</groupId>
  366. <artifactId>jakarta.xml.bind-api</artifactId>
  367. <scope>test</scope>
  368. </dependency>
  369. </dependencies>
  370. </profile>
  371. </profiles>
  372. </project>