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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. <parent>
  22. <groupId>org.apache.archiva</groupId>
  23. <artifactId>archiva-base</artifactId>
  24. <version>3.0.0-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-policies</artifactId>
  28. <name>Archiva Base :: Policies</name>
  29. <properties>
  30. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.archiva</groupId>
  35. <artifactId>archiva-common</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.archiva</groupId>
  39. <artifactId>archiva-storage-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>archiva-checksum</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>commons-io</groupId>
  51. <artifactId>commons-io</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>jakarta.inject</groupId>
  55. <artifactId>jakarta.inject-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.slf4j</groupId>
  59. <artifactId>slf4j-api</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva.components.cache</groupId>
  63. <artifactId>archiva-components-spring-cache-api</artifactId>
  64. </dependency>
  65. <!-- This runtime dependency is needed because the cache bean is
  66. added to the spring context. -->
  67. <dependency>
  68. <groupId>org.apache.archiva.components.cache</groupId>
  69. <artifactId>archiva-components-spring-cache-ehcache</artifactId>
  70. <scope>runtime</scope>
  71. </dependency>
  72. <!-- Test scope -->
  73. <dependency>
  74. <groupId>org.springframework</groupId>
  75. <artifactId>spring-context</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva</groupId>
  79. <artifactId>archiva-storage-fs</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.archiva</groupId>
  84. <artifactId>archiva-test-utils</artifactId>
  85. <version>${project.version}</version>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework</groupId>
  90. <artifactId>spring-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.logging.log4j</groupId>
  95. <artifactId>log4j-jcl</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.archiva</groupId>
  100. <artifactId>archiva-filelock</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-surefire-plugin</artifactId>
  109. <configuration>
  110. <systemPropertyVariables>
  111. <basedir>${basedir}</basedir>
  112. </systemPropertyVariables>
  113. </configuration>
  114. </plugin>
  115. </plugins>
  116. <pluginManagement>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.rat</groupId>
  120. <artifactId>apache-rat-plugin</artifactId>
  121. <configuration>
  122. <excludes>
  123. <exclude>src/test/resources/checksums/**</exclude>
  124. </excludes>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </pluginManagement>
  129. </build>
  130. <profiles>
  131. <profile>
  132. <id>jdk9+</id>
  133. <activation>
  134. <jdk>[1.9,)</jdk>
  135. </activation>
  136. <dependencies>
  137. <!-- Needed for JDK >= 9 -->
  138. <dependency>
  139. <groupId>jakarta.annotation</groupId>
  140. <artifactId>jakarta.annotation-api</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>jakarta.xml.bind</groupId>
  145. <artifactId>jakarta.xml.bind-api</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. </dependencies>
  149. </profile>
  150. </profiles>
  151. </project>