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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. <parent>
  22. <groupId>org.apache.archiva</groupId>
  23. <artifactId>archiva-base</artifactId>
  24. <version>3.0.0-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-configuration</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: Configuration</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.archiva.redback.components.registry</groupId>
  33. <artifactId>spring-registry-api</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-test</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-context</artifactId>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>commons-logging</groupId>
  47. <artifactId>commons-logging</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.archiva.redback.components.registry</groupId>
  53. <artifactId>spring-registry-commons</artifactId>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-test</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>commons-configuration</groupId>
  63. <artifactId>commons-configuration</artifactId>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>commons-beanutils</groupId>
  67. <artifactId>commons-beanutils-core</artifactId>
  68. </exclusion>
  69. <!-- targeting JDK 1.4, xml parser/apis not needed -->
  70. <exclusion>
  71. <groupId>xerces</groupId>
  72. <artifactId>xerces</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>xerces</groupId>
  76. <artifactId>xercesImpl</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>xalan</groupId>
  80. <artifactId>xalan</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>xml-apis</groupId>
  84. <artifactId>xml-apis</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>servletapi</groupId>
  88. <artifactId>servletapi</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <groupId>commons-logging</groupId>
  92. <artifactId>commons-logging</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>ant</groupId>
  96. <artifactId>ant-optional</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.ant</groupId>
  102. <artifactId>ant</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.archiva.redback.components</groupId>
  106. <artifactId>spring-utils</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.archiva.redback.components</groupId>
  110. <artifactId>expression-evaluator</artifactId>
  111. <exclusions>
  112. <exclusion>
  113. <groupId>org.codehaus.plexus</groupId>
  114. <artifactId>plexus-component-api</artifactId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-io</groupId>
  120. <artifactId>commons-io</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.archiva</groupId>
  124. <artifactId>archiva-policies</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.archiva</groupId>
  128. <artifactId>archiva-test-utils</artifactId>
  129. <version>${project.version}</version>
  130. <scope>test</scope>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.codehaus.modello</groupId>
  137. <artifactId>modello-maven-plugin</artifactId>
  138. <executions>
  139. <execution>
  140. <goals>
  141. <goal>java</goal>
  142. </goals>
  143. </execution>
  144. <execution>
  145. <id>archiva-registry-reader</id>
  146. <goals>
  147. <goal>generate</goal>
  148. </goals>
  149. <configuration>
  150. <generatorId>registry-reader</generatorId>
  151. </configuration>
  152. </execution>
  153. <execution>
  154. <id>archiva-registry-writer</id>
  155. <goals>
  156. <goal>generate</goal>
  157. </goals>
  158. <configuration>
  159. <generatorId>registry-writer</generatorId>
  160. </configuration>
  161. </execution>
  162. <execution>
  163. <id>site-docs</id>
  164. <phase>pre-site</phase>
  165. <goals>
  166. <goal>xdoc</goal>
  167. </goals>
  168. </execution>
  169. </executions>
  170. <configuration>
  171. <version>3.0.0</version>
  172. <models>
  173. <model>src/main/mdo/configuration.mdo</model>
  174. </models>
  175. </configuration>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-surefire-plugin</artifactId>
  180. <configuration>
  181. <systemPropertyVariables>
  182. <basedir>${basedir}</basedir>
  183. </systemPropertyVariables>
  184. </configuration>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.apache.felix</groupId>
  188. <artifactId>maven-bundle-plugin</artifactId>
  189. <configuration>
  190. <instructions>
  191. <Bundle-SymbolicName>org.apache.archiva.configuration</Bundle-SymbolicName>
  192. <Bundle-Version>${project.version}</Bundle-Version>
  193. <Export-Package>
  194. org.apache.archiva.configuration*;version=${project.version}
  195. </Export-Package>
  196. <Import-Package>
  197. javax.annotation,
  198. javax.inject,
  199. org.apache.archiva.common;version=${project.version},
  200. org.apache.archiva.policies;version=${project.version},
  201. org.apache.commons.collections;version="[3.2,4)",
  202. org.apache.commons.lang;version="[2.4,3)",
  203. org.apache.commons.configuration;version="[1.3,2)",
  204. org.apache.commons.io;version="[1.4,2)",
  205. org.apache.archiva.redback.components.evaluator*,
  206. org.apache.archiva.redback.components.registry,
  207. org.codehaus.plexus.util,
  208. org.apache.tools.ant.types.selectors,
  209. org.apache.archiva.redback.components.registry,
  210. org.apache.archiva.redback.components.registry.commons,
  211. org.apache.archiva.redback.components.springutils,
  212. org.springframework.stereotype;version="[3,4)",
  213. org.slf4j;resolution:=optional
  214. </Import-Package>
  215. </instructions>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  219. <pluginManagement>
  220. <plugins>
  221. <plugin>
  222. <groupId>org.apache.rat</groupId>
  223. <artifactId>apache-rat-plugin</artifactId>
  224. <configuration>
  225. <excludes>
  226. <exclude>src/main/resources/org/apache/archiva/configuration/default-archiva.xml</exclude>
  227. <exclude>src/test/conf/maven-proxy-complete.conf</exclude>
  228. <exclude>src/test/resources/org/apache/archiva/configuration/test-default-archiva.xml</exclude>
  229. <exclude>nbactions.xml</exclude>
  230. </excludes>
  231. </configuration>
  232. </plugin>
  233. </plugins>
  234. </pluginManagement>
  235. </build>
  236. </project>