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

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