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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <artifactId>plugins</artifactId>
  24. <groupId>org.apache.archiva</groupId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>problem-reports</artifactId>
  28. <name>Archiva Core Plugins :: Problem Reporting Plugin</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>metadata-repository-api</artifactId>
  36. </dependency>
  37. <!-- FIXME this deps must be removed -->
  38. <dependency>
  39. <groupId>org.apache.archiva.configuration</groupId>
  40. <artifactId>archiva-configuration-provider</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.archiva</groupId>
  44. <artifactId>archiva-checksum</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.archiva</groupId>
  48. <artifactId>archiva-consumer-api</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.archiva</groupId>
  52. <artifactId>archiva-repository-api</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.archiva</groupId>
  56. <artifactId>metadata-model</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework</groupId>
  60. <artifactId>spring-beans</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-context</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>jakarta.annotation</groupId>
  68. <artifactId>jakarta.annotation-api</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>jakarta.inject</groupId>
  72. <artifactId>jakarta.inject-api</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.commons</groupId>
  76. <artifactId>commons-collections4</artifactId>
  77. </dependency>
  78. <!-- Test scope -->
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.archiva</groupId>
  86. <artifactId>archiva-test-utils</artifactId>
  87. <version>${project.version}</version>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mockito</groupId>
  92. <artifactId>mockito-core</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.archiva</groupId>
  97. <artifactId>test-repository</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.archiva.maven</groupId>
  102. <artifactId>archiva-maven-repository</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.archiva</groupId>
  107. <artifactId>archiva-repository-layer</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.maven.wagon</groupId>
  112. <artifactId>wagon-http</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.maven.wagon</groupId>
  117. <artifactId>wagon-http-lightweight</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. </dependencies>
  121. <build>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-dependency-plugin</artifactId>
  126. <executions>
  127. <execution>
  128. <id>test-repository</id>
  129. <phase>process-test-classes</phase>
  130. <goals>
  131. <goal>unpack-dependencies</goal>
  132. </goals>
  133. <configuration>
  134. <includeArtifactIds>test-repository</includeArtifactIds>
  135. <outputDirectory>target/test-repository</outputDirectory>
  136. </configuration>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-surefire-plugin</artifactId>
  143. <configuration>
  144. <systemPropertyVariables>
  145. <basedir>${basedir}</basedir>
  146. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  147. </systemPropertyVariables>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. <profiles>
  153. <profile>
  154. <id>jdk9+</id>
  155. <activation>
  156. <jdk>[1.9,)</jdk>
  157. </activation>
  158. <dependencies>
  159. <!-- Needed for JDK >= 9 -->
  160. <dependency>
  161. <groupId>jakarta.annotation</groupId>
  162. <artifactId>jakarta.annotation-api</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>jakarta.xml.bind</groupId>
  167. <artifactId>jakarta.xml.bind-api</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. </dependencies>
  171. </profile>
  172. </profiles>
  173. </project>