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

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