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

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