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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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.0</version>
  26. </parent>
  27. <artifactId>metadata-store-jcr</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Core Plugins :: JCR Storage for Metadata</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.archiva</groupId>
  33. <artifactId>metadata-repository-api</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>commons-lang</groupId>
  37. <artifactId>commons-lang</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>metadata-repository-api</artifactId>
  42. <classifier>tests</classifier>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>archiva-test-utils</artifactId>
  48. <version>${project.version}</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>javax.jcr</groupId>
  53. <artifactId>jcr</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.jackrabbit</groupId>
  57. <artifactId>jackrabbit-jcr-commons</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.jackrabbit</groupId>
  61. <artifactId>jackrabbit-core</artifactId>
  62. <scope>provided</scope>
  63. <!-- could trim more, but since it's just for test we don't need to worry -->
  64. <exclusions>
  65. <exclusion>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>jcl-over-slf4j</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.logging.log4j</groupId>
  73. <artifactId>log4j-jcl</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.archiva</groupId>
  82. <artifactId>generic-metadata-support</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.archiva</groupId>
  87. <artifactId>maven2-repository</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.assertj</groupId>
  92. <artifactId>assertj-core</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>xerces</groupId>
  97. <artifactId>xercesImpl</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. </dependencies>
  101. <build>
  102. <testResources>
  103. <testResource>
  104. <directory>src/test/filtered-resources</directory>
  105. <filtering>true</filtering>
  106. </testResource>
  107. </testResources>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.apache.felix</groupId>
  111. <artifactId>maven-bundle-plugin</artifactId>
  112. <configuration>
  113. <instructions>
  114. <Bundle-SymbolicName>org.apache.archiva.metadata.repository.jcr</Bundle-SymbolicName>
  115. <Bundle-Version>${project.version}</Bundle-Version>
  116. <Export-Package>
  117. org.apache.archiva.metadata.repository.jcr;version=${project.version};-split-package:=merge-first
  118. </Export-Package>
  119. <Import-Package>
  120. javax.annotation,
  121. javax.inject,
  122. javax.jcr,
  123. javax.jcr.nodetype,
  124. javax.jcr.query,
  125. org.apache.archiva.metadata.model;version=${project.version},
  126. org.apache.archiva.metadata.repository;version=${project.version},
  127. org.apache.commons.lang;version="[2.4,3)",
  128. org.apache.jackrabbit.commons;version="[2.3,3)",
  129. org.apache.jackrabbit.core.config,
  130. org.springframework*;version="[3,4)",
  131. org.slf4j;resolution:=optional,
  132. org.apache.commons.lang.time
  133. </Import-Package>
  134. </instructions>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>