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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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/maven-v4_0_0.xsd">
  21. <parent>
  22. <groupId>org.apache.archiva</groupId>
  23. <artifactId>archiva-base</artifactId>
  24. <version>2.2.11-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-indexer</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: Indexer</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.archiva</groupId>
  33. <artifactId>archiva-repository-admin-api</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.archiva</groupId>
  37. <artifactId>archiva-common</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-context</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-context-support</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.lucene</groupId>
  49. <artifactId>lucene-core</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.lucene</groupId>
  53. <artifactId>lucene-queries</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.codehaus.plexus</groupId>
  57. <artifactId>plexus-utils</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.google.guava</groupId>
  61. <artifactId>guava</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.codehaus.plexus</groupId>
  65. <artifactId>plexus-digest</artifactId>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>org.codehaus.plexus</groupId>
  69. <artifactId>plexus-component-api</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>commons-lang</groupId>
  75. <artifactId>commons-lang</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-io</groupId>
  79. <artifactId>commons-io</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.maven.indexer</groupId>
  83. <artifactId>indexer-core</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.eclipse.sisu</groupId>
  87. <artifactId>org.eclipse.sisu.plexus</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.google.inject</groupId>
  91. <artifactId>guice</artifactId>
  92. <classifier>no_aop</classifier>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.archiva</groupId>
  96. <artifactId>archiva-plexus-bridge</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.archiva</groupId>
  100. <artifactId>archiva-scheduler-repository</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>javax.inject</groupId>
  104. <artifactId>javax.inject</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.archiva</groupId>
  108. <artifactId>archiva-mock</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.archiva</groupId>
  113. <artifactId>archiva-configuration</artifactId>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.archiva</groupId>
  118. <artifactId>archiva-repository-admin-default</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.archiva</groupId>
  123. <artifactId>archiva-test-utils</artifactId>
  124. <version>${project.version}</version>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.derby</groupId>
  129. <artifactId>derby</artifactId>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.archiva.redback</groupId>
  134. <artifactId>redback-keys-memory</artifactId>
  135. <scope>test</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.archiva.redback</groupId>
  139. <artifactId>redback-rbac-cached</artifactId>
  140. <scope>test</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.archiva.redback</groupId>
  144. <artifactId>redback-rbac-memory</artifactId>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.archiva.redback</groupId>
  149. <artifactId>redback-users-memory</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.archiva.redback</groupId>
  154. <artifactId>redback-common-test-resources</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.maven.wagon</groupId>
  159. <artifactId>wagon-http-lightweight</artifactId>
  160. <scope>provided</scope>
  161. </dependency>
  162. </dependencies>
  163. <build>
  164. <pluginManagement>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.apache.rat</groupId>
  168. <artifactId>apache-rat-plugin</artifactId>
  169. <configuration>
  170. <excludes>
  171. <exclude>src/test/maven-search-test-repo*/**</exclude>
  172. <exclude>src/test/repo-release*/**</exclude>
  173. </excludes>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </pluginManagement>
  178. <plugins>
  179. <plugin>
  180. <groupId>org.apache.felix</groupId>
  181. <artifactId>maven-bundle-plugin</artifactId>
  182. <configuration>
  183. <instructions>
  184. <Bundle-SymbolicName>org.apache.archiva.indexer</Bundle-SymbolicName>
  185. <Bundle-Version>${project.version}</Bundle-Version>
  186. <Export-Package>
  187. org.apache.archiva.indexer.*;version=${project.version};-split-package:=merge-first
  188. </Export-Package>
  189. <Import-Package>
  190. javax.annotation,
  191. javax.inject,
  192. com.google.common.io,
  193. org.apache.archiva.admin.model*;version=${project.version},
  194. org.apache.archiva.common.plexusbridge;version=${project.version},
  195. org.apache.commons.io;version="[1.4,2)",
  196. org.apache.commons.lang*;version="[2.4,3)",
  197. org.apache.lucene*;version="[3,4)",
  198. org.springframework*;version="[3,4)",
  199. org.apache.maven.index*,
  200. org.apache.archiva.redback.components.scheduler,
  201. org.quartz,
  202. org.apache.archiva.scheduler,
  203. org.slf4j;resolution:=optional
  204. </Import-Package>
  205. </instructions>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-surefire-plugin</artifactId>
  211. <configuration>
  212. <systemPropertyVariables>
  213. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  214. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  215. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  216. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  217. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  218. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  219. </systemPropertyVariables>
  220. </configuration>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. </project>