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

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