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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0"?>
  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"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>org.apache.archiva.maven</groupId>
  25. <artifactId>archiva-maven</artifactId>
  26. <version>3.0.0-SNAPSHOT</version>
  27. </parent>
  28. <artifactId>archiva-maven-proxy</artifactId>
  29. <name>Archiva :: Maven :: Proxy</name>
  30. <properties>
  31. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.apache.archiva.maven</groupId>
  36. <artifactId>archiva-maven-common</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.archiva</groupId>
  40. <artifactId>archiva-proxy</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>jakarta.servlet</groupId>
  44. <artifactId>jakarta.servlet-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.archiva</groupId>
  48. <artifactId>archiva-storage-api</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.archiva</groupId>
  52. <artifactId>archiva-storage-fs</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.archiva</groupId>
  56. <artifactId>archiva-policies</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.archiva.components.registry</groupId>
  60. <artifactId>archiva-components-spring-registry-api</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.archiva</groupId>
  64. <artifactId>archiva-repository-api</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.archiva</groupId>
  68. <artifactId>archiva-repository-layer</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.archiva</groupId>
  72. <artifactId>archiva-proxy-api</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.archiva</groupId>
  76. <artifactId>archiva-model</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.archiva.configuration</groupId>
  80. <artifactId>archiva-configuration-provider</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.archiva</groupId>
  84. <artifactId>archiva-scheduler-repository-api</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.archiva</groupId>
  88. <artifactId>archiva-common</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.archiva</groupId>
  92. <artifactId>metadata-model</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.archiva</groupId>
  96. <artifactId>archiva-filelock</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.archiva.components</groupId>
  100. <artifactId>archiva-components-spring-taskqueue</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.maven.wagon</groupId>
  104. <artifactId>wagon-provider-api</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.commons</groupId>
  108. <artifactId>commons-lang3</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-io</groupId>
  112. <artifactId>commons-io</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>jakarta.inject</groupId>
  116. <artifactId>jakarta.inject-api</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>jakarta.annotation</groupId>
  120. <artifactId>jakarta.annotation-api</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework</groupId>
  124. <artifactId>spring-context</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-test</artifactId>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.ehcache</groupId>
  133. <artifactId>ehcache</artifactId>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.maven.wagon</groupId>
  138. <artifactId>wagon-file</artifactId>
  139. <scope>test</scope>
  140. </dependency>
  141. <!-- currently these are runtime as it's declared in the spring context
  142. file, but is it necessary? -->
  143. <dependency>
  144. <groupId>org.apache.maven.wagon</groupId>
  145. <artifactId>wagon-http-lightweight</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.maven.wagon</groupId>
  150. <artifactId>wagon-http</artifactId>
  151. <scope>test</scope>
  152. <exclusions>
  153. <exclusion>
  154. <groupId>commons-logging</groupId>
  155. <artifactId>commons-logging</artifactId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <!-- Test scope -->
  160. <dependency>
  161. <groupId>org.mockito</groupId>
  162. <artifactId>mockito-core</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>jakarta.persistence</groupId>
  167. <artifactId>jakarta.persistence-api</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.archiva.components</groupId>
  172. <artifactId>archiva-components-spring-quartz</artifactId>
  173. <scope>test</scope>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.archiva.maven</groupId>
  177. <artifactId>archiva-maven-metadata</artifactId>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.xmlunit</groupId>
  182. <artifactId>xmlunit-core</artifactId>
  183. <scope>test</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>jakarta.transaction</groupId>
  187. <artifactId>jakarta.transaction-api</artifactId>
  188. <scope>test</scope>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.archiva.redback</groupId>
  192. <artifactId>redback-common-jpa</artifactId>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.apache.openjpa</groupId>
  197. <artifactId>openjpa</artifactId>
  198. <scope>test</scope>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.eclipse.jetty</groupId>
  202. <artifactId>jetty-server</artifactId>
  203. <scope>test</scope>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.apache.archiva</groupId>
  207. <artifactId>archiva-test-utils</artifactId>
  208. <scope>test</scope>
  209. </dependency>
  210. </dependencies>
  211. <build>
  212. <pluginManagement>
  213. <plugins>
  214. <plugin>
  215. <groupId>org.apache.rat</groupId>
  216. <artifactId>apache-rat-plugin</artifactId>
  217. <configuration>
  218. <excludes>
  219. <exclude>src/test/repositories/**</exclude>
  220. </excludes>
  221. </configuration>
  222. </plugin>
  223. </plugins>
  224. </pluginManagement>
  225. <plugins>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-surefire-plugin</artifactId>
  229. <configuration>
  230. <systemPropertyVariables>
  231. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  232. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  233. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  234. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  235. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  236. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  237. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  238. </systemPropertyVariables>
  239. </configuration>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. <!--
  244. The jaxb dependency is needed by the enunciate plugin starting with JDK9.
  245. Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
  246. Using provided scope to avoid adding it to packaging.
  247. -->
  248. <profiles>
  249. <profile>
  250. <id>jdk9+</id>
  251. <activation>
  252. <jdk>[1.9,)</jdk>
  253. </activation>
  254. <dependencies>
  255. <dependency>
  256. <groupId>jakarta.xml.bind</groupId>
  257. <artifactId>jakarta.xml.bind-api</artifactId>
  258. </dependency>
  259. </dependencies>
  260. </profile>
  261. </profiles>
  262. </project>