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

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/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>2.2.10-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. <!-- for some reasons this help sonar to run -->
  87. <dependency>
  88. <groupId>org.apache.maven.surefire</groupId>
  89. <artifactId>surefire-junit4</artifactId>
  90. <version>2.20</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.archiva</groupId>
  95. <artifactId>metadata-store-file</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. </dependencies>
  99. <build>
  100. <resources>
  101. <resource>
  102. <directory>src/main/resources</directory>
  103. <filtering>true</filtering>
  104. </resource>
  105. <resource>
  106. <directory>src/main/resourcesstatic</directory>
  107. <filtering>false</filtering>
  108. </resource>
  109. </resources>
  110. <testResources>
  111. <testResource>
  112. <directory>src/test/resources</directory>
  113. <filtering>true</filtering>
  114. </testResource>
  115. </testResources>
  116. <extensions>
  117. <extension>
  118. <groupId>org.apache.maven.archetype</groupId>
  119. <artifactId>archetype-packaging</artifactId>
  120. <version>${archetypeVersion}</version>
  121. </extension>
  122. </extensions>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-archetype-plugin</artifactId>
  127. <version>${archetypeVersion}</version>
  128. </plugin>
  129. </plugins>
  130. <pluginManagement>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-archetype-plugin</artifactId>
  135. <version>${archetypeVersion}</version>
  136. <configuration>
  137. <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
  138. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  139. </configuration>
  140. <dependencies>
  141. <dependency>
  142. <groupId>org.apache.maven.shared</groupId>
  143. <artifactId>maven-invoker</artifactId>
  144. <version>${mavenInvokerVersion}</version>
  145. </dependency>
  146. </dependencies>
  147. </plugin>
  148. </plugins>
  149. </pluginManagement>
  150. </build>
  151. <profiles>
  152. <profile>
  153. <id>ci-build</id>
  154. <build>
  155. <pluginManagement>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-archetype-plugin</artifactId>
  160. <version>${archetypeVersion}</version>
  161. <configuration>
  162. <settingsFile>${basedir}/src/test/ci-test-settings.xml</settingsFile>
  163. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  164. </configuration>
  165. <dependencies>
  166. <dependency>
  167. <groupId>org.apache.maven.shared</groupId>
  168. <artifactId>maven-invoker</artifactId>
  169. <version>${mavenInvokerVersion}</version>
  170. </dependency>
  171. </dependencies>
  172. </plugin>
  173. </plugins>
  174. </pluginManagement>
  175. </build>
  176. </profile>
  177. </profiles>
  178. </project>