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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-consumers</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-consumer-archetype</artifactId>
  28. <packaging>maven-archetype</packaging>
  29. <name>Archiva Consumers :: Consumers Archetype</name>
  30. <description>Simple archetype to create archiva consumers</description>
  31. <properties>
  32. <archivaVersion>${project.version}</archivaVersion>
  33. <archetypeVersion>2.4</archetypeVersion>
  34. <mavenInvokerVersion>2.2</mavenInvokerVersion>
  35. <site.staging.base>${project.parent.parent.parent.basedir}</site.staging.base>
  36. </properties>
  37. <dependencies>
  38. <dependency>
  39. <groupId>org.apache.archiva</groupId>
  40. <artifactId>archiva-common</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.archiva</groupId>
  44. <artifactId>archiva-repository-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.archiva.components.registry</groupId>
  48. <artifactId>archiva-components-spring-registry-api</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>jakarta.inject</groupId>
  52. <artifactId>jakarta.inject-api</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>jakarta.annotation</groupId>
  56. <artifactId>jakarta.annotation-api</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework</groupId>
  60. <artifactId>spring-context</artifactId>
  61. </dependency>
  62. <!-- Used by the archetype, so needed to be built before integration
  63. tests run and use them -->
  64. <dependency>
  65. <groupId>org.apache.archiva.maven</groupId>
  66. <artifactId>archiva-maven-indexer</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>jcl-over-slf4j</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>archiva-consumer-api</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva.configuration</groupId>
  79. <artifactId>archiva-configuration-provider</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.archiva</groupId>
  84. <artifactId>archiva-model</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.archiva</groupId>
  89. <artifactId>archiva-repository-layer</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.archiva</groupId>
  94. <artifactId>metadata-repository-api</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.archiva.maven</groupId>
  99. <artifactId>archiva-maven-repository</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.kubek2k</groupId>
  104. <artifactId>springockito</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <!-- for some reasons needed by the archetype -->
  108. <dependency>
  109. <groupId>commons-codec</groupId>
  110. <artifactId>commons-codec</artifactId>
  111. <version>1.9</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <!-- for some reasons this help sonar to run -->
  115. <dependency>
  116. <groupId>org.apache.maven.surefire</groupId>
  117. <artifactId>surefire-junit4</artifactId>
  118. <version>2.22.1</version>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.archiva</groupId>
  123. <artifactId>metadata-store-file</artifactId>
  124. <scope>test</scope>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. <resources>
  129. <resource>
  130. <directory>src/main/resources</directory>
  131. <filtering>true</filtering>
  132. </resource>
  133. <resource>
  134. <directory>src/main/resourcesstatic</directory>
  135. <filtering>false</filtering>
  136. </resource>
  137. </resources>
  138. <testResources>
  139. <testResource>
  140. <directory>src/test/resources</directory>
  141. <filtering>true</filtering>
  142. </testResource>
  143. </testResources>
  144. <extensions>
  145. <extension>
  146. <groupId>org.apache.maven.archetype</groupId>
  147. <artifactId>archetype-packaging</artifactId>
  148. <version>${archetypeVersion}</version>
  149. </extension>
  150. </extensions>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-archetype-plugin</artifactId>
  155. <version>${archetypeVersion}</version>
  156. </plugin>
  157. </plugins>
  158. <pluginManagement>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-archetype-plugin</artifactId>
  163. <version>${archetypeVersion}</version>
  164. <configuration>
  165. <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
  166. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  167. </configuration>
  168. <dependencies>
  169. <dependency>
  170. <groupId>org.apache.maven.shared</groupId>
  171. <artifactId>maven-invoker</artifactId>
  172. <version>${mavenInvokerVersion}</version>
  173. </dependency>
  174. </dependencies>
  175. </plugin>
  176. </plugins>
  177. </pluginManagement>
  178. </build>
  179. <profiles>
  180. <profile>
  181. <id>ci-build</id>
  182. <build>
  183. <pluginManagement>
  184. <plugins>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-archetype-plugin</artifactId>
  188. <version>${archetypeVersion}</version>
  189. <configuration>
  190. <settingsFile>${basedir}/src/test/ci-test-settings.xml</settingsFile>
  191. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  192. </configuration>
  193. <dependencies>
  194. <dependency>
  195. <groupId>org.apache.maven.shared</groupId>
  196. <artifactId>maven-invoker</artifactId>
  197. <version>${mavenInvokerVersion}</version>
  198. </dependency>
  199. </dependencies>
  200. </plugin>
  201. </plugins>
  202. </pluginManagement>
  203. </build>
  204. </profile>
  205. </profiles>
  206. </project>