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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. <artifactId>plugins</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>2.2.10-SNAPSHOT</version>
  26. </parent>
  27. <groupId>org.apache.archiva</groupId>
  28. <artifactId>stage-repository-merge</artifactId>
  29. <packaging>bundle</packaging>
  30. <name>Archiva Core Plugins :: Stage Repository Merge</name>
  31. <dependencies>
  32. <dependency>
  33. <groupId>junit</groupId>
  34. <artifactId>junit</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>metadata-repository-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>archiva-repository-layer</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>maven2-repository</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>log4j</groupId>
  51. <artifactId>log4j</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>commons-logging</groupId>
  55. <artifactId>commons-logging-api</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.archiva</groupId>
  61. <artifactId>archiva-model</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.archiva</groupId>
  65. <artifactId>metadata-store-jcr</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mockito</groupId>
  69. <artifactId>mockito-all</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>test-repository</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.logging.log4j</groupId>
  79. <artifactId>log4j-1.2-api</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.logging.log4j</groupId>
  84. <artifactId>log4j-slf4j-impl</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.maven.wagon</groupId>
  89. <artifactId>wagon-http</artifactId>
  90. <scope>test</scope>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>commons-logging</groupId>
  94. <artifactId>commons-logging</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.maven.wagon</groupId>
  100. <artifactId>wagon-http-lightweight</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.archiva</groupId>
  105. <artifactId>archiva-test-utils</artifactId>
  106. <version>${project.version}</version>
  107. <scope>test</scope>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>org.slf4j</groupId>
  111. <artifactId>slf4j-simple</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <dependency>
  116. <groupId>xerces</groupId>
  117. <artifactId>xercesImpl</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. </dependencies>
  121. <build>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.apache.felix</groupId>
  125. <artifactId>maven-bundle-plugin</artifactId>
  126. <configuration>
  127. <instructions>
  128. <Bundle-SymbolicName>org.apache.archiva.stagerepository.merge</Bundle-SymbolicName>
  129. <Bundle-Version>${project.version}</Bundle-Version>
  130. <Export-Package>
  131. org.apache.archiva.stagerepository.merge;version=${project.version}
  132. </Export-Package>
  133. <Import-Package>
  134. javax.inject,
  135. org.apache.archiva.common.utils;version=${project.version},
  136. org.apache.archiva.configuration;version=${project.version},
  137. org.apache.archiva.metadata.*;version=${project.version},
  138. org.apache.archiva.model;version=${project.version},
  139. org.apache.archiva.repository*;version=${project.version},
  140. org.apache.archiva.maven2.metadata*;version=${project.version},
  141. org.apache.archiva.xml*;version=${project.version},
  142. org.apache.commons.io;version="[1.4,2)",
  143. org.springframework*;version="[3,4)",
  144. org.slf4j;resolution:=optional
  145. </Import-Package>
  146. </instructions>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-dependency-plugin</artifactId>
  152. <executions>
  153. <execution>
  154. <id>test-repository</id>
  155. <phase>generate-test-resources</phase>
  156. <goals>
  157. <goal>unpack-dependencies</goal>
  158. </goals>
  159. <configuration>
  160. <includeArtifactIds>test-repository</includeArtifactIds>
  161. <outputDirectory>target/test-repository</outputDirectory>
  162. <excludes>META-INF/**</excludes>
  163. </configuration>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. </plugins>
  168. <pluginManagement>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.codehaus.plexus</groupId>
  172. <artifactId>plexus-component-metadata</artifactId>
  173. <version>1.0-beta-3.0.5</version>
  174. <executions>
  175. <execution>
  176. <id>process-classes</id>
  177. <goals>
  178. <goal>generate-metadata</goal>
  179. </goals>
  180. </execution>
  181. <execution>
  182. <id>process-test-classes</id>
  183. <goals>
  184. <goal>generate-test-metadata</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.rat</groupId>
  191. <artifactId>apache-rat-plugin</artifactId>
  192. <configuration>
  193. <excludes>
  194. <exclude>src/test/resources/target-repo/**</exclude>
  195. <exclude>src/test/resources/test-repository-with-conflict-artifacts/**</exclude>
  196. </excludes>
  197. </configuration>
  198. </plugin>
  199. </plugins>
  200. </pluginManagement>
  201. </build>
  202. </project>