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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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>archiva-rest</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>2.2.10-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-rest-api</artifactId>
  28. <!-- DO NOT USE bundle packaging generated documentation is not included in the jar !!! -->
  29. <packaging>jar</packaging>
  30. <name>Archiva Web :: REST support :: Api</name>
  31. <properties>
  32. <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-rest-api</enunciate.docsDir>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.apache.archiva</groupId>
  37. <artifactId>archiva-security-common</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>archiva-repository-admin-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.archiva</groupId>
  45. <artifactId>archiva-policies</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.archiva</groupId>
  49. <artifactId>metadata-model</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.archiva</groupId>
  53. <artifactId>archiva-maven2-model</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.archiva</groupId>
  57. <artifactId>archiva-repository-scanner</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.archiva</groupId>
  61. <artifactId>repository-statistics</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.archiva.redback</groupId>
  65. <artifactId>redback-authorization-api</artifactId>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>commons-logging</groupId>
  69. <artifactId>commons-logging</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>javax.ws.rs</groupId>
  75. <artifactId>javax.ws.rs-api</artifactId>
  76. </dependency>
  77. <!-- normally not needed but here for wadl feature currently in cxf -->
  78. <dependency>
  79. <groupId>org.apache.cxf</groupId>
  80. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.felix</groupId>
  87. <artifactId>maven-bundle-plugin</artifactId>
  88. <configuration>
  89. <instructions>
  90. <Bundle-SymbolicName>org.apache.archiva.rest.api</Bundle-SymbolicName>
  91. <Bundle-Version>${project.version}</Bundle-Version>
  92. <Export-Package>
  93. org.apache.archiva.rest.api.model;version=${project.version};-split-package:=merge-first,
  94. org.apache.archiva.rest.api.services;version=${project.version};-split-package:=merge-first
  95. </Export-Package>
  96. <Import-Package>
  97. javax.ws.rs,
  98. javax.xml.bind.annotation,
  99. org.apache.archiva.admin.model.beans;version=${project.version},
  100. org.apache.archiva.redback.authorization,
  101. org.apache.archiva.metadata.model,
  102. org.apache.archiva.repository.scanner,
  103. org.apache.archiva.metadata.repository.stats,
  104. org.apache.archiva.reports,
  105. org.apache.archiva.maven2.model
  106. </Import-Package>
  107. </instructions>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <id>create-manifest</id>
  112. <phase>process-test-classes</phase>
  113. <goals>
  114. <goal>manifest</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-source-plugin</artifactId>
  122. <executions>
  123. <execution>
  124. <id>bind-sources</id>
  125. <goals>
  126. <goal>jar-no-fork</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-jar-plugin</artifactId>
  134. <configuration>
  135. <archive>
  136. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  137. </archive>
  138. </configuration>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>