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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-rest-api</artifactId>
  28. <packaging>jar</packaging>
  29. <name>Archiva Web :: REST support :: Api</name>
  30. <properties>
  31. <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-rest-api</enunciate.docsDir>
  32. <site.staging.base>${project.parent.parent.parent.basedir}</site.staging.base>
  33. <openapi.config.file>${project.basedir}/src/main/resources/archiva/openapi-configuration.yaml</openapi.config.file>
  34. <openapi.prefix>archiva</openapi.prefix>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>archiva-security-common</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>archiva-repository-admin-api</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>archiva-policies</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>metadata-model</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva.maven</groupId>
  55. <artifactId>archiva-maven-model</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva</groupId>
  59. <artifactId>archiva-repository-scanner</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva</groupId>
  63. <artifactId>archiva-scheduler-repository-api</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>archiva-scheduler-indexing</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva.configuration</groupId>
  71. <artifactId>archiva-configuration-model</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.archiva</groupId>
  75. <artifactId>metadata-statistics-api</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva.redback</groupId>
  79. <artifactId>redback-authorization-api</artifactId>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>commons-logging</groupId>
  83. <artifactId>commons-logging</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.archiva.components</groupId>
  89. <artifactId>archiva-components-rest-util</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>jakarta.ws.rs</groupId>
  93. <artifactId>jakarta.ws.rs-api</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>jakarta.annotation</groupId>
  97. <artifactId>jakarta.annotation-api</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>jakarta.inject</groupId>
  101. <artifactId>jakarta.inject-api</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>io.swagger.core.v3</groupId>
  105. <artifactId>swagger-core</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.swagger.core.v3</groupId>
  109. <artifactId>swagger-jaxrs2</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.swagger.core.v3</groupId>
  113. <artifactId>swagger-annotations</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>jakarta.xml.bind</groupId>
  117. <artifactId>jakarta.xml.bind-api</artifactId>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.apache.rat</groupId>
  124. <artifactId>apache-rat-plugin</artifactId>
  125. <configuration>
  126. <excludes>
  127. <exclude>target/generated</exclude>
  128. <exclude>src/main/resources/templates/*</exclude>
  129. <exclude>src/main/resources/openapi-codegen-ignore</exclude>
  130. </excludes>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. <!--
  136. The jaxb dependency is needed by the enunciate plugin starting with JDK9.
  137. Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
  138. Using provided scope to avoid adding it to packaging.
  139. -->
  140. <profiles>
  141. <profile>
  142. <id>jdk9+</id>
  143. <activation>
  144. <jdk>[1.9,)</jdk>
  145. </activation>
  146. <dependencies>
  147. <dependency>
  148. <groupId>jakarta.xml.bind</groupId>
  149. <artifactId>jakarta.xml.bind-api</artifactId>
  150. </dependency>
  151. </dependencies>
  152. </profile>
  153. </profiles>
  154. </project>