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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <artifactId>metadata</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>2.2.10-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>metadata-repository-api</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Metadata :: Repository API</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-context</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>javax.inject</groupId>
  37. <artifactId>javax.inject</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>javax.annotation</groupId>
  41. <artifactId>jsr250-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.archiva</groupId>
  45. <artifactId>metadata-model</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.archiva</groupId>
  49. <artifactId>archiva-repository-layer</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.archiva</groupId>
  53. <artifactId>archiva-repository-admin-api</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.archiva</groupId>
  57. <artifactId>archiva-test-utils</artifactId>
  58. <version>${project.version}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>slf4j-api</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.assertj</groupId>
  67. <artifactId>assertj-core</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.archiva</groupId>
  72. <artifactId>generic-metadata-support</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.apache.felix</groupId>
  80. <artifactId>maven-bundle-plugin</artifactId>
  81. <configuration>
  82. <instructions>
  83. <Bundle-SymbolicName>org.apache.archiva.metadata.repository.api</Bundle-SymbolicName>
  84. <Bundle-Version>${project.version}</Bundle-Version>
  85. <Export-Package>
  86. org.apache.archiva.metadata.repository;version=${project.version};-split-package:=merge-first,
  87. org.apache.archiva.metadata.repository.filter;version=${project.version};-split-package:=merge-first,
  88. org.apache.archiva.metadata.repository.storage;version=${project.version};-split-package:=merge-first,
  89. org.apache.archiva.repository.events;version=${project.version};-split-package:=merge-first
  90. </Export-Package>
  91. <Import-Package>
  92. javax.inject,
  93. org.apache.archiva.metadata.model;version=${project.version},
  94. org.springframework.stereotype;version="[3,4)",
  95. org.slf4j;resolution:=optional,
  96. org.apache.archiva.model,
  97. org.apache.archiva.policies,
  98. org.apache.archiva.repository,
  99. org.apache.archiva.admin.model.beans,
  100. org.apache.archiva.repository.layout,
  101. org.apache.archiva.xml
  102. </Import-Package>
  103. </instructions>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-jar-plugin</artifactId>
  109. <executions>
  110. <execution>
  111. <id>test-jar</id>
  112. <goals>
  113. <goal>test-jar</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>