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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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"
  21. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  23. <modelVersion>4.0.0</modelVersion>
  24. <groupId>${groupId}</groupId>
  25. <artifactId>${artifactId}</artifactId>
  26. <version>${version}</version>
  27. <name>Simple Archiva Consumer</name>
  28. <description>
  29. This is a simple consumer component which demonstrates how a
  30. component can be plugged in Archiva.
  31. </description>
  32. <properties>
  33. <archiva.version>${archivaVersion}</archiva.version>
  34. <slf4j.version>${slf4jVersion}</slf4j.version>
  35. <log4j.version>${log4jVersion}</log4j.version>
  36. <spring.version>${springVersion}</spring.version>
  37. <springockito.version>${springockitoVersion}</springockito.version>
  38. <mockito.version>${mockitoVersion}</mockito.version>
  39. <httpclient.version>${httpclientVersion}</httpclient.version>
  40. <httpclient.core.version>${httpcoreVersion}</httpclient.core.version>
  41. <archiva.comp.version>${archivaCompVersion}</archiva.comp.version>
  42. <commons.beanutils.version>${beanUtilsVersion}</commons.beanutils.version>
  43. <maven.wagon.version>${mavenWagonVersion}</maven.wagon.version>
  44. <archiva.comp.version>${archivaCompVersion}</archiva.comp.version>
  45. <jakarta.inject.version>${jakartaInjectVersion}</jakarta.inject.version>
  46. <jakarta.annotation.version>${jakartaAnnotationVersion}</jakarta.annotation.version>
  47. </properties>
  48. <dependencies>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>archiva-consumer-api</artifactId>
  52. <version>${archiva.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.archiva.configuration</groupId>
  56. <artifactId>archiva-configuration-provider</artifactId>
  57. <version>${archiva.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.archiva</groupId>
  61. <artifactId>archiva-model</artifactId>
  62. <version>${archiva.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.archiva</groupId>
  66. <artifactId>archiva-repository-api</artifactId>
  67. <version>${archiva.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>metadata-repository-api</artifactId>
  72. <version>${archiva.version}</version>
  73. </dependency>
  74. <!-- Test scope -->
  75. <dependency>
  76. <groupId>org.apache.archiva</groupId>
  77. <artifactId>archiva-proxy</artifactId>
  78. <version>${archiva.version}</version>
  79. <scope>test</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.archiva.maven</groupId>
  83. <artifactId>archiva-maven-proxy</artifactId>
  84. <version>${archiva.version}</version>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.archiva.components</groupId>
  89. <artifactId>archiva-components-spring-quartz</artifactId>
  90. <version>${archiva.comp.version}</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.archiva</groupId>
  95. <artifactId>archiva-scheduler-repository</artifactId>
  96. <version>${archivaVersion}</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.maven.wagon</groupId>
  101. <artifactId>wagon-http</artifactId>
  102. <version>${maven.wagon.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.maven.wagon</groupId>
  107. <artifactId>wagon-http-lightweight</artifactId>
  108. <version>${maven.wagon.version}</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.archiva</groupId>
  113. <artifactId>repository-statistics</artifactId>
  114. <version>${archiva.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.archiva.components.cache</groupId>
  118. <artifactId>archiva-components-spring-cache-ehcache</artifactId>
  119. <version>${archiva.comp.version}</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.archiva</groupId>
  124. <artifactId>archiva-mock</artifactId>
  125. <version>${archiva.version}</version>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.archiva.maven</groupId>
  130. <artifactId>archiva-maven-indexer</artifactId>
  131. <version>${archiva.version}</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.archiva.components.registry</groupId>
  136. <artifactId>archiva-components-spring-registry-api</artifactId>
  137. <version>${archiva.comp.version}</version>
  138. <exclusions>
  139. <exclusion>
  140. <groupId>commons-logging</groupId>
  141. <artifactId>commons-logging</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.slf4j</groupId>
  147. <artifactId>slf4j-api</artifactId>
  148. <version>${slf4j.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>jakarta.inject</groupId>
  152. <artifactId>jakarta.inject-api</artifactId>
  153. <version>${jakarta.inject.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>jakarta.annotation</groupId>
  157. <artifactId>jakarta.annotation-api</artifactId>
  158. <version>${jakarta.annotation.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework</groupId>
  162. <artifactId>spring-beans</artifactId>
  163. <version>${spring.version}</version>
  164. <exclusions>
  165. <exclusion>
  166. <groupId>commons-logging</groupId>
  167. <artifactId>commons-logging</artifactId>
  168. </exclusion>
  169. </exclusions>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework</groupId>
  173. <artifactId>spring-context</artifactId>
  174. <version>${spring.version}</version>
  175. <exclusions>
  176. <exclusion>
  177. <groupId>commons-logging</groupId>
  178. <artifactId>commons-logging</artifactId>
  179. </exclusion>
  180. </exclusions>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-context-support</artifactId>
  185. <version>${spring.version}</version>
  186. <exclusions>
  187. <exclusion>
  188. <groupId>commons-logging</groupId>
  189. <artifactId>commons-logging</artifactId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework</groupId>
  195. <artifactId>spring-core</artifactId>
  196. <version>${spring.version}</version>
  197. <exclusions>
  198. <exclusion>
  199. <groupId>commons-logging</groupId>
  200. <artifactId>commons-logging</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>commons-beanutils</groupId>
  206. <artifactId>commons-beanutils</artifactId>
  207. <version>${commons.beanutils.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>junit</groupId>
  211. <artifactId>junit</artifactId>
  212. <version>4.12</version>
  213. <scope>test</scope>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.springframework</groupId>
  217. <artifactId>spring-test</artifactId>
  218. <version>${spring.version}</version>
  219. <exclusions>
  220. <exclusion>
  221. <groupId>commons-logging</groupId>
  222. <artifactId>commons-logging</artifactId>
  223. </exclusion>
  224. </exclusions>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.slf4j</groupId>
  228. <artifactId>jcl-over-slf4j</artifactId>
  229. <version>${slf4j.version}</version>
  230. <scope>test</scope>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.archiva.maven</groupId>
  234. <artifactId>archiva-maven-repository</artifactId>
  235. <version>${archiva.version}</version>
  236. <scope>test</scope>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.archiva</groupId>
  240. <artifactId>metadata-store-file</artifactId>
  241. <version>${archiva.version}</version>
  242. <scope>test</scope>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.logging.log4j</groupId>
  246. <artifactId>log4j-core</artifactId>
  247. <version>${log4j.version}</version>
  248. <scope>test</scope>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.logging.log4j</groupId>
  252. <artifactId>log4j-slf4j-impl</artifactId>
  253. <version>${log4j.version}</version>
  254. <scope>test</scope>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.kubek2k</groupId>
  258. <artifactId>springockito</artifactId>
  259. <version>${springockito.version}</version>
  260. <scope>test</scope>
  261. </dependency>
  262. </dependencies>
  263. <!-- match up with those used by Archiva -->
  264. <dependencyManagement>
  265. <dependencies>
  266. <dependency>
  267. <groupId>org.mockito</groupId>
  268. <artifactId>mockito-core</artifactId>
  269. <version>${mockito.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.httpcomponents</groupId>
  273. <artifactId>httpclient</artifactId>
  274. <version>${httpclient.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.httpcomponents</groupId>
  278. <artifactId>httpcore</artifactId>
  279. <version>${httpclient.core.version}</version>
  280. </dependency>
  281. </dependencies>
  282. </dependencyManagement>
  283. <build>
  284. <pluginManagement>
  285. <plugins>
  286. <plugin>
  287. <groupId>org.apache.maven.plugins</groupId>
  288. <artifactId>maven-clean-plugin</artifactId>
  289. <version>2.6.1</version>
  290. </plugin>
  291. <plugin>
  292. <groupId>org.apache.maven.plugins</groupId>
  293. <artifactId>maven-compiler-plugin</artifactId>
  294. <version>3.7.0</version>
  295. </plugin>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-resources-plugin</artifactId>
  299. <version>2.7</version>
  300. </plugin>
  301. <plugin>
  302. <groupId>org.apache.maven.plugins</groupId>
  303. <artifactId>maven-jar-plugin</artifactId>
  304. <version>3.0.0</version>
  305. </plugin>
  306. <plugin>
  307. <groupId>org.apache.maven.plugins</groupId>
  308. <artifactId>maven-surefire-plugin</artifactId>
  309. <version>2.22.1</version>
  310. <configuration>
  311. <systemPropertyVariables>
  312. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  313. </systemPropertyVariables>
  314. </configuration>
  315. </plugin>
  316. </plugins>
  317. </pluginManagement>
  318. <plugins>
  319. <plugin>
  320. <groupId>org.apache.maven.plugins</groupId>
  321. <artifactId>maven-compiler-plugin</artifactId>
  322. <configuration>
  323. <source>1.8</source>
  324. <target>1.8</target>
  325. </configuration>
  326. </plugin>
  327. </plugins>
  328. </build>
  329. <!--repositories>
  330. <repository>
  331. <id>archiva.snapshots</id>
  332. <name>Archiva VM Snapshots Repository</name>
  333. <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
  334. <releases>
  335. <enabled>false</enabled>
  336. </releases>
  337. <snapshots>
  338. <enabled>true</enabled>
  339. </snapshots>
  340. </repository>
  341. </repositories-->
  342. </project>