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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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-repository-layer</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: Repository Interface Layer</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>commons-lang</groupId>
  33. <artifactId>commons-lang</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.archiva</groupId>
  37. <artifactId>archiva-model</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>archiva-checksum</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.archiva</groupId>
  45. <artifactId>archiva-repository-api</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.archiva</groupId>
  49. <artifactId>archiva-configuration</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.archiva</groupId>
  53. <artifactId>archiva-xml-tools</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.archiva</groupId>
  57. <artifactId>archiva-maven2-metadata</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-context</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>xmlunit</groupId>
  65. <artifactId>xmlunit</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.archiva</groupId>
  70. <artifactId>archiva-test-utils</artifactId>
  71. <version>${project.version}</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.archiva</groupId>
  76. <artifactId>metadata-model</artifactId>
  77. </dependency>
  78. <!--dependency>
  79. <groupId>org.apache.archiva</groupId>
  80. <artifactId>maven2-repository</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>commons-logging</groupId>
  84. <artifactId>commons-logging-api</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>log4j</groupId>
  88. <artifactId>log4j</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency-->
  92. <dependency>
  93. <groupId>org.apache.maven.wagon</groupId>
  94. <artifactId>wagon-http</artifactId>
  95. <scope>provided</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.maven.wagon</groupId>
  99. <artifactId>wagon-http-lightweight</artifactId>
  100. <scope>provided</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.cronutils</groupId>
  104. <artifactId>cron-utils</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.logging.log4j</groupId>
  108. <artifactId>log4j-slf4j-impl</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.logging.log4j</groupId>
  113. <artifactId>log4j-1.2-api</artifactId>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.logging.log4j</groupId>
  118. <artifactId>log4j-core</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.logging.log4j</groupId>
  123. <artifactId>log4j-jcl</artifactId>
  124. <scope>test</scope>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.apache.felix</groupId>
  131. <artifactId>maven-bundle-plugin</artifactId>
  132. <configuration>
  133. <instructions>
  134. <Bundle-SymbolicName>org.apache.archiva.repository.layer</Bundle-SymbolicName>
  135. <Bundle-Version>${project.version}</Bundle-Version>
  136. <Export-Package>
  137. org.apache.archiva.repository;version=${project.version};-split-package:=merge-first,
  138. org.apache.archiva.repository.connector;version=${project.version};-split-package:=merge-first,
  139. org.apache.archiva.repository.content;version=${project.version};-split-package:=merge-first,
  140. org.apache.archiva.repository.layout;version=${project.version};-split-package:=merge-first,
  141. org.apache.archiva.repository.metadata;version=${project.version};-split-package:=merge-first
  142. </Export-Package>
  143. <Import-Package>
  144. javax.annotation,
  145. javax.inject,
  146. org.apache.archiva.model*;version=${project.version},
  147. org.apache.archiva.maven2.metadata*;version=${project.version},
  148. org.apache.archiva.common*;version=${project.version},
  149. org.apache.archiva.checksum;version=${project.version},
  150. org.apache.archiva.configuration;version=${project.version},
  151. org.apache.archiva.xml;version=${project.version},
  152. org.apache.commons.collections;version="[3.2,4)",
  153. org.apache.commons.io;version="[1.4,2)",
  154. org.apache.commons.lang*;version="[2.4,3)",
  155. org.springframework*;version="[3,4)",
  156. org.dom4j;version="[1.6,2)",
  157. org.apache.archiva.redback.components.registry,
  158. org.slf4j;resolution:=optional
  159. </Import-Package>
  160. </instructions>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-surefire-plugin</artifactId>
  166. <configuration>
  167. <systemPropertyVariables>
  168. <basedir>${basedir}</basedir>
  169. <appserver.base>${project.build.directory}/test-classes</appserver.base>
  170. </systemPropertyVariables>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. </build>
  175. </project>