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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. <?xml version="1.0"?>
  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-web</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-webdav</artifactId>
  28. <name>Archiva Web :: WebDAV</name>
  29. <properties>
  30. <webdav.forkMode>once</webdav.forkMode>
  31. <!--
  32. <redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
  33. <redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>
  34. -->
  35. <redbackTestJdbcUrl>jdbc:hsqldb:mem:redback-test</redbackTestJdbcUrl>
  36. <redbackTestJdbcDriver>org.hsqldb.jdbcDriver</redbackTestJdbcDriver>
  37. <webdav.argLine>-Xmx512m -Xms512m -client</webdav.argLine>
  38. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  39. </properties>
  40. <dependencies>
  41. <!-- TODO: remove this hardcoding through a better event mechanism -->
  42. <dependency>
  43. <groupId>org.apache.archiva</groupId>
  44. <artifactId>audit</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.archiva</groupId>
  48. <artifactId>archiva-repository-scanner</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.archiva.configuration</groupId>
  52. <artifactId>archiva-configuration-provider</artifactId>
  53. <!-- should be runtime but currently not possible due ConfigurationListener
  54. <scope>runtime</scope>
  55. -->
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva</groupId>
  59. <artifactId>archiva-storage-api</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva.maven</groupId>
  63. <artifactId>archiva-maven-repository</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>archiva-repository-admin-api</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>archiva-repository-layer</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>log4j</groupId>
  75. <artifactId>log4j</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.archiva.maven</groupId>
  81. <artifactId>archiva-maven-proxy</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.archiva</groupId>
  85. <artifactId>archiva-security</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.archiva.maven</groupId>
  89. <artifactId>archiva-maven-indexer</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.archiva</groupId>
  93. <artifactId>archiva-filelock</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.archiva</groupId>
  97. <artifactId>archiva-checksum</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.archiva</groupId>
  101. <artifactId>archiva-common</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.archiva</groupId>
  105. <artifactId>archiva-consumer-api</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.archiva</groupId>
  109. <artifactId>archiva-model</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.archiva</groupId>
  113. <artifactId>archiva-policies</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.archiva</groupId>
  117. <artifactId>archiva-proxy-api</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.archiva</groupId>
  121. <artifactId>archiva-repository-api</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.archiva</groupId>
  125. <artifactId>archiva-scheduler-api</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.archiva</groupId>
  129. <artifactId>archiva-scheduler-repository-api</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.archiva</groupId>
  133. <artifactId>archiva-security-common</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.archiva</groupId>
  137. <artifactId>archiva-storage-fs</artifactId>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.archiva</groupId>
  141. <artifactId>archiva-xml-tools</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.archiva.maven</groupId>
  145. <artifactId>archiva-maven-metadata</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.archiva</groupId>
  149. <artifactId>metadata-model</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.archiva</groupId>
  153. <artifactId>metadata-repository-api</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.archiva.redback</groupId>
  157. <artifactId>redback-authentication-api</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.archiva.redback</groupId>
  161. <artifactId>redback-authorization-api</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.apache.archiva.redback</groupId>
  165. <artifactId>redback-keys-api</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.archiva.redback</groupId>
  169. <artifactId>redback-policy</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.archiva.redback</groupId>
  173. <artifactId>redback-system</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.archiva.redback</groupId>
  177. <artifactId>redback-users-api</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>jakarta.inject</groupId>
  181. <artifactId>jakarta.inject-api</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.commons</groupId>
  185. <artifactId>commons-lang3</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework</groupId>
  189. <artifactId>spring-beans</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework</groupId>
  193. <artifactId>spring-context</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.springframework</groupId>
  197. <artifactId>spring-core</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-test</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.springframework</groupId>
  205. <artifactId>spring-web</artifactId>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.jackrabbit</groupId>
  209. <artifactId>jackrabbit-webdav</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.jackrabbit</groupId>
  213. <artifactId>jackrabbit-jcr-commons</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>commons-io</groupId>
  217. <artifactId>commons-io</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.slf4j</groupId>
  221. <artifactId>slf4j-api</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>jakarta.servlet</groupId>
  225. <artifactId>jakarta.servlet-api</artifactId>
  226. <scope>provided</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.apache.archiva.redback</groupId>
  230. <artifactId>redback-common-integrations</artifactId>
  231. <exclusions>
  232. <exclusion>
  233. <groupId>stax</groupId>
  234. <artifactId>stax-api</artifactId>
  235. </exclusion>
  236. </exclusions>
  237. </dependency>
  238. <!-- TEST Scope -->
  239. <dependency>
  240. <groupId>org.jsoup</groupId>
  241. <artifactId>jsoup</artifactId>
  242. <scope>test</scope>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.eclipse.jetty</groupId>
  246. <artifactId>jetty-servlet</artifactId>
  247. <scope>test</scope>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.archiva</groupId>
  251. <artifactId>archiva-scheduler-repository</artifactId>
  252. <scope>test</scope>
  253. </dependency>
  254. <dependency>
  255. <groupId>jakarta.persistence</groupId>
  256. <artifactId>jakarta.persistence-api</artifactId>
  257. <scope>test</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.mockito</groupId>
  261. <artifactId>mockito-core</artifactId>
  262. <scope>test</scope>
  263. </dependency>
  264. <dependency>
  265. <groupId>jakarta.transaction</groupId>
  266. <artifactId>jakarta.transaction-api</artifactId>
  267. <scope>test</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.apache.archiva.redback</groupId>
  271. <artifactId>redback-rbac-jpa</artifactId>
  272. <scope>test</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.apache.archiva.redback</groupId>
  276. <artifactId>redback-keys-memory</artifactId>
  277. <scope>test</scope>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.archiva.redback</groupId>
  281. <artifactId>redback-keys-jpa</artifactId>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.archiva.redback</groupId>
  286. <artifactId>redback-users-memory</artifactId>
  287. <scope>test</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.xmlunit</groupId>
  291. <artifactId>xmlunit-core</artifactId>
  292. <scope>test</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.eclipse.jetty</groupId>
  296. <artifactId>jetty-server</artifactId>
  297. <scope>test</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.apache.logging.log4j</groupId>
  301. <artifactId>log4j-core</artifactId>
  302. <scope>test</scope>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.apache.logging.log4j</groupId>
  306. <artifactId>log4j-slf4j-impl</artifactId>
  307. <scope>test</scope>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.hsqldb</groupId>
  311. <artifactId>hsqldb</artifactId>
  312. <scope>test</scope>
  313. </dependency>
  314. <dependency>
  315. <groupId>net.sourceforge.htmlunit</groupId>
  316. <artifactId>htmlunit</artifactId>
  317. <version>${html.unit.version}</version>
  318. <scope>test</scope>
  319. <exclusions>
  320. <exclusion>
  321. <groupId>org.eclipse.jetty</groupId>
  322. <artifactId>jetty-websocket</artifactId>
  323. </exclusion>
  324. </exclusions>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.apache.maven.wagon</groupId>
  328. <artifactId>wagon-http</artifactId>
  329. <scope>test</scope>
  330. <exclusions>
  331. <!-- This triggers httpunit to use it instead, but it doesn't work -->
  332. <exclusion>
  333. <groupId>nekohtml</groupId>
  334. <artifactId>nekohtml</artifactId>
  335. </exclusion>
  336. <exclusion>
  337. <groupId>nekohtml</groupId>
  338. <artifactId>xercesMinimal</artifactId>
  339. </exclusion>
  340. </exclusions>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.apache.maven.wagon</groupId>
  344. <artifactId>wagon-http-lightweight</artifactId>
  345. <scope>test</scope>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.apache.archiva</groupId>
  349. <artifactId>archiva-test-utils</artifactId>
  350. <version>${project.version}</version>
  351. <scope>test</scope>
  352. </dependency>
  353. <dependency>
  354. <groupId>org.apache.archiva</groupId>
  355. <artifactId>archiva-repository-admin-default</artifactId>
  356. <scope>test</scope>
  357. <exclusions>
  358. <exclusion>
  359. <groupId>log4j</groupId>
  360. <artifactId>log4j</artifactId>
  361. </exclusion>
  362. </exclusions>
  363. </dependency>
  364. <dependency>
  365. <groupId>org.apache.archiva</groupId>
  366. <artifactId>archiva-mock</artifactId>
  367. <scope>test</scope>
  368. </dependency>
  369. <dependency>
  370. <groupId>org.assertj</groupId>
  371. <artifactId>assertj-core</artifactId>
  372. <scope>test</scope>
  373. </dependency>
  374. <!-- START Needed for JDK >= 9 -->
  375. <dependency>
  376. <groupId>jakarta.annotation</groupId>
  377. <artifactId>jakarta.annotation-api</artifactId>
  378. </dependency>
  379. <dependency>
  380. <groupId>jakarta.xml.bind</groupId>
  381. <artifactId>jakarta.xml.bind-api</artifactId>
  382. </dependency>
  383. <dependency>
  384. <groupId>org.glassfish.jaxb</groupId>
  385. <artifactId>jaxb-runtime</artifactId>
  386. <scope>test</scope>
  387. </dependency>
  388. <!-- END Needed for JDK >= 9 -->
  389. </dependencies>
  390. <build>
  391. <plugins>
  392. <plugin>
  393. <groupId>org.apache.maven.plugins</groupId>
  394. <artifactId>maven-surefire-plugin</artifactId>
  395. <configuration>
  396. <forkCount>2</forkCount>
  397. <reuseForks>false</reuseForks>
  398. <!--
  399. The property jdk.net.URLClassPath.disableClassPathURLCheck is a workaround for a regression
  400. with surefire and OpenJDK 8 181b13 on Debian/Ubuntu,
  401. @see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925
  402. -->
  403. <argLine>${webdav.argLine} -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
  404. <workingDirectory>${project.build.directory}/WDIR-${surefire.forkNumber}</workingDirectory>
  405. <environmentVariables>
  406. <ARCHIVA_USER_CONFIG_FILE>${java.io.tmpdir}/archiva-webdav-${surefire.forkNumber}.xml</ARCHIVA_USER_CONFIG_FILE>
  407. </environmentVariables>
  408. <systemPropertyVariables>
  409. <mvn.project.base.dir>${project.basedir}</mvn.project.base.dir>
  410. <appserver.base>${project.build.directory}/appserver-base-${surefire.forkNumber}</appserver.base>
  411. <plexus.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</plexus.home>
  412. <derby.system.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</derby.system.home>
  413. <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
  414. <archiva.user.configFileName>${project.build.directory}/appserver-base-${surefire.forkNumber}/conf/archiva.xml</archiva.user.configFileName>
  415. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  416. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  417. <archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
  418. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  419. <org.apache.jackrabbit.core.state.validatehierarchy>true</org.apache.jackrabbit.core.state.validatehierarchy>
  420. </systemPropertyVariables>
  421. <trimStackTrace>false</trimStackTrace>
  422. </configuration>
  423. </plugin>
  424. </plugins>
  425. <pluginManagement>
  426. <plugins>
  427. <plugin>
  428. <groupId>org.apache.rat</groupId>
  429. <artifactId>apache-rat-plugin</artifactId>
  430. <configuration>
  431. <excludes>
  432. <exclude>src/main/resources/org/apache/archiva/webdav/util/mime.types</exclude>
  433. <exclude>src/test/resources/archiva-mime-types.txt</exclude>
  434. <exclude>src/test/resources/artifact.jar.sha1</exclude>
  435. <exclude>src/test/resources/maven-metadata.xml</exclude>
  436. <exclude>nbactions.xml</exclude>
  437. </excludes>
  438. </configuration>
  439. </plugin>
  440. </plugins>
  441. </pluginManagement>
  442. </build>
  443. </project>