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.

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