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

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