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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. </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.maven</groupId>
  53. <artifactId>archiva-maven-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>metadata-statistics-api</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>jakarta.ws.rs</groupId>
  75. <artifactId>jakarta.ws.rs-api</artifactId>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.rat</groupId>
  82. <artifactId>apache-rat-plugin</artifactId>
  83. <configuration>
  84. <excludes>
  85. <exclude>target/generated</exclude>
  86. <exclude>src/main/resources/templates/*</exclude>
  87. <exclude>src/main/resources/openapi-codegen-ignore</exclude>
  88. </excludes>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. <!--
  94. The jaxb dependency is needed by the enunciate plugin starting with JDK9.
  95. Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
  96. Using provided scope to avoid adding it to packaging.
  97. -->
  98. <profiles>
  99. <profile>
  100. <id>jdk9+</id>
  101. <activation>
  102. <jdk>[1.9,)</jdk>
  103. </activation>
  104. <dependencies>
  105. <dependency>
  106. <groupId>jakarta.xml.bind</groupId>
  107. <artifactId>jakarta.xml.bind-api</artifactId>
  108. <version>2.3.0</version>
  109. <scope>provided</scope>
  110. </dependency>
  111. </dependencies>
  112. </profile>
  113. </profiles>
  114. </project>