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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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-web</artifactId>
  24. <version>2.2.0-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-security</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Web :: Security Configuration</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.archiva</groupId>
  33. <artifactId>archiva-configuration</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.archiva</groupId>
  37. <artifactId>archiva-repository-admin-api</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>archiva-security-common</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>javax.inject</groupId>
  45. <artifactId>javax.inject</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>javax.servlet</groupId>
  49. <artifactId>servlet-api</artifactId>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.archiva.redback</groupId>
  58. <artifactId>redback-system</artifactId>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.apache.archiva.redback</groupId>
  62. <artifactId>plexus-spring</artifactId>
  63. </exclusion>
  64. <exclusion>
  65. <groupId>org.codehaus.plexus.registry</groupId>
  66. <artifactId>plexus-registry-api</artifactId>
  67. </exclusion>
  68. <exclusion>
  69. <groupId>org.codehaus.plexus.registry</groupId>
  70. <artifactId>plexus-registry-commons</artifactId>
  71. </exclusion>
  72. <exclusion>
  73. <groupId>net.sf.ehcache</groupId>
  74. <artifactId>ehcache</artifactId>
  75. </exclusion>
  76. <exclusion>
  77. <groupId>org.codehaus.plexus.cache</groupId>
  78. <artifactId>plexus-cache-ehcache</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>org.codehaus.plexus.cache</groupId>
  82. <artifactId>plexus-cache-api</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>org.codehaus.plexus</groupId>
  86. <artifactId>plexus-component-api</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.archiva.redback</groupId>
  92. <artifactId>redback-rbac-model</artifactId>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.codehaus.plexus</groupId>
  96. <artifactId>plexus-component-api</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.archiva.redback</groupId>
  102. <artifactId>redback-rbac-role-manager</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.google.guava</groupId>
  106. <artifactId>guava</artifactId>
  107. </dependency>
  108. <!-- Test Scoped -->
  109. <dependency>
  110. <groupId>org.apache.archiva.redback</groupId>
  111. <artifactId>redback-authorization-rbac</artifactId>
  112. <scope>test</scope>
  113. <exclusions>
  114. <exclusion>
  115. <groupId>net.sf.ehcache</groupId>
  116. <artifactId>ehcache</artifactId>
  117. </exclusion>
  118. <exclusion>
  119. <groupId>org.codehaus.plexus.cache</groupId>
  120. <artifactId>plexus-cache-ehcache</artifactId>
  121. </exclusion>
  122. <exclusion>
  123. <groupId>org.codehaus.plexus.cache</groupId>
  124. <artifactId>plexus-cache-api</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.archiva.redback</groupId>
  130. <artifactId>redback-keys-memory</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.archiva.redback</groupId>
  135. <artifactId>redback-users-memory</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.archiva.redback</groupId>
  140. <artifactId>redback-rbac-memory</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.slf4j</groupId>
  145. <artifactId>slf4j-simple</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.archiva</groupId>
  150. <artifactId>archiva-test-utils</artifactId>
  151. <version>${project.version}</version>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.derby</groupId>
  156. <artifactId>derby</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-test</artifactId>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.archiva.redback</groupId>
  166. <artifactId>redback-common-test-resources</artifactId>
  167. <scope>test</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.archiva</groupId>
  171. <artifactId>archiva-repository-admin-default</artifactId>
  172. <scope>test</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.apache.maven.wagon</groupId>
  176. <artifactId>wagon-http</artifactId>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.maven.wagon</groupId>
  181. <artifactId>wagon-http-lightweight</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.archiva</groupId>
  186. <artifactId>metadata-repository-api</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.archiva</groupId>
  191. <artifactId>metadata-store-file</artifactId>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>xerces</groupId>
  196. <artifactId>xercesImpl</artifactId>
  197. <scope>test</scope>
  198. </dependency>
  199. </dependencies>
  200. <build>
  201. <plugins>
  202. <plugin>
  203. <groupId>org.apache.felix</groupId>
  204. <artifactId>maven-bundle-plugin</artifactId>
  205. <configuration>
  206. <instructions>
  207. <Bundle-SymbolicName>org.apache.archiva.security</Bundle-SymbolicName>
  208. <Bundle-Version>${project.version}</Bundle-Version>
  209. <Export-Package>
  210. org.apache.archiva.security;version=${project.version};-split-package:=merge-first
  211. </Export-Package>
  212. <Import-Package>
  213. com.google.common.collect,
  214. javax.inject,
  215. javax.servlet.http,
  216. org.apache.archiva.common;version=${project.version},
  217. org.apache.archiva.admin.model;version=${project.version},
  218. org.apache.archiva.admin.model.beans;version=${project.version},
  219. org.apache.archiva.admin.model.managed;version=${project.version},
  220. org.apache.archiva.configuration;version=${project.version},
  221. org.apache.archiva.redback.authentication,
  222. org.apache.archiva.redback.authorization,
  223. org.apache.archiva.redback.policy,
  224. org.apache.archiva.redback.rbac,
  225. org.apache.archiva.redback.system*,
  226. org.apache.archiva.redback.users,
  227. org.apache.archiva.redback.role,
  228. org.springframework*;version="[3,4)",
  229. org.slf4j;resolution:=optional
  230. </Import-Package>
  231. </instructions>
  232. </configuration>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-surefire-plugin</artifactId>
  237. <configuration>
  238. <systemPropertyVariables>
  239. <basedir>${basedir}</basedir>
  240. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  241. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  242. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  243. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  244. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  245. <archiva.repositorySessionFactory.id>file</archiva.repositorySessionFactory.id>
  246. </systemPropertyVariables>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. </project>