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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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.maven</groupId>
  107. <artifactId>archiva-maven-proxy</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>javax.annotation</groupId>
  111. <artifactId>javax.annotation-api</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>javax.inject</groupId>
  115. <artifactId>javax.inject</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.maven</groupId>
  119. <artifactId>maven-core</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.maven</groupId>
  123. <artifactId>maven-resolver-provider</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.maven</groupId>
  127. <artifactId>maven-model-builder</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.maven</groupId>
  131. <artifactId>maven-artifact</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.maven</groupId>
  135. <artifactId>maven-repository-metadata</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.maven</groupId>
  139. <artifactId>maven-model</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.maven.resolver</groupId>
  143. <artifactId>maven-resolver-api</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.maven.resolver</groupId>
  147. <artifactId>maven-resolver-impl</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.maven.resolver</groupId>
  151. <artifactId>maven-resolver-util</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.maven.resolver</groupId>
  155. <artifactId>maven-resolver-spi</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.maven.resolver</groupId>
  159. <artifactId>maven-resolver-transport-file</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.maven.resolver</groupId>
  163. <artifactId>maven-resolver-connector-basic</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.maven.wagon</groupId>
  167. <artifactId>wagon-http-shared</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-context</artifactId>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.commons</groupId>
  175. <artifactId>commons-lang3</artifactId>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.httpcomponents</groupId>
  179. <artifactId>httpclient</artifactId>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.eclipse.sisu</groupId>
  183. <artifactId>org.eclipse.sisu.plexus</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.google.inject</groupId>
  187. <artifactId>guice</artifactId>
  188. <classifier>no_aop</classifier>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.archiva</groupId>
  192. <artifactId>archiva-plexus-bridge</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>commons-logging</groupId>
  196. <artifactId>commons-logging</artifactId>
  197. <scope>test</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.apache.archiva</groupId>
  201. <artifactId>archiva-configuration</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.apache.archiva.maven</groupId>
  205. <artifactId>archiva-maven-model</artifactId>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.maven.wagon</groupId>
  209. <artifactId>wagon-provider-api</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.modelmapper</groupId>
  213. <artifactId>modelmapper</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>commons-io</groupId>
  217. <artifactId>commons-io</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.maven.wagon</groupId>
  221. <artifactId>wagon-http</artifactId>
  222. <scope>provided</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.maven.wagon</groupId>
  226. <artifactId>wagon-http-lightweight</artifactId>
  227. <scope>provided</scope>
  228. </dependency>
  229. <!-- Test scope -->
  230. <dependency>
  231. <groupId>org.apache.archiva.components</groupId>
  232. <artifactId>archiva-components-spring-quartz</artifactId>
  233. <scope>test</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.apache.maven.indexer</groupId>
  237. <artifactId>indexer-core</artifactId>
  238. <classifier>shaded-lucene</classifier>
  239. <scope>test</scope>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.xmlunit</groupId>
  243. <artifactId>xmlunit-core</artifactId>
  244. <scope>test</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.xmlunit</groupId>
  248. <artifactId>xmlunit-assertj</artifactId>
  249. <scope>test</scope>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.easymock</groupId>
  253. <artifactId>easymock</artifactId>
  254. <scope>test</scope>
  255. </dependency>
  256. <dependency>
  257. <groupId>commons-beanutils</groupId>
  258. <artifactId>commons-beanutils</artifactId>
  259. <scope>test</scope>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.springframework</groupId>
  263. <artifactId>spring-test</artifactId>
  264. <scope>test</scope>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.archiva</groupId>
  268. <artifactId>test-repository</artifactId>
  269. <scope>test</scope>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.archiva</groupId>
  273. <artifactId>archiva-mock</artifactId>
  274. <scope>test</scope>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.archiva</groupId>
  278. <artifactId>archiva-test-utils</artifactId>
  279. <version>${project.version}</version>
  280. <scope>test</scope>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.mockito</groupId>
  284. <artifactId>mockito-all</artifactId>
  285. <scope>test</scope>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.assertj</groupId>
  289. <artifactId>assertj-core</artifactId>
  290. <scope>test</scope>
  291. </dependency>
  292. <dependency>
  293. <groupId>org.apache.logging.log4j</groupId>
  294. <artifactId>log4j-1.2-api</artifactId>
  295. <scope>test</scope>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.ow2.asm</groupId>
  299. <artifactId>asm</artifactId>
  300. <scope>test</scope>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.apache.archiva</groupId>
  304. <artifactId>metadata-store-jcr</artifactId>
  305. <scope>test</scope>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.apache.archiva.components.cache</groupId>
  309. <artifactId>archiva-components-spring-cache-ehcache</artifactId>
  310. <scope>test</scope>
  311. </dependency>
  312. </dependencies>
  313. <build>
  314. <plugins>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-dependency-plugin</artifactId>
  318. <executions>
  319. <execution>
  320. <id>test-repository</id>
  321. <phase>process-test-classes</phase>
  322. <goals>
  323. <goal>unpack-dependencies</goal>
  324. </goals>
  325. <configuration>
  326. <includeArtifactIds>test-repository</includeArtifactIds>
  327. <outputDirectory>target/test-repository</outputDirectory>
  328. <excludes>META-INF/**</excludes>
  329. </configuration>
  330. </execution>
  331. </executions>
  332. </plugin>
  333. <plugin>
  334. <groupId>org.apache.maven.plugins</groupId>
  335. <artifactId>maven-surefire-plugin</artifactId>
  336. <configuration>
  337. <systemPropertyVariables>
  338. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  339. </systemPropertyVariables>
  340. </configuration>
  341. </plugin>
  342. </plugins>
  343. <pluginManagement>
  344. <plugins>
  345. <plugin>
  346. <groupId>org.apache.rat</groupId>
  347. <artifactId>apache-rat-plugin</artifactId>
  348. <configuration>
  349. <excludes>
  350. <!-- TODO: move repo into a subdirectory -->
  351. <exclude>src/test/resources/com/**</exclude>
  352. <exclude>src/test/resources/commons-io/**</exclude>
  353. <exclude>src/test/resources/test-repo/**</exclude>
  354. <exclude>src/test/resources/m1-repo-filelist.txt</exclude>
  355. <exclude>src/test/repositories/**</exclude>
  356. <exclude>src/test/expected-poms/**</exclude>
  357. <exclude>src/test/resources/resolver-status.properties</exclude>
  358. <exclude>src/test/resources/test01.properties</exclude>
  359. <exclude>src/test/resources/target-repo/**</exclude>
  360. <exclude>src/test/resources/test-repository-with-conflict-artifacts/**</exclude>
  361. </excludes>
  362. </configuration>
  363. </plugin>
  364. </plugins>
  365. </pluginManagement>
  366. </build>
  367. <profiles>
  368. <profile>
  369. <id>jdk9+</id>
  370. <activation>
  371. <jdk>[1.9,)</jdk>
  372. </activation>
  373. <dependencies>
  374. <!-- Needed for JDK >= 9 -->
  375. <dependency>
  376. <groupId>javax.annotation</groupId>
  377. <artifactId>javax.annotation-api</artifactId>
  378. <scope>test</scope>
  379. </dependency>
  380. <dependency>
  381. <groupId>javax.xml.bind</groupId>
  382. <artifactId>jaxb-api</artifactId>
  383. <scope>test</scope>
  384. </dependency>
  385. </dependencies>
  386. </profile>
  387. </profiles>
  388. </project>