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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>plugins</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>maven2-repository</artifactId>
  28. <name>Archiva Core Plugins :: Maven 2.x Repository Support</name>
  29. <properties>
  30. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.archiva</groupId>
  35. <artifactId>metadata-model</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>metadata-model-maven2</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>metadata-repository-api</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>archiva-maven2-metadata</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>archiva-proxy-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva</groupId>
  55. <artifactId>archiva-proxy-common</artifactId>
  56. <exclusions>
  57. <exclusion>
  58. <groupId>commons-logging</groupId>
  59. <artifactId>commons-logging-api</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.eclipse.sisu</groupId>
  65. <artifactId>org.eclipse.sisu.plexus</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.google.inject</groupId>
  69. <artifactId>guice</artifactId>
  70. <classifier>no_aop</classifier>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>archiva-plexus-bridge</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-logging</groupId>
  78. <artifactId>commons-logging</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.maven</groupId>
  83. <artifactId>maven-model-builder</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.maven</groupId>
  87. <artifactId>maven-artifact</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.maven</groupId>
  91. <artifactId>maven-artifact-manager</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.maven</groupId>
  95. <artifactId>maven-repository-metadata</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.maven</groupId>
  99. <artifactId>maven-model</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.maven.resolver</groupId>
  103. <artifactId>maven-resolver</artifactId>
  104. <type>pom</type>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.maven.resolver</groupId>
  108. <artifactId>maven-resolver-transport-file</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.maven.resolver</groupId>
  112. <artifactId>maven-resolver-connector-basic</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.archiva</groupId>
  116. <artifactId>archiva-configuration</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.archiva</groupId>
  120. <artifactId>archiva-maven2-model</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.maven.wagon</groupId>
  124. <artifactId>wagon-provider-api</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.modelmapper</groupId>
  128. <artifactId>modelmapper</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.maven.wagon</groupId>
  132. <artifactId>wagon-http</artifactId>
  133. <scope>provided</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.maven.wagon</groupId>
  137. <artifactId>wagon-http-lightweight</artifactId>
  138. <scope>provided</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-test</artifactId>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.archiva</groupId>
  147. <artifactId>test-repository</artifactId>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.archiva</groupId>
  152. <artifactId>archiva-mock</artifactId>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.archiva</groupId>
  157. <artifactId>archiva-test-utils</artifactId>
  158. <version>${project.version}</version>
  159. <scope>test</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.mockito</groupId>
  163. <artifactId>mockito-all</artifactId>
  164. <scope>test</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.assertj</groupId>
  168. <artifactId>assertj-core</artifactId>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.logging.log4j</groupId>
  173. <artifactId>log4j-1.2-api</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>xerces</groupId>
  177. <artifactId>xercesImpl</artifactId>
  178. <scope>test</scope>
  179. </dependency>
  180. <!-- Needed for JDK >= 9 -->
  181. <dependency>
  182. <groupId>javax.annotation</groupId>
  183. <artifactId>javax.annotation-api</artifactId>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>javax.xml.bind</groupId>
  188. <artifactId>jaxb-api</artifactId>
  189. <scope>test</scope>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.ow2.asm</groupId>
  193. <artifactId>asm</artifactId>
  194. <scope>test</scope>
  195. </dependency>
  196. </dependencies>
  197. <build>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-dependency-plugin</artifactId>
  202. <executions>
  203. <execution>
  204. <id>test-repository</id>
  205. <phase>process-test-classes</phase>
  206. <goals>
  207. <goal>unpack-dependencies</goal>
  208. </goals>
  209. <configuration>
  210. <includeArtifactIds>test-repository</includeArtifactIds>
  211. <outputDirectory>target/test-repository</outputDirectory>
  212. <excludes>META-INF/**</excludes>
  213. </configuration>
  214. </execution>
  215. </executions>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-surefire-plugin</artifactId>
  220. <configuration>
  221. <systemPropertyVariables>
  222. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  223. </systemPropertyVariables>
  224. </configuration>
  225. </plugin>
  226. </plugins>
  227. <pluginManagement>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.apache.rat</groupId>
  231. <artifactId>apache-rat-plugin</artifactId>
  232. <configuration>
  233. <excludes>
  234. <!-- TODO: move repo into a subdirectory -->
  235. <exclude>src/test/resources/com/**</exclude>
  236. <exclude>src/test/resources/commons-io/**</exclude>
  237. <exclude>src/test/resources/test-repo/**</exclude>
  238. <exclude>src/test/resources/m1-repo-filelist.txt</exclude>
  239. <exclude>src/test/repositories/**</exclude>
  240. <exclude>src/test/expected-poms/**</exclude>
  241. <exclude>src/test/resources/resolver-status.properties</exclude>
  242. <exclude>src/test/resources/test01.properties</exclude>
  243. </excludes>
  244. </configuration>
  245. </plugin>
  246. </plugins>
  247. </pluginManagement>
  248. </build>
  249. </project>