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

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